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 253136 - NullPointerException at org.netbeans.modules.cnd.modelimpl.cache.impl.WeakContainer.getFromRef
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.cache.impl.WeakCon...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-23 16:59 UTC by Exceptions Reporter
Modified: 2015-09-09 15:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218125


Attachments
stacktrace (2.51 KB, text/plain)
2015-06-23 16:59 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-06-23 16:59:29 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Windows 7

User Comments:
GUEST: I was trying to reconnect to a remote Linux machine. It had just complained about RSA key being changed, which was actually due to reinstalling Linux on the machine.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.cache.impl.WeakContainer.getFromRef(WeakContainer.java:118)
   at org.netbeans.modules.cnd.modelimpl.cache.impl.WeakContainer.getContainer(WeakContainer.java:83)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getFileComponent(FileContent.java:466)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getFileIncludes(FileContent.java:442)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getFileIncludes(FileImpl.java:2265)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getIncludes(FileImpl.java:1734)
Comment 1 Exceptions Reporter 2015-06-23 16:59:31 UTC
Created attachment 154351 [details]
stacktrace
Comment 2 Alexander Simon 2015-09-09 15:31:22 UTC
fixed while fixing Bug #255101, changeset:
http://hg.netbeans.org/cnd-main/rev/d787643bfd80