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 252092 - Exception: /home/akrasny/java8d/sandbox/fromzst/azlinux/include vs. /home/buildmaster/sw/centaurea/gcc-4.4.5-rhel5.5/release/gcc-4.4.5/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed
Summary: Exception: /home/akrasny/java8d/sandbox/fromzst/azlinux/include vs. /home/bui...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-25 09:26 UTC by Andrew Krasny
Modified: 2016-10-31 11:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216971


Attachments
stacktrace (1.25 KB, text/plain)
2015-04-25 09:26 UTC, Andrew Krasny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Krasny 2015-04-25 09:26:34 UTC
This bug was originally marked as duplicate of bug 243240, 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 20150402-422f58d14079)
VM: OpenJDK 64-Bit Server VM, 25.20-b23, OpenJDK Runtime Environment, 1.8.0_20-b26
OS: Mac OS X

User Comments:
tbrunhoff: One of a chain of exceptions; see id #760245.

akrasny: Initially NB was connected to a remote server over a slow connection. Then laptop was suspended (hence, connection was lost). Later laptop was resumed, but in this situation
NB usualy don't work with the remote projects (or, probably it does, but it consumes 200% CPU, so I usually restart NB in this case).
Once I started it again, I've got this exception

tbrunhoff: opening a project group.

tbrunhoff: infinite exceptions....




Stacktrace: 
java.lang.Exception: /home/akrasny/java8d/sandbox/fromzst/azlinux/include vs. /home/buildmaster/sw/centaurea/gcc-4.4.5-rhel5.5/release/gcc-4.4.5/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:200)
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:185)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibProjectImpl.createInstance(LibProjectImpl.java:116)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.createUID(LibraryManager.java:621)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.getLibrary(LibraryManager.java:612)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.access$200(LibraryManager.java:587)
Comment 1 Andrew Krasny 2015-04-25 09:26:37 UTC
Created attachment 153390 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-09-25 12:15:11 UTC
LibProjectImpl that is read via LibProjectImpl.readLibraryInstance has unexpected path or sometimes (in Andrews logs) unexpected file system (remote vs local). 

So this is most likely a repository problem.

There are also problems like the below one:

INFO [dlight.libs.common.logger]: Failed to get container sorage by key  TWICE FileContainerKey /home/ak/java8d/azsys.prj/N/
org.netbeans.modules.cnd.modelimpl.debug.IllegalRepositoryStateException: Failed to get container sorage by key  TWICE FileContainerKey /home/ak/java8d/azsys.prj/N/
	at org.netbeans.modules.cnd.modelimpl.debug.DiagnosticExceptoins.registerIllegalRepositoryStateException(DiagnosticExceptoins.java:97)
	at org.netbeans.modules.cnd.modelimpl.cache.impl.WeakContainer.getContainer(WeakContainer.java:103)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.getFileContainer(ProjectBase.java:3758)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.checkConsistency(ProjectBase.java:243)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.readInstance(ProjectBase.java:388)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.readProjectInstance(ProjectImpl.java:96)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.createInstance(ProjectImpl.java:108)


The latest problem occurred in development version built on Apr 02 2015.
Comment 3 Exceptions Reporter 2016-03-18 11:11:27 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216971