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 254103 - org.openide.filesystems.FileStateInvalidException: File libraries-timestamps.properties cannot be found in folder org-netbeans-api-project-libraries.
Summary: org.openide.filesystems.FileStateInvalidException: File libraries-timestamps....
Status: VERIFIED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-03 08:39 UTC by Jiri Skrivanek
Modified: 2015-08-12 01:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218931


Attachments
stacktrace (1.24 KB, text/plain)
2015-08-03 08:39 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2015-08-03 08:39:35 UTC
Build: NetBeans IDE 8.1 Beta (Build 201507302201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8

User Comments:
jskrivanek: Installed all distribution of beta build and just started it.




Stacktrace: 
org.openide.filesystems.FileStateInvalidException: File libraries-timestamps.properties cannot be found in folder org-netbeans-api-project-libraries.
   at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1202)
   at org.openide.filesystems.FileUtil.createData(FileUtil.java:791)
   at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1189)
   at org.openide.filesystems.FileUtil.createData(FileUtil.java:791)
   at org.netbeans.modules.project.libraries.LibrariesStorage.saveTimeStamps(LibrariesStorage.java:521)
   at org.netbeans.modules.project.libraries.LibrariesStorage.loadFromStorage(LibrariesStorage.java:213)
Comment 1 Jiri Skrivanek 2015-08-03 08:39:37 UTC
Created attachment 155143 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-03 15:36:30 UTC
The bug seems to originate in projects/Libraries. Tomas, can you please evaluate it? Thank you.
Comment 3 Tomas Zezula 2015-08-04 15:56:12 UTC
The project/libraries just calls:
FileUtil.createData(parent,TIME_STAMPS_FILE) throwing the exception.
Looking at the MultiFileObject the exception is thrown when the FileObject should be created but not found in fs layers.

Probably the exception should be extended by the (FileSystem simple) on which the FO "was" created and simple.getRoot().getFileObject(fullName) to find out if the problem is in the layer merging or in the fs layer.
Comment 4 Jaroslav Havlin 2015-08-10 12:02:10 UTC
> Looking at the MultiFileObject the exception is thrown when the FileObject
> should be created but not found in fs layers.
I'm sorry for the unjustified reassignment.

> Probably the exception should be extended... 
http://hg.netbeans.org/core-main/rev/c05845cb73bd

Thank you, Tomas.
Comment 5 Quality Engineering 2015-08-12 01:17:24 UTC
Integrated into 'main-silver', will be available in build *201508120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c05845cb73bd
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #254103: Extend logged info