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

Summary: ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to org.openide.loaders.DataFolder
Product: platform Reporter: aldobrucale <aldobrucale>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: aldobrucale, ripeel, tdnorb
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 170888
Attachments: stacktrace

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

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

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

Layer.xml deleted