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 257740 - AssertionError: handler's startFile Start Entry: from file=/export/devarea/sputnik~main/contrib/JConvert/DeclJavaPrinter.cpp of project=ProjectKey /export/devarea/sputnik~main/contrib/JConvert/N/ vs.
Summary: AssertionError: handler's startFile Start Entry: from file=/export/devarea/sp...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-28 14:57 UTC by petrk
Modified: 2016-02-26 02:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222285


Attachments
stacktrace (3.75 KB, text/plain)
2016-01-28 14:57 UTC, petrk
Details
stacktrace (3.75 KB, text/plain)
2016-02-08 16:46 UTC, petrk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petrk 2016-01-28 14:57:56 UTC
This bug was originally marked as duplicate of bug 254401, 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.1 (Build 20160127-7e52687a19b6)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Linux

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

alexvsimon: rever changes in project which is being parsed

GUEST: opening ide

petrk: Happened after build




Stacktrace: 
java.lang.AssertionError: handler's startFile Start Entry: from file=/export/devarea/sputnik~main/contrib/JConvert/DeclJavaPrinter.cpp
of project=ProjectKey /export/devarea/sputnik~main/contrib/JConvert/N/ vs. state startFile Start Entry: from file=/ssd/export/devarea/sputnik~main/contrib/JConvert/DeclJavaPrinter.cpp
of project=ProjectKey /export/devarea/sputnik~main/contrib/JConvert/N/
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankIncludeHandlerImpl$StateImpl.restoreTo(ClankIncludeHandlerImpl.java:282)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankIncludeHandlerImpl$StateImpl.access$000(ClankIncludeHandlerImpl.java:204)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankIncludeHandlerImpl.setState(ClankIncludeHandlerImpl.java:149)
   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 petrk 2016-01-28 14:57:58 UTC
Created attachment 158271 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-02-08 13:04:48 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222285
Comment 3 petrk 2016-02-08 16:46:48 UTC
Created attachment 158418 [details]
stacktrace

Opened IDE
Comment 4 petrk 2016-02-22 15:08:23 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/716791fb1f6d
Comment 5 Quality Engineering 2016-02-23 02:39:02 UTC
Integrated into 'main-silver', will be available in build *201602230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/716791fb1f6d
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #257740 - AssertionError: handler's startFile Start Entry: from file=/export/devarea/sputnik~main/contrib/JConvert/DeclJavaPrinter.cpp of project=ProjectKey /export/devarea/sputnik~main/contrib/JConvert/N/ vs.
Comment 6 Quality Engineering 2016-02-26 02:08:09 UTC
Integrated into 'main-silver', will be available in build *201602260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fb57581094a7
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: extra fix for #257740 - AssertionError: handler's startFile Start Entry
- we can not erase handler's properties by cleaned empty collections
- when inclStack is present in state set state's startFile