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 22351 - [NPE] from org.openide.actions.UndoAction$Listener.propertyChange and WS useless
Summary: [NPE] from org.openide.actions.UndoAction$Listener.propertyChange and WS use...
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-12 09:25 UTC by Marian Mirilovic
Modified: 2003-06-30 18:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException from org.openide.actions.UndoAction$Listener.propertyChange (7.25 KB, text/plain)
2002-04-12 09:27 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2002-04-12 09:25:52 UTC
[nb_dev](20020412), [jdk1.4](fcs)



Steps to reproduce:
- open some form file
- maximize Form Editor Window
- switch to Editing
- restart IDE
- switch to GUI Editing
-> Explorer contains only Filessytems tab, Form
Editor Window contains only Form Designer and
Component Inspector, more than one (7)
NullPointerExceptions (see attachmanet) arise

-> from now Window System is useless (NPE arising)
Comment 1 Marian Mirilovic 2002-04-12 09:27:24 UTC
Created attachment 5390 [details]
NullPointerException from org.openide.actions.UndoAction$Listener.propertyChange
Comment 2 Marian Mirilovic 2002-04-12 09:36:03 UTC
Oops, I forgot run IDE in MDI.
Comment 3 mslama 2002-04-12 11:35:35 UTC
I will investigate it
Comment 4 mslama 2002-04-12 11:37:38 UTC
Starting
Comment 5 mslama 2002-04-12 15:08:18 UTC
ComponentInspector.getUndoRedo() returns null. In API doc there is
nothing about null return value. It can return UndoRedo.NONE when
there is no support or not ready yet as TopComponent.getUndoRedo()
does. Tomas please can you check that? Though I do not know what is
cause of this change in behaviour. If it is problem only in Form
Editor or also in winsys. AFAIK we did not change anything in
deserialization in last days.
Comment 6 mslama 2002-04-12 15:09:12 UTC
The same on JDK 1.3.1_02.
Comment 7 mslama 2002-04-12 15:12:14 UTC
Assigning to Form Editor.

Comment 8 Tomas Pavek 2002-04-12 15:30:15 UTC
Really looks like my bug...
Comment 9 Tomas Pavek 2002-04-12 15:53:50 UTC
Fixed in trunk and QBE200204120100 branch.
Comment 10 Marian Mirilovic 2002-04-17 13:04:43 UTC
verified in [nb_dev](20020417)
Comment 11 Quality Engineering 2003-06-30 18:28:31 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.