This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 15443 - NPE when openning java file.
Summary: NPE when openning java file.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on: 15507
Blocks:
  Show dependency tree
 
Reported: 2001-09-13 13:16 UTC by Jan Zajicek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2001-09-13 13:16:36 UTC
Following NPE was thrown when I was openning one file:

Thu Sep 13 14:14:57 CEST 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
        at
org.netbeans.modules.java.JavaEditor$10.actionPerformed(JavaEditor.java:1068)
        at javax.swing.Timer.fireActionPerformed(Timer.java:150)
        at javax.swing.Timer$DoPostEvent.run(Timer.java:108)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Jan Zajicek 2001-09-13 13:17:03 UTC
Was in dev #20010913.
Comment 2 Svata Dedic 2001-09-14 13:39:05 UTC
Resolved by guarding the exception - however the "pane" field gets 
somehow cleared after the Editor is constructed.
Please reopen if #15507 is fixed and this bug still persists
Comment 3 Svata Dedic 2001-09-14 13:39:40 UTC
Errr... I meant "guardning the null pointer" I'm not catching 
exceptions ;-)
Comment 4 Jan Becicka 2001-10-03 14:41:38 UTC
[200110031034] Verified
Comment 5 Quality Engineering 2003-07-01 13:15:55 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.