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 158237 - ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to org.netbeans.modules.properties.PropertiesDataObject
Summary: ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to o...
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL: http://statistics.netbeans.org/except...
Keywords:
: 158440 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-09 21:56 UTC by Exceptions Reporter
Modified: 2009-02-19 22:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 145821


Attachments
stacktrace (4.10 KB, text/plain)
2009-02-09 21:56 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2009-02-09 21:56:41 UTC
Build: NetBeans IDE Dev (Build 200902011401)
VM: Java HotSpot(TM) Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments:
stefan79: Tried to open a Property-File.

GUEST: activating java ee plugin

mkleint: searched for a token in project sources, trying to open the returned .properties file



Stacktrace: 
java.lang.ClassCastException: org.openide.loaders.DefaultDataObject cannot be cast to org.netbeans.modules.properties.PropertiesDataObject
        at org.netbeans.modules.properties.MultiBundleStructure.getNthEntry(MultiBundleStructure.java:154)
        at org.netbeans.modules.properties.PropertiesOpen$Environment.addListeners(PropertiesOpen.java:411)
        at org.netbeans.modules.properties.PropertiesOpen$Environment.<init>(PropertiesOpen.java:403)
        at org.netbeans.modules.properties.PropertiesOpen.<init>(PropertiesOpen.java:144)
        at org.netbeans.modules.properties.MultiBundleStructure.getOpenSupport(MultiBundleStructure.java:277)
        at org.netbeans.modules.properties.PropertiesDataObject.getOpenSupport(PropertiesDataObject.java:264)
Comment 1 Exceptions Reporter 2009-02-09 21:56:46 UTC
Created attachment 76759 [details]
stacktrace
Comment 2 Alexey Butenko 2009-02-10 09:06:29 UTC
It is fixed already,
use later build
Comment 3 Alexey Butenko 2009-02-12 10:39:00 UTC
*** Issue 158440 has been marked as a duplicate of this issue. ***
Comment 4 Lukas Jungmann 2009-02-12 16:28:21 UTC
v.