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 243975

Summary: Exception: Path should be absolute: <WRONG FILE>
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: abalint21, tbrunhoff, vv159170
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209186
Attachments: stacktrace

Description Exceptions Reporter 2014-04-21 19:47:55 UTC
This bug was originally marked as duplicate of bug 241990, 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 20140421-549e28a599af)
VM: Java HotSpot(TM) Client VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: Linux

User Comments:
tbrunhoff: nothing. This poped up after leaving the ide running for days.

GUEST: The exception occurs while starting NetBeans. It occurs while NetBeans is still starting and loading the project files.

GUEST: just started netbeans and all.

tbrunhoff: starting the ide (with open projects)

tbrunhoff: Starting ide.

GUEST: exception occurs just after opening project

GUEST: Error Message always appears on IDE load and when opening at least a new cpp project.

Greatings and keep the good work up !

GUEST: Just started the IDE (under Ubuntu 10.12)

tbrunhoff: running a variety of builds across different configurations

abalint21: Load a native project. Exception was thrown while "Parsing project"

tbrunhoff: Starting up the ide.

tbrunhoff: starting a build

GUEST: ?

vv159170: reopen IDE

GUEST: occured on IDE loading, before background scanningof projects




Stacktrace: 
java.lang.Exception: Path should be absolute: <WRONG FILE>
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:191)
   at org.netbeans.modules.cnd.modelimpl.content.project.FileContainer.getEntry(FileContainer.java:268)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.checkLibrariesAfterRestore(ProjectBase.java:1807)
   at org.netbeans.modules.cnd.modelimpl.csm.core.CreateFilesWorker.checkLibraries(CreateFilesWorker.java:168)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createProjectFilesIfNeed(ProjectBase.java:1085)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.ensureFilesCreated(ProjectBase.java:913)
Comment 1 Exceptions Reporter 2014-04-21 19:47:57 UTC
Created attachment 146866 [details]
stacktrace
Comment 2 Quality Engineering 2014-04-24 02:11:15 UTC
Integrated into 'main-silver', will be available in build *201404240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9d6df472710d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #243975 Exception: Path should be absolute: <WRONG FILE>
- fix possible race on put container
- log attempt of writing in empty container
Comment 3 Alexander Simon 2014-05-14 12:47:04 UTC
I believe the bug was fixed
Comment 4 Quality Engineering 2014-06-04 15:28:09 UTC
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/3a2e68bbe568
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #243975 Exception: Path should be absolute: <WRONG FILE>
- fix possible race on put container
- log attempt of writing in empty container
(transplanted from 9d6df472710db7f9660103e397166a71de445213)