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 254401 - [newcodemodel] AssertionError: handler's startFile Start Entry: from file=/home/mazur/NetBeansProjects/niedoida/current/external_packages/include/boost/graph/graph_utility.hpp of project=ProjectKey /home/mazur/NetBe
Summary: [newcodemodel] AssertionError: handler's startFile Start Entry: from file=/ho...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-16 14:07 UTC by Exceptions Reporter
Modified: 2015-10-01 05:02 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218937


Attachments
stacktrace (3.81 KB, text/plain)
2015-08-16 14:07 UTC, Exceptions Reporter
Details
stacktrace (6.16 KB, text/plain)
2015-08-31 22:15 UTC, tbrunhoff
Details
stacktrace (6.16 KB, text/plain)
2015-08-31 22:18 UTC, tbrunhoff
Details
stacktrace (3.37 KB, text/plain)
2015-09-10 09:16 UTC, Alexander Simon
Details
stacktrace (3.94 KB, text/plain)
2015-09-10 14:31 UTC, Alexander Simon
Details
stacktrace (3.95 KB, text/plain)
2015-09-17 21:05 UTC, Alexander Simon
Details
stacktrace (3.93 KB, text/plain)
2015-09-22 18:42 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-08-16 14:07:19 UTC
This issue was reported manually by alexvsimon.
It already has 2 duplicates 


Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: OpenJDK 64-Bit Server VM, 25.45-b02, OpenJDK Runtime Environment, 1.8.0_45-internal-b14
OS: Linux

User Comments:
GUEST: when starting ide with a remote project

GUEST: -




Stacktrace: 
java.lang.AssertionError: handler's startFile Start Entry: from file=/home/mazur/NetBeansProjects/niedoida/current/external_packages/include/boost/graph/graph_utility.hpp
of project=ProjectKey /home/mazur/NetBeansProjects/niedoida/current/N/ vs. state startFile Start Entry: from file=/home/mazur/NetBeansProjects/niedoida/current/misc/src/sparse.cpp
of project=ProjectKey /home/mazur/NetBeansProjects/niedoida/current/N/
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankIncludeHandlerImpl$StateImpl.restoreTo(ClankIncludeHandlerImpl.java:292)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankIncludeHandlerImpl$StateImpl.access$000(ClankIncludeHandlerImpl.java:214)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankIncludeHandlerImpl.setState(ClankIncludeHandlerImpl.java:159)
   at org.netbeans.modules.cnd.apt.impl.support.APTPreprocHandlerImpl$StateImpl.restoreTo(APTPreprocHandlerImpl.java:279)
   at org.netbeans.modules.cnd.apt.impl.support.APTPreprocHandlerImpl$StateImpl.access$000(APTPreprocHandlerImpl.java:188)
   at org.netbeans.modules.cnd.apt.impl.support.APTPreprocHandlerImpl.setState(APTPreprocHandlerImpl.java:115)
Comment 1 Exceptions Reporter 2015-08-16 14:07:24 UTC
Created attachment 155371 [details]
stacktrace
Comment 2 tbrunhoff 2015-08-31 22:15:16 UTC
Created attachment 155779 [details]
stacktrace

Starting up IDE.
Comment 3 Exceptions Reporter 2015-08-31 22:15:21 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=218937
Comment 4 tbrunhoff 2015-08-31 22:18:15 UTC
Created attachment 155780 [details]
stacktrace

Starting up IDE.
Comment 5 Exceptions Reporter 2015-08-31 22:18:21 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=218937
Comment 6 Alexander Simon 2015-09-10 09:16:08 UTC
Created attachment 156042 [details]
stacktrace

restart IDE wit opened projects
Comment 7 Alexander Simon 2015-09-10 14:31:07 UTC
Created attachment 156064 [details]
stacktrace

restatr IDE with opened file
Comment 8 Alexander Simon 2015-09-17 21:05:36 UTC
Created attachment 156260 [details]
stacktrace

rever changes in project which is being parsed
Comment 9 MackSix 2015-09-22 18:42:21 UTC
Created attachment 156365 [details]
stacktrace

1. Ran NetBeans and opened up a C++ freeglut project. 
2. Opened up one of the source files and viewed it. 
3.Opened up the header file for it and viewed it. 

This happened.
Comment 10 Vladimir Kvashin 2015-09-29 18:06:17 UTC
This is 100% reproducible with debugger:
1) set a break point in ProjectBase.restorePreprocHandler.getStartEntryInfo
2) open a header file that is included from a source file (directly or indirectly)
3) when a breakpoint is hit, go to terminal and physically remove or rename start file (a source file this header is included).
Comment 12 Quality Engineering 2015-10-01 05:02:21 UTC
Integrated into 'main-silver', will be available in build *201510010328* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/43dfef018648
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed an NPE in Language.valueOf (fixing #254401 - [newcodemodel] AssertionError: handler's startFile Start Entry ... vs. ...)