FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 940 : Error on creation of more than two tabs
Last modified: 2008-10-11 11:49
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:
pantopicon
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-10-03 00:22
When creating Tab 3+ an error is reported (see below for error text) on attempting to save
the entered name for the tab. Processing must be force quit. On re-starting the application
the problem tab appears with no errors and can be worked with properly. The problem
repeats on every attempt to create a tab beyond the second.
Processing Version: 0148
OS: OS 10.5.5 (Intel Core 2 Duo)
Error given in console window:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at processing.app.EditorHeader.rebuildMenu(EditorHeader.java:361)
at processing.app.EditorHeader.rebuild(EditorHeader.java:227)
at processing.app.Sketch.setCurrentCode(Sketch.java:1071)
at processing.app.Sketch.setCurrentCode(Sketch.java:1083)
at processing.app.Sketch.nameCode(Sketch.java:490)
at processing.app.EditorStatus$3.keyTyped(EditorStatus.java:316)
at java.awt.Component.processKeyEvent(Component.java:5557)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2722)
at java.awt.Component.processEvent(Component.java:5379)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java
:681)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.j
ava:938)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.j
ava:810)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:64
5)
at java.awt.Component.dispatchEventImpl(Component.java:3941)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Additional Comment
#1 From fry 2008-10-07 14:58
yikes, thanks for the heads up, will definitely fix that for 0149.
Additional Comment
#2 From fry 2008-10-11 11:49
fixed for 0149, thanks for the report.