I'm trying to generate JUnit test cases in Fedora Core
4's native eclipse 3.1 (JDK 1.5_05) and get a message
saying an internal error occured. The log shows:
!ENTRY org.eclipse.core.runtime 4 2 2005-12-04
12:50:07.396
!MESSAGE An internal error occurred during: "Generating
JUnit classes...".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.core.internal.runtime.InternalPlatform.asActualURL(InternalPlatform.java:192)
at
org.eclipse.core.internal.runtime.InternalPlatform.resolve(InternalPlatform.java:1029)
at
org.eclipse.core.runtime.Platform.resolve(Platform.java:780)
at
net.sourceforge.eclipse.junitdoclet.popup.actions.JUnitDocletAction.retrieveJUnitDocletJarPath(JUnitDocletAction.java:407)
at
net.sourceforge.eclipse.junitdoclet.popup.actions.JUnitDocletAction.generateJUnitDocletCommand(JUnitDocletAction.java:354)
at
net.sourceforge.eclipse.junitdoclet.popup.actions.JUnitDocletAction.access$0(JUnitDocletAction.java:343)
at
net.sourceforge.eclipse.junitdoclet.popup.actions.JUnitDocletAction$1.run(JUnitDocletAction.java:128)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Logged In: YES
user_id=1403567
I too am getting this same error for an Eclipse 3.1.1
installation running on Suse 9.1 (JDK 1.5_06). I have also
tested the same configuration on Windows 2000 without
getting an error. This appears to be a platform dependent
issue.
Regards,
Robin