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 262435 - NullPointerException at org.netbeans.modules.xml.jaxb.ui.JAXBBindingSupportFileNode$1.fileDeleted
Summary: NullPointerException at org.netbeans.modules.xml.jaxb.ui.JAXBBindingSupportFi...
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 02:20 UTC by dmain
Modified: 2016-07-14 01:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161220


Attachments
stacktrace (1.03 KB, text/plain)
2016-06-15 02:20 UTC, dmain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmain 2016-06-15 02:20:41 UTC
This bug was originally marked as duplicate of bug 206106, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03
OS: Windows 7

User Comments:
knaeckebrot: I was trying to compile a XML Schema file.

dmain: No Idea




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.xml.jaxb.ui.JAXBBindingSupportFileNode$1.fileDeleted(JAXBBindingSupportFileNode.java:93)
   at sun.reflect.GeneratedMethodAccessor302.invoke(GeneratedMethodAccessor302.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:461)
   at com.sun.proxy.$Proxy1.fileDeleted(.java:0)
Comment 1 dmain 2016-06-15 02:20:43 UTC
Created attachment 160054 [details]
stacktrace
Comment 2 Svata Dedic 2016-06-24 14:14:27 UTC
It seems that a dangling node has received file delete long after it was removed off the screen.
Fixed in jet-main#61da74f0acda
Comment 3 Quality Engineering 2016-07-14 01:51:13 UTC
Integrated into 'main-silver', will be available in build *201607140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/61da74f0acda
User: Svata Dedic <sdedic@netbeans.org>
Log: #262435: prevents NPE when the node is offline