Bugs item #1284303, was opened at 2005-09-07 23:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=590799&aid=1284303&group_id=89627
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Checker
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ernst de Haan (znerd)
Assigned to: Nobody/Anonymous (nobody)
Summary: NPE in BCEL getAllInterfaces()
Initial Comment:
I got the following exception while running clirr on my
JAR files (command-line):
Exception in thread "main"
java.lang.reflect.InvocationTargetException
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.boot.Bootstrapper.bootstrap(Bootstrapper.java:209)
at
org.codehaus.classworlds.boot.Bootstrapper.main(Bootstrapper.java:116)
Caused by: java.lang.NullPointerException
at
org.apache.bcel.classfile.JavaClass.getAllInterfaces(JavaClass.java:808)
at
net.sf.clirr.core.internal.checks.InterfaceSetCheck.check(InterfaceSetCheck.java:58)
at
net.sf.clirr.core.Checker.runClassChecks(Checker.java:376)
at
net.sf.clirr.core.Checker.reportDiffs(Checker.java:319)
at
net.sf.clirr.core.Checker.reportDiffs(Checker.java:178)
at net.sf.clirr.cli.Clirr.run(Clirr.java:167)
at net.sf.clirr.cli.Clirr.main(Clirr.java:56)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
at
org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
at
org.codehaus.classworlds.Launcher.main(Launcher.java:474)
... 6 more
My system:
Linux 2.6.12
Sun JDK 1.4.2_08
The command executed:
java -jar ~/clirr-0.5/clirr-core-0.5-uber.jar -o
~/xins-1.2.5/build/xins-common.jar -n build/xins-common.jar
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=590799&aid=1284303&group_id=89627
|