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 208587

Summary: NullPointerException at org.openide.nodes.EntrySupport$Lazy.removeEntries
Product: platform Reporter: Alexander Simon <alexvsimon>
Component: NodesAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185180
Attachments: stacktrace

Description Alexander Simon 2012-02-17 19:10:31 UTC
Build: NetBeans IDE Dev (Build 20120217-e7f869275b98)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.openide.nodes.EntrySupport$Lazy.removeEntries(EntrySupport.java:1800)
   at org.openide.nodes.EntrySupport$Lazy.refreshEntry(EntrySupport.java:1334)
   at org.openide.nodes.Children$Keys$1.run(Children.java:1460)
   at org.openide.util.Mutex$1Exec.run(Mutex.java:1244)
   at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1920)
   at org.openide.util.Mutex.postRequest(Mutex.java:1250)
Comment 1 Alexander Simon 2012-02-17 19:10:35 UTC
Created attachment 115895 [details]
stacktrace
Comment 2 Alexander Simon 2012-02-17 19:21:11 UTC
This is watches of variables in the beginning of method removeEntries() at NP time:
"removeEntries(): org.openide.nodes.EntrySupport$Lazy@5f6a575e"
"    entriesToRemove: null"
"    entryToRemove: Children.Keys.KE[rc/main/java/oracle/oer/domainmodeler/core/TypeExtensionConfig.java [invalid],0],0]"
"    newEntryInfo: EntryInfo for entry: Children.Keys.KE[rc/main/java/oracle/oer/domainmodeler/core/TypeExtensionConfig.java [invalid],0],0], node: org.openide.nodes.EntrySupport$Lazy$DummyNode@6b82fc0a[Name=, displayName=]"
"    newEntryInfo: EntryInfo for entry: Children.Keys.KE[rc/main/java/oracle/oer/domainmodeler/core/TypeExtensionConfig.java [invalid],0],0], node: org.openide.nodes.EntrySupport$Lazy$DummyNode@6b82fc0a[Name=, displayName=]"
"    justHide: true"
Comment 3 Jaroslav Tulach 2012-03-05 09:50:47 UTC
*** Bug 208760 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Tulach 2012-03-05 09:50:51 UTC
*** Bug 208588 has been marked as a duplicate of this bug. ***
Comment 5 Jaroslav Tulach 2012-03-05 09:50:55 UTC
*** Bug 208497 has been marked as a duplicate of this bug. ***
Comment 6 Jaroslav Tulach 2012-03-05 10:01:14 UTC
The NPE will be prevented by fix of bug 207180.

*** This bug has been marked as a duplicate of bug 207180 ***