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 246111

Summary: NullPointerException at org.openide.nodes.Node.unblockEvents
Product: platform Reporter: ovilladeamigo
Component: NodesAssignee: Jan Peska <JPESKA>
Status: RESOLVED FIXED    
Severity: normal CC: akobberup, emiddio
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210981
Attachments: stacktrace

Description ovilladeamigo 2014-07-29 17:20:00 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
ovilladeamigo: error not stop wildfly server




Stacktrace: 
java.lang.NullPointerException
   at org.openide.nodes.Node.unblockEvents(Node.java:1308)
   at org.openide.nodes.NodeLookup.beforeLookup(NodeLookup.java:140)
   at org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:427)
   at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:421)
   at org.openide.nodes.FilterNode$FilterLookup.lookup(FilterNode.java:2136)
   at org.netbeans.spi.java.project.support.ui.TreeRootNode$PackageFilterChildren.copyNode(TreeRootNode.java:395)
Comment 1 ovilladeamigo 2014-07-29 17:20:02 UTC
Created attachment 148389 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-03-04 09:05:41 UTC
Fix: core-main #80ed64fca192
Changeset: 80ed64fca192
Message:   node.findDelegatingLookup may apparently return null, using the same check
as in other places before casting and calling the instance method should help.
Comment 3 Ondrej Vrabec 2015-03-04 15:45:47 UTC
*** Bug 248354 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2015-03-05 04:08:28 UTC
Integrated into 'main-silver', will be available in build *201503050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/80ed64fca192
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: node.findDelegatingLookup may apparently return null, using the same check
as in other places before casting and calling the instance method should help.
Task #246111 - NullPointerException at org.openide.nodes.Node.unblockEvents
Comment 5 Ondrej Vrabec 2015-09-11 19:31:11 UTC
*** Bug 255235 has been marked as a duplicate of this bug. ***