Skip to content

Instantly share code, notes, and snippets.

agiertli

Block or report user

Report or block agiertli

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test.js
<script>
if (typeof(Storage) !== "undefined") {
var cartArray = JSON.parse(sessionStorage.getItem("cart"));
if (isEmpty(cartArray)) {
console.log('creating new array');
cartArray = new Array();
View sample.java
public static final void main(String[] args) {
try {
// load up the knowledge base
KieServices ks = KieServices.Factory.get();
KieContainer kContainer = ks.getKieClasspathContainer();
KieSession kSession = kContainer.newKieSession("ksession-rules");
// go !
Message message = new Message();
message.setMessage("Hello World");
View log.sql
select * from nodeinstancelog where processinstanceid = 7 OR processinstanceid = 8;
id connection log_date externalid nodeid nodeinstanceid nodename nodetype processid processinstanceid type workitemid
238 _3E6DCCF4-FFE7-4356-92F1-F29764FB1C96 2016-04-29 10:24:30.02 ICO:ProjectICO:1.0 processStartEvent 0 StartNode ProjectICO.OpsBilateralesV1.2 7 1
236 2016-04-29 10:24:30.012 ICO:ProjectICO:1.0 processStartEvent 0 StartNode ProjectICO.OpsBilateralesV1.2 7 0
237 _3E6DCCF4-FFE7-4356-92F1-F29764FB1C96 2016-04-29 10:24:30.013 ICO:ProjectICO:1.0 _D6EC3296-F374-4896-B3D1-B207E9BE5D20 1 Asignar gestor HumanTaskNode ProjectICO.OpsBilateralesV1.2 7 0 43
239 _6DF33826-98BC-4745-B957-CB35F11703D7 2016-04-29 10:24:38.636 ICO:ProjectICO:1.0 _EADFCDAF-3655-47A2-B5B4-613BB37A1F40 2 Join ProjectICO.OpsBilateralesV1.2 7 0
240 _145E57BC-0DA6-4766-BE4E-C0A82F7FF839 2016-04-29 10:24:38.637 ICO:ProjectICO:1.0 _09E2AA3A-DCF0-43B8-A1CA-8B27DE988611 3 Valoracion Inicial HumanTaskNode ProjectICO.OpsBilateralesV1.2 7 0 44
241 _
View maven.log
[INFO] KieModule was added: FileKieModule[releaseId=org.redhat.gss:kjar:1,file=/Users/osiris/Documents/work/projects/jbdsworkspace7/kjar/src/main/resources]
java.lang.IllegalArgumentException: Unknown gateway direction: Unspecified
at org.jbpm.bpmn2.xml.ParallelGatewayHandler.createNode(ParallelGatewayHandler.java:37)
at org.jbpm.bpmn2.xml.AbstractNodeHandler.start(AbstractNodeHandler.java:104)
at org.drools.core.xml.ExtensibleXmlParser.startElement(ExtensibleXmlParser.java:407)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:749)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentSca
View business-central.log
14:34:37,122 ERROR [stderr] (http-127.0.0.1:8080-1) java.lang.NullPointerException
14:34:37,123 ERROR [stderr] (http-127.0.0.1:8080-1) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallTask(Bpmn2JsonMarshaller.java:2098)
14:34:37,123 ERROR [stderr] (http-127.0.0.1:8080-1) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallFlowElement(Bpmn2JsonMarshaller.java:940)
14:34:37,123 ERROR [stderr] (http-127.0.0.1:8080-1) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallLanes(Bpmn2JsonMarshaller.java:815)
14:34:37,123 ERROR [stderr] (http-127.0.0.1:8080-1) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallProcess(Bpmn2JsonMarshaller.java:428)
14:34:37,123 ERROR [stderr] (http-127.0.0.1:8080-1) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:326)
14:34:37,123 ERROR [stderr] (http-127.0.0.1:8080-1) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:120)
14:34:37,123 ERROR [stderr] (http-127.
View test.bash
Do metody processInput som pridal:
System.out.println("Process input state:"+state);
Do metody Server.start som pridal:
System.out.println("Before client connection accepted");
clientSocket = serverSocket.accept();
new ClientHandler(clientSocket).start();
System.out.println("After thread started");
CLIENT vystup:
View convert.java
public String convertStreamToString(BufferedInputStream in) throws IOException {
int last = 0;
int current;
StringBuilder sb = new StringBuilder();
while ((current = in.read()) != -1) {
// Read the input
// Escape sequence met
View dashbuilder.log
07:40:11,393 ERROR [org.jboss.dashboard.dataset.sql.SQLDataSet] (http-/172.20.1.84:8080-4) Error in load() SQLDataset. SQL = select ts.status as taskstatus, count(ts.taskid) as tcount from bamtasksummary ts left join processinstancelog ps on (ts.processinstanceid=ps.processinstanceid) where 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 and 1 = 1 group by ts.status: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450) [ojdbc7.jar:12.1.0.2.0]
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) [ojdbc7.jar:12.1.0.2.0]
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059) [ojdbc7.jar:12.1.0.2.0]
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522) [ojdbc7.jar:12.1.0.2.0]
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257) [ojdbc7.jar:12.1.0.2.0]
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587) [ojdbc7.jar:12.1.0.2.0]
at oracle.jdbc.driver
View persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- ~ Copyright 2012 JBoss Inc ~ ~ Licensed under the Apache License, Version
2.0 (the "License"); ~ you may not use this file except in compliance with
the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0
~ ~ Unless required by applicable law or agreed to in writing, software ~
distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
License for the specific language governing permissions and ~ limitations
under the License. -->
View server.log
12:24:49,091 ERROR [org.kie.workbench.common.screens.server.management.backend.VFSKieServerControllerStorage] (http-/127.0.0.1:8080-3) Error wile migrating old version of kie server ref from path /remote/687474703a2f2f6c6f63616c686f73743a383038302f6b69652d7365727665722f73657276696365732f726573742f736572766572.xml: java.lang.NullPointerException
at org.kie.workbench.common.screens.server.management.backend.VFSKieServerControllerStorage.migrate(VFSKieServerControllerStorage.java:242) [kie-wb-common-server-ui-backend-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
at org.kie.workbench.common.screens.server.management.backend.VFSKieServerControllerStorage.load(VFSKieServerControllerStorage.java:99) [kie-wb-common-server-ui-backend-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5]
at org.kie.workbench.common.screens.server.management.backend.VFSKieServerControllerStorage$Proxy$_$$_WeldClientProxy.load(VFSKieServerControllerStorage$Proxy$_$$_WeldClientProxy.java) [kie-wb-common-server-ui-backend-6.3.0.Final-redhat-5
You can’t perform that action at this time.