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 271420 - ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to org.openide.loaders.DataFolder
Summary: ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to o...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 10:10 UTC by aldobrucale
Modified: 2017-09-11 21:26 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170888


Attachments
stacktrace (5.05 KB, text/plain)
2017-09-01 10:10 UTC, aldobrucale
Details
stacktrace (3.87 KB, text/plain)
2017-09-01 10:22 UTC, aldobrucale
Details
stacktrace (6.98 KB, text/plain)
2017-09-11 21:26 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2017-09-01 10:10:22 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.144-b01, Java(TM) SE Runtime Environment, 1.8.0_144-b01
OS: Linux

User Comments:
tdnorb: Attempting to create a layers.xml in a NBM Suite project

GUEST: Please Help me

aldobrucale: The source tree had been modified externally by git

GUEST: I do not know the way to reproduce, I think it happened while running a Grunt build




Stacktrace: 
java.lang.ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to org.openide.loaders.DataFolder
   at org.openide.loaders.DataObjectPool.deregister(DataObjectPool.java:860)
   at org.openide.loaders.DataObjectPool.access$900(DataObjectPool.java:60)
   at org.openide.loaders.DataObjectPool$Item.deregister(DataObjectPool.java:1000)
   at org.openide.loaders.DataObject.dispose(DataObject.java:230)
   at org.openide.loaders.DataObject.markInvalid0(DataObject.java:273)
   at org.openide.loaders.MultiDataObject.notifyFileDeleted(MultiDataObject.java:1442)
Comment 1 aldobrucale 2017-09-01 10:10:25 UTC
Created attachment 165070 [details]
stacktrace
Comment 2 aldobrucale 2017-09-01 10:22:06 UTC
Created attachment 165071 [details]
stacktrace

Clean and build a platform app project
Comment 3 Exceptions Reporter 2017-09-11 21:26:20 UTC
Created attachment 165114 [details]
stacktrace

Layer.xml deleted