Skip to content

Instantly share code, notes, and snippets.

View manstis's full-sized avatar

Michael Anstis manstis

  • Red Hat
  • England
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
<artifactId>kie-parent-with-dependencies</artifactId>
<version>6.1.0-SNAPSHOT</version>
</parent>
@manstis
manstis / gist:6429798
Created September 3, 2013 21:22
Errai error (new in 2.4).
22:15:17,034 ERROR [stderr] (http--127.0.0.1-8080-2) java.lang.RuntimeException: Failed to dispatch CDI Event
22:15:17,034 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:197)
22:15:17,035 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:51)
22:15:17,035 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:294)
22:15:17,035 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)
22:15:17,036 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:92)
22:15:17,036 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:109)
22:15:17,036 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.
org.kie.commons.java.nio.IOException: com.thoughtworks.xstream.converters.ConversionException: Could not call org.kie.commons.java.nio.base.Properties.writeObject() : Could not call java.util.Collections$SynchronizedMap.writeObject() : Could not call org.apache.commons.collections.map.ReferenceMap.writeObject() : Could not call org.apache.jackrabbit.core.cache.ConcurrentCache$1.writeObject() : Could not call org.apache.commons.collections.map.ReferenceMap.writeObject() : null
---- Debugging information ----
message : Could not call org.apache.commons.collections.map.ReferenceMap.writeObject()
cause-exception : java.lang.NullPointerException
cause-message : null
-------------------------------
message : Could not call org.apache.jackrabbit.core.cache.ConcurrentCache$1.writeObject()
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : Could not call org.apache.commons.collections.map.ReferenceMap.writeObject() : null
--------------
[INFO] --- gwt-maven-plugin:2.5.0:compile (gwt-compile) @ jbpm-console-ng-showcase ---
[INFO] Public resources found in...
[INFO] Translatable source found in...
[INFO] Persistent unit cache dir set to: /home/manstis/workspaces/git/droolsjbpm/jbpm-console-ng/jbpm-console-ng-showcase/target/jbpm-console-ng-showcase-6.0.0-SNAPSHOT/../gwt-unitCache
[INFO] Compiling module org.jbpm.console.ng.FastCompiledjBPMShowcase
[INFO] Looking for previously cached Compilation Units in /home/manstis/workspaces/git/droolsjbpm/jbpm-console-ng/jbpm-console-ng-showcase/target/jbpm-console-ng-showcase-6.0.0-SNAPSHOT/../gwt-unitCache
[INFO] Looking for precompiled archives. To disable, use -Dgwt.usearchives=false
[INFO] Loading archived module: jar:file:/home/manstis/.m2/repository/com/google/gwt/gwt-user/2.5.0/gwt-user-2.5.0.jar!/com/google/gwt/user/User.gwtar
[INFO] Loading archived module: jar:file:/home/manstis/.m2/repository/com/google/gwt/gwt-user/2.5.0/gwt-user-2.5.0.jar!/com/google/gwt/core/Core.gwtar
[INFO] L
@manstis
manstis / gist:5508228
Created May 3, 2013 09:41
Trouble at mill...
[INFO] jBPM multiproject ................................. SUCCESS [1.654s]
[INFO] jBPM :: Flow ...................................... SUCCESS [9.980s]
[INFO] jBPM :: Flow Builder .............................. SUCCESS [3.275s]
[INFO] jBPM :: JPA Persistence ........................... SUCCESS [2.750s]
[INFO] jBPM :: Audit ..................................... SUCCESS [2.350s]
[INFO] jBPM :: BPMN2 ..................................... SUCCESS [4.097s]
[INFO] jBPM :: BPMN2 EMF Extension Model ................. SUCCESS [2.639s]
[INFO] jBPM :: WorkItems ................................. SUCCESS [2.234s]
[INFO] jBPM :: Services .................................. SUCCESS [0.085s]
[INFO] jBPM :: Shared Services ........................... SUCCESS [1.919s]
@manstis
manstis / gist:5387543
Created April 15, 2013 11:51
Deployment error for kie-ide on AS7.1.1
12:47:25,208 INFO [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011402: Starting Persistence Unit Service 'kie-ide-jboss-as7.0.war#org.jbpm.domain'
12:47:25,513 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-5) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
12:47:25,519 INFO [org.hibernate.Version] (MSC service thread 1-5) HHH000412: Hibernate Core {4.0.1.Final}
12:47:25,521 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000206: hibernate.properties not found
12:47:25,523 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000021: Bytecode provider name : javassist
12:47:25,575 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-5) HHH000204: Processing PersistenceUnitInfo [
name: org.jbpm.domain
...]
12:47:26,896 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-5) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceCo
12:56:17,365 WARN [ErraiMarshalling] (http--127.0.0.1-8080-2) using dynamic marshallers. dynamic marshallers are designed for development mode testing, and ideally should not be used in production. *
12:56:17,434 ERROR [stderr] (http--127.0.0.1-8080-2) Failed to bootstrap errai marshalling system!
12:56:17,435 ERROR [stderr] (http--127.0.0.1-8080-2) java.lang.RuntimeException: could not instantiate marshaller class: org.jboss.errai.marshalling.client.marshallers.LinkedMapMarshaller
12:56:17,436 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.marshalling.rebind.DefinitionsFactoryImpl.loadCustomMappings(DefinitionsFactoryImpl.java:210)
12:56:17,436 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.marshalling.rebind.DefinitionsFactoryImpl.<init>(DefinitionsFactoryImpl.java:71)
12:56:17,436 ERROR [stderr] (http--127.0.0.1-8080-2) at org.jboss.errai.marshalling.rebind.DefinitionsFactorySingleton.newInstance(DefinitionsFactorySingleton.java:41)
12:56:17,437 ERROR [stderr] (http--127.0.0.1-8
errai.marshalling.serializableTypes=org.kie.commons.java.nio.IOException \
org.kie.commons.java.nio.file.AccessDeniedException \
org.kie.commons.java.nio.file.AtomicMoveNotSupportedException \
org.kie.commons.java.nio.file.ClosedWatchServiceException \
org.kie.commons.java.nio.file.DirectoryNotEmptyException \
org.kie.commons.java.nio.file.FileAlreadyExistsException \
org.kie.commons.java.nio.file.FileSystemAlreadyExistsException \
org.kie.commons.java.nio.file.FileSystemException \
org.kie.commons.java.nio.file.FileSystemNotFoundException \
org.kie.commons.java.nio.file.InvalidPathException \
@manstis
manstis / gist:5264674
Created March 28, 2013 16:31
All an app needs to do...
@ApplicationScoped
public class AppSetup {
private final DefaultSystemRepository systemRepository = new DefaultSystemRepository();
private final IOService ioService = new IOServiceDotFileImpl();
@Produces
@Named("ioStrategy")
public IOService ioService() {
@manstis
manstis / gist:5221535
Created March 22, 2013 14:09
PropertiesConfiguration
ERROR 22-03 14:08:43,152 (LoggingHelper.java:error:74) Service method 'public abstract org.drools.guvnor.client.rpc.RuleAsset org.drools.guvnor.client.rpc.AssetService.loadRuleAsset(java.lang.String) throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: java.lang.SecurityException: class "org.drools.PropertiesConfiguration"'s signer information does not match signer information of other classes in the same package
java.lang.SecurityException: class "org.drools.PropertiesConfiguration"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.U