TheProjecter / spectacular

Automatically exported from code.google.com/p/spectacular
0 stars 0 forks source link

If aBDD class isn't found, exit gracefully #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
2010-01-06 15:16:01,720 [main] INFO 
minderupt.spectacular.executor.agent.Linear
ArtifactExecutorAgent - Executing artifact type:  BDD
2010-01-06 15:16:01,720 [main] INFO 
minderupt.spectacular.executor.bdd.JBehaveA
rtifactExecutor - Loading step class:  blah.bdd.WhateverTest
2010-01-06 15:16:01,735 [main] ERROR
minderupt.spectacular.executor.bdd.JBehaveA
rtifactExecutor - Unable to load step class: blah.bdd.WhateverTest
java.lang.ClassNotFoundException: blah.bdd.WhateverTest
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at
minderupt.spectacular.executor.bdd.JBehaveArtifactExecutor.executeArt
ifact(JBehaveArtifactExecutor.java:38)
        at
minderupt.spectacular.executor.agent.LinearArtifactExecutorAgent.exec
uteArtifacts(LinearArtifactExecutorAgent.java:45)
        at
minderupt.spectacular.spine.SpectacularSpine.run(SpectacularSpine.jav
a:86)
        at
minderupt.spectacular.spine.SpectacularRunner.main(SpectacularRunner.
java:60)
Exception in thread "main" java.lang.NullPointerException
        at
minderupt.spectacular.executor.agent.LinearArtifactExecutorAgent.exec
uteArtifacts(LinearArtifactExecutorAgent.java:52)
        at
minderupt.spectacular.spine.SpectacularSpine.run(SpectacularSpine.jav
a:86)
        at
minderupt.spectacular.spine.SpectacularRunner.main(SpectacularRunner.
java:60)

C:\SpectacularPOC>

Original issue reported on code.google.com by mdowl...@gmail.com on 6 Jan 2010 at 11:18

GoogleCodeExporter commented 9 years ago
oops.

Original comment by mdowl...@gmail.com on 14 Jan 2010 at 8:02