If I cannot reproduce it locally, how to fix it?
I doubt that this does not show up on your local hudson instance. To
have one setup you can follow
http://jbpm.dyndns.org/jbpmwiki/index.php?title=JBPM3HudsonSetup
Also, on the command line there seems to be a dependency on previous
tests. If you run all the core tests with 'mvn package' you should see
Failed tests:
testProcessClassLoaderAsContextClassLoader(org.jbpm.jpdl.par.ProcessArchiveDeploymentDbTest)
Tests in error:
testExecuteResourceUsingProcess(org.jbpm.jpdl.par.ProcessArchiveDeploymentDbTest)
Tests run: 988, Failures: 1, Errors: 1, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/home/tdiesler/svn/jbpm/jbpm3/trunk/modules/core/target/surefire-reports
for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 22 seconds
[INFO] Finished at: Fri Oct 10 14:02:10 CEST 2008
[INFO] Final Memory: 15M/49M
[INFO]
------------------------------------------------------------------------
Bernd Rücker wrote:
What exact JVM runs in the Hudson environment?
If I cannot reproduce it locally, how to fix it?
-----Ursprüngliche Nachricht-----
Von: jbpm-dev-bounces(a)lists.jboss.org
[mailto:jbpm-dev-bounces@lists.jboss.org] Im Auftrag von Thomas Diesler
Gesendet: Freitag, 10. Oktober 2008 10:56
An: camunda
Cc: jbpm-dev(a)lists.jboss.org
Betreff: Re: [jbpm-dev] [Design of JBoss jBPM] - Re: jBPM Classloading
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#...
> Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...
> _______________________________________________
> jbpm-dev mailing list
> jbpm-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbpm-dev
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
BPM Product Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
jbpm-dev mailing list
jbpm-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev
_______________________________________________
jbpm-dev mailing list
jbpm-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
BPM Product Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx