FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1493 : Cannot run revision 6305 -- class processing.app.tools.android.AdroidTool missing
Last modified: 2010-03-04 05:06
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Lonnen
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2010-03-02 05:28
After a fresh checkout of revision 6305 I cd to the build directory and successfully compile with
ant. Running the app causes "Uncaught exception in main method:
java.lang.NullPointerException" Feel free to delete the bug if you already know about it, I just
wanted to have it documented somewhere. Here's the error log dump:
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444]
java.lang.ClassNotFoundException: processing.app.tools.android.AndroidTool
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.security.AccessController.doPrivileged(Native Method)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.ClassLoader.loadClass(ClassLoader.java:315)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.ClassLoader.loadClass(ClassLoader.java:250)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.Class.forName0(Native Method)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.Class.forName(Class.java:169)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.createToolMenuItem(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.addInternalTools(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.buildToolsMenu(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.buildMenuBar(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.<init>(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.handleOpen(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.handleOpen(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.handleNew(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.<init>(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.main(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.reflect.Method.invoke(Method.java:597)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] [LaunchRunner Error]
processing.app.Base.main(String[]) threw an exception:
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444]
java.lang.NullPointerException
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.addInternalTools(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.buildToolsMenu(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.buildMenuBar(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Editor.<init>(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.handleOpen(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.handleOpen(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.handleNew(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.<init>(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
processing.app.Base.main(Unknown Source)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
java.lang.reflect.Method.invoke(Method.java:597)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
3/2/10 8:23:37 AM [0x0-0x32032].org.processing.app[444] at
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Additional Comment
#1 From fry 2010-03-04 05:06
sorry about that. should be fixed now.