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 105271 - ClassCastException in testSetACPrivateProperties
Summary: ClassCastException in testSetACPrivateProperties
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords: TEST
: 103899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-31 14:14 UTC by Tomas Mysik
Modified: 2007-06-29 16:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2007-05-31 14:14:21 UTC
java.lang.ClassCastException: 
org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl cannot 
be cast to 
org.netbeans.modules.j2ee.earproject.EarProject$ProjectOpenedHookImpl
        at 
org.netbeans.modules.j2ee.earproject.EarProjectTest.openProject(EarProjectTest.java:188)
        at 
org.netbeans.modules.j2ee.earproject.ui.customizer.EarProjectPropertiesTest.testSetACPrivateProperties(EarProjectPropertiesTest.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 1 Tomas Mysik 2007-06-29 15:37:26 UTC
*** Issue 103899 has been marked as a duplicate of this issue. ***
Comment 2 Tomas Mysik 2007-06-29 16:22:03 UTC
Fixed.

Checking in nbproject/project.xml;
/cvs/j2ee/earproject/nbproject/project.xml,v  <--  project.xml
new revision: 1.31; previous revision: 1.30
done
Checking in test/unit/src/org/netbeans/modules/j2ee/earproject/EarProjectTest.java;
/cvs/j2ee/earproject/test/unit/src/org/netbeans/modules/j2ee/earproject/EarProjectTest.java,v  <--  
EarProjectTest.java
new revision: 1.5; previous revision: 1.4
done