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 - NullPointerException at org.openide.nodes.Node.unblockEvents
Summary: NullPointerException at org.openide.nodes.Node.unblockEvents
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
: 248354 255235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-29 17:20 UTC by ovilladeamigo
Modified: 2015-09-11 19:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210981


Attachments
stacktrace (5.07 KB, text/plain)
2014-07-29 17:20 UTC, ovilladeamigo
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***