[jbpm-dev] [Design of JBoss jBPM] - Re: jBPM Classloading
Thomas Diesler
thomas.diesler at jboss.com
Fri Oct 10 04:56:17 EDT 2008
Still fails for class loading reasons
http://jbpm.dyndns.org:8280/hudson/job/jBPM3-JDK1.6/lastBuild/testReport/
> 1.) I did run the JUnit tests locally with SUN Java JDK 6 -> no problems!
Hudson is our measure, because we need to have an environment that
produces reproducible results. You can run the tests in your local
Hudson environment.
> | URL resource = getClass().getResource("classresource.txt");
This accesses the classloader
-thomas
camunda wrote:
> Hmm, I don't get the problem...
>
> 1.) I did run the JUnit tests locally with SUN Java JDK 6 -> no problems!
>
> 2.) This exception seems not really related to changes I made (doesn't mean it can not be interrelated):
> Caused by: java.lang.NullPointerException
> at org.jbpm.jpdl.par.ResourceAction.execute(ResourceAction.java:24)
>
> code is (NPE in second line):
>
> | URL resource = getClass().getResource("classresource.txt");
> | InputStream stream = resource.openStream();
> |
>
> Could it have been may run with a state where not everything was committed yet? Or other ideas?
>
> What puzzles me really is that I don't get these errors locally, even with Java 6... And they shouldn't have changed class loading basics there either...
>
> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181176#4181176
>
> Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181176
> _______________________________________________
> jbpm-dev mailing list
> jbpm-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbpm-dev
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
BPM Product Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jbpm-dev
mailing list