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 201590 - NullPointerException at org.netbeans.modules.properties.PropertiesOpen.canClose
Summary: NullPointerException at org.netbeans.modules.properties.PropertiesOpen.canClose
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-03 15:03 UTC by 372046933
Modified: 2011-10-11 14:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180906


Attachments
stacktrace (2.71 KB, text/plain)
2011-09-03 15:03 UTC, 372046933
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 372046933 2011-09-03 15:03:13 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.properties.PropertiesOpen.canClose(PropertiesOpen.java:213)
   at org.openide.windows.CloneableOpenSupport$Listener.vetoableChange(CloneableOpenSupport.java:369)
   at org.openide.util.WeakListenerImpl$VetoableChange.vetoableChange(WeakListenerImpl.java:228)
   at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:335)
   at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:252)
   at org.netbeans.modules.properties.PropertiesOpen$Environment.fireVetoableChange(PropertiesOpen.java:764)
Comment 1 372046933 2011-09-03 15:03:17 UTC
Created attachment 110375 [details]
stacktrace
Comment 2 Jan Peska 2011-10-10 12:05:41 UTC
fix: http://hg.netbeans.org/core-main/rev/ff30e682e697
Comment 3 Jan Peska 2011-10-10 12:05:45 UTC
fix: http://hg.netbeans.org/core-main/rev/f4ddfc91702a
Comment 4 Jan Peska 2011-10-10 12:07:46 UTC
Both patches are valid, I accidentally split fix into two changesets.
Comment 5 Quality Engineering 2011-10-11 14:13:34 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/ff30e682e697
User: Jan Peska <jpeska@netbeans.org>
Log: Issue #201590 - NullPointerException at org.netbeans.modules.properties.PropertiesOpen.canClose
#201590 - NullPointerException in canClose method in PropertiesOpen