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 241037

Summary: AssertionError: Wrong instance, should be LibProjectImpl: C:\JavaPlatformDevelopmentTools\Programs\Cygwin64\lib\gcc\x86_64-pc-cygwin\4.8.2\include\c++\x86_64-pc-cygwin org.netbeans.modules.cnd.modelim
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexvsimon, areeda, hermes85pl, tbrunhoff, Zendal
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207012
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Exceptions Reporter 2014-01-28 06:19:23 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
GUEST: do not know where get the problem, just open the source file then get this error.




Stacktrace: 
java.lang.AssertionError: Wrong instance, should be LibProjectImpl: C:\JavaPlatformDevelopmentTools\Programs\Cygwin64\lib\gcc\x86_64-pc-cygwin\4.8.2\include\c++\x86_64-pc-cygwin org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl @6356084:6356084
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibProjectImpl.createInstance(LibProjectImpl.java:97)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.createUID(LibraryManager.java:623)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.getLibrary(LibraryManager.java:613)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.access$200(LibraryManager.java:588)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.getLibraries(LibraryManager.java:135)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.getLibraries(ProjectBase.java:2779)
Comment 1 Exceptions Reporter 2014-01-28 06:19:25 UTC
Created attachment 144441 [details]
stacktrace
Comment 2 tbrunhoff 2014-02-08 00:31:37 UTC
Created attachment 144928 [details]
stacktrace

Nothing. Some command line tools running in the background.
Comment 3 Zendal 2014-02-11 00:46:25 UTC
Created attachment 145006 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce> I was running a C++ application
Comment 4 Zendal 2014-02-11 00:49:25 UTC
Created attachment 145007 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 5 areeda 2014-02-23 20:19:50 UTC
Created attachment 145517 [details]
stacktrace

Opening a source file from a C++ project.  My first time.
Comment 6 tbrunhoff 2014-05-20 19:18:34 UTC
Created attachment 147350 [details]
stacktrace

opening a file.
Comment 7 tbrunhoff 2014-05-20 19:21:34 UTC
Created attachment 147351 [details]
stacktrace

nothing.
Comment 8 Alexander Simon 2014-05-28 06:36:36 UTC
This issue is a duplicate of the bug #242881.
A difference in java mode. This bug is reproduced with -ea java option. The bug #242881 is reproduced with -da java option.

*** This bug has been marked as a duplicate of bug 242881 ***