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 221287 - Exception: suspendRemoves with -1
Summary: Exception: suspendRemoves with -1
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 20:02 UTC by tbrunhoff
Modified: 2012-11-07 03:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194412


Attachments
stacktrace (2.19 KB, text/plain)
2012-11-01 20:02 UTC, tbrunhoff
Details
stacktrace (2.19 KB, text/plain)
2012-11-01 20:05 UTC, tbrunhoff
Details
stacktrace (2.19 KB, text/plain)
2012-11-01 22:11 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2012-11-01 20:02:43 UTC
Build: NetBeans IDE Dev (Build 201210240001)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06
OS: Linux

User Comments:
tbrunhoff: starting gdb




Stacktrace: 
java.lang.Exception: suspendRemoves with -1
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:188)
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:177)
   at org.netbeans.modules.cnd.utils.SuspendableFileChangeListener.suspendRemoves(SuspendableFileChangeListener.java:147)
   at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.suspendDeleteEvents(ModelSupport.java:672)
   at org.netbeans.modules.cnd.modelimpl.csm.core.NativeProjectListenerImpl.fileOperationsStarted(NativeProjectListenerImpl.java:258)
   at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.fireFileOperationsStarted(NativeProjectProvider.java:360)
Comment 1 tbrunhoff 2012-11-01 20:02:45 UTC
Created attachment 126946 [details]
stacktrace
Comment 2 tbrunhoff 2012-11-01 20:05:06 UTC
Created attachment 126948 [details]
stacktrace

starting gdb
Comment 3 tbrunhoff 2012-11-01 22:11:06 UTC
Created attachment 126958 [details]
stacktrace

Build on a new project.
Comment 4 Vladimir Voskresensky 2012-11-06 16:25:39 UTC
http://hg.netbeans.org/cnd-main/rev/b8c38e55b36f
Comment 5 Quality Engineering 2012-11-07 03:44:00 UTC
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b8c38e55b36f
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #221287 - Exception: suspendRemoves with -1
- protect from inconsistent state