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 213964 - Exception: Assertion error
Summary: Exception: Assertion error
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 213361 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-11 11:55 UTC by swpalmer
Modified: 2012-06-19 20:51 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189326


Attachments
stacktrace (1.13 KB, text/plain)
2012-06-11 11:55 UTC, swpalmer
Details
stacktrace (3.93 KB, text/plain)
2012-06-14 20:22 UTC, tbrunhoff
Details
stacktrace (3.93 KB, text/plain)
2012-06-14 20:26 UTC, tbrunhoff
Details
stacktrace (1.13 KB, text/plain)
2012-06-19 19:11 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2012-06-11 11:55:05 UTC
This bug was originally marked as duplicate of bug 213361, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201206100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b03, Java(TM) SE Runtime Environment, 1.7.0_06-ea-b12
OS: Mac OS X

User Comments:
swpalmer: Started up after reboot

alexvsimon: switch between two standalone files (that belong to not opened project)




Stacktrace: 
java.lang.Exception: Assertion error
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:188)
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:125)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.checkLibrariesAfterRestore(ProjectBase.java:1710)
   at org.netbeans.modules.cnd.modelimpl.csm.core.CreateFilesWorker.checkLibraries(CreateFilesWorker.java:181)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createProjectFilesIfNeed(ProjectBase.java:987)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.ensureFilesCreated(ProjectBase.java:783)
Comment 1 swpalmer 2012-06-11 11:55:10 UTC
Created attachment 120659 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2012-06-13 10:06:01 UTC
*** Bug 213361 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Voskresensky 2012-06-13 21:31:13 UTC
http://hg.netbeans.org/cnd-main/rev/876b8c48b6bf
Comment 4 tbrunhoff 2012-06-14 20:22:48 UTC
Created attachment 120873 [details]
stacktrace

This happened right after restarting the ide (because of code model did not match the code). But I got dozens of exceptions, and had to start clicking cancel to get here.
Comment 5 tbrunhoff 2012-06-14 20:26:21 UTC
Created attachment 120874 [details]
stacktrace

assertion #2...This happened right after restarting the ide (because of code model did not match the code). But I got dozens of exceptions, and had to start clicking cancel to get here.
Comment 6 Quality Engineering 2012-06-15 06:15:19 UTC
Integrated into 'main-golden', will be available in build *201206150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/876b8c48b6bf
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #213964 - Exception: Assertion error
- trace in console is enough
Comment 7 Exceptions Reporter 2012-06-15 22:01:50 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=189326
Comment 8 tbrunhoff 2012-06-19 19:11:04 UTC
Created attachment 121063 [details]
stacktrace

switching projects.
Comment 9 Vladimir Voskresensky 2012-06-19 20:51:57 UTC
Todd, try more recent dev build, if you'd like to be without this assert