Skip to content

Instantly share code, notes, and snippets.

View manstis's full-sized avatar

Michael Anstis manstis

  • Red Hat
  • England
View GitHub Profile
@manstis
manstis / gist:1994180
Created March 7, 2012 16:24
Failing test
Error Message
expected:<org.drools.guvnor.client.asseteditor.drools.serviceconfig.ServiceConfig@0> but was:<org.drools.guvnor.client.asseteditor.drools.serviceconfig.ServiceConfig@bc926be7>
Stacktrace
junit.framework.AssertionFailedError: expected:<org.drools.guvnor.client.asseteditor.drools.serviceconfig.ServiceConfig@0> but was:<org.drools.guvnor.client.asseteditor.drools.serviceconfig.ServiceConfig@bc926be7>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
@manstis
manstis / gist:2007740
Created March 9, 2012 17:50
org.drools.guvnor.server.generators.MultipleKBasesKSessionsGeneratorTest.testMultiKBaseKSession
Error Message
[Error: unable to resolve method: org.drools.guvnor.client.asseteditor.drools.serviceconfig.EventProcessingOption.toExternalForm() [arglength=0]] [Near : {... @if{kbase.hasConfig()} ....}] ^ [Line: 1, Column: 1]
Stacktrace
[Error: unable to resolve method: org.drools.guvnor.client.asseteditor.drools.serviceconfig.EventProcessingOption.toExternalForm() [arglength=0]]
[Near : {... @if{kbase.hasConfig()} ....}]
^
[Line: 1, Column: 1]
@manstis
manstis / gist:2036128
Created March 14, 2012 12:24
org.drools.guvnor.server.maven.GuvnorArtifactCacheSupportTest.testResolveArtifacts
Error Message
expected:<102> but was:<99>
Stacktrace
java.lang.AssertionError: expected:<102> but was:<99>
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
@manstis
manstis / jBPM console dump
Created April 12, 2012 19:05
Stack trace for Process Overview - Version: 2.3.2.Final
20:00:03,496 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-5) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: org.apache.commons.codec.binary.Base64.encodeBase64String([B)Ljava/lang/String;
at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatc
@manstis
manstis / gist:2827866
Created May 29, 2012 11:12
errai marshaller
org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: error invoking endpoint
at org.jboss.errai.bus.server.io.ConversationalEndpointCallback.callback(ConversationalEndpointCallback.java:128)
at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54)
at org.jboss.errai.cdi.server.CDIExtensionPoints$3.callback(CDIExtensionPoints.java:517)
at org.jboss.errai.bus.client.framework.DeliveryPlan.deliver(DeliveryPlan.java:43)
at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:635)
at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)
at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:94)
at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:108)
at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:117)
@manstis
manstis / gist:2828133
Created May 29, 2012 12:24
escape path name?
org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: error invoking endpoint
at org.jboss.errai.bus.server.io.ConversationalEndpointCallback.callback(ConversationalEndpointCallback.java:125)
at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54)
at org.jboss.errai.cdi.server.CDIExtensionPoints$3.callback(CDIExtensionPoints.java:517)
at org.jboss.errai.bus.client.framework.DeliveryPlan.deliver(DeliveryPlan.java:43)
at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:635)
at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)
at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:94)
at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:108)
at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:117)
Unhandled event loop exception
No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/manstis/workspaces/guvnorng-git/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.osgi/bundles/613/1/.cp/libswt-mozilla-gtk-3659.so: libxpcom.so: cannot open shared object file: No such file or directory
no swt-mozilla-gtk in java.library.path
/tmp/swtlib-32/libswt-mozilla-gtk-3659.so: libxpcom.so: cannot open shared object file: No such file or directory
Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so
)
@manstis
manstis / gist:2959361
Created June 20, 2012 11:00
for jervis
Loading modules
org.drools.guvnor.FastCompiledGuvnorNGShowcase
Validating <servlet> tags for module 'org.drools.guvnor.GuvnorNGShowcase'
For additional info see: file:/home/manstis/libraries/gwt/gwt-2.4.0/doc/helpInfo/servletMappings.html
[WARN] Module declares a servlet class 'com.google.gwt.junit.server.JUnitHostImpl', but the web.xml has no corresponding declaration; please add the following lines to your web.xml:
<servlet>
<servlet-name>jUnitHostImpl</servlet-name>
<servlet-class>com.google.gwt.junit.server.JUnitHostImpl</servlet-class>
</servlet>
<servlet-mapping>
@manstis
manstis / gist:3059151
Created July 6, 2012 09:14
commit error
manstis@manstis-ThinkPad-T510 droolsjbpm-5.3.x [] $ ./droolsjbpm-build-bootstrap/script/git-all.sh commit -m "Set release version: 5.3.3.Final (jBPM 5.2.2.Final)" | tee ~/Desktop/commitLog
error: pathspec 'release' did not match any file(s) known to git.
error: pathspec 'version:' did not match any file(s) known to git.
error: pathspec '5.3.3.Final' did not match any file(s) known to git.
error: pathspec '(jBPM' did not match any file(s) known to git.
error: pathspec '5.2.2.Final)' did not match any file(s) known to git.
[INFO] ------------------------------------------------------------------------
[INFO] Building jBPM :: Form Services 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jbpm-form-services ---
[INFO] Deleting /home/manstis/workspaces/git/jbpm-form-builder/jbpm-form-services/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ jbpm-form-services ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jbpm-form-services ---