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 253508 - IllegalStateException: Not initialized repository
Summary: IllegalStateException: Not initialized repository
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 07:53 UTC by Alexander Simon
Modified: 2015-09-08 12:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218573


Attachments
stacktrace (2.79 KB, text/plain)
2015-07-16 07:53 UTC, Alexander Simon
Details
stacktrace (2.79 KB, text/plain)
2015-07-16 08:08 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-07-16 07:53:54 UTC
Build: NetBeans IDE Dev (Build 20150716-45a3aaa50900)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: SunOS

User Comments:
alexvsimon: start fresh IDE, create new C/C++ application (new preprocessor is ON)




Stacktrace: 
java.lang.IllegalStateException: Not initialized repository
   at org.netbeans.modules.cnd.repository.impl.UninitializedRepositoryImpl.getUnitID(UninitializedRepositoryImpl.java:139)
   at org.netbeans.modules.cnd.repository.api.Repository.getUnitId(Repository.java:143)
   at org.netbeans.modules.cnd.modelimpl.repository.KeyUtilities.getUnitId(KeyUtilities.java:176)
   at org.netbeans.modules.cnd.modelimpl.repository.KeyUtilities.createProjectKey(KeyUtilities.java:127)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.createProjectKey(ProjectImpl.java:93)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.cleanProjectRepository(ProjectImpl.java:88)
Comment 1 Alexander Simon 2015-07-16 07:53:56 UTC
Created attachment 154668 [details]
stacktrace
Comment 2 Alexander Simon 2015-07-16 08:08:36 UTC
Created attachment 154669 [details]
stacktrace

start IDE with opened project
Comment 3 Alexander Simon 2015-09-08 12:18:15 UTC
Root cause is:
NFO [org.openide.util.lookup.MetaInfServicesLookup]: Cannot create class org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl
It seems a NB instalation is broken.