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 121379 - CCE java.lang.Integer cannot be cast to j2seproject.ui.wizards.NewJ2SEProjectWizardIterator$WizardType
Summary: CCE java.lang.Integer cannot be cast to j2seproject.ui.wizards.NewJ2SEProject...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-11-07 15:26 UTC by Lukas Hasik
Modified: 2007-12-07 16:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (5.39 KB, text/plain)
2007-11-07 15:27 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2007-11-07 15:26:27 UTC
Product Version: NetBeans IDE Dev (Build 200711070000)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b02
System: Linux version 2.6.20-15-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/tester/.netbeans/dev

-the CCE appears when I want to create new project - Java > Java Class Library
-I'm using mobility distribution on ubuntu 7.04

SEVERE [global]
java.lang.ClassCastException: java.lang.Integer cannot be cast to
org.netbeans.modules.java.j2seproject.ui.wizards.NewJ2SEProjectWizardIterator$WizardType
        at
org.netbeans.modules.java.j2seproject.ui.wizards.PanelConfigureProjectVisual.read(PanelConfigureProjectVisual.java:109)
        at
org.netbeans.modules.java.j2seproject.ui.wizards.PanelConfigureProject.readSettings(PanelConfigureProject.java:96)
        at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:745)
Comment 1 Lukas Hasik 2007-11-07 15:27:30 UTC
Created attachment 52662 [details]
stacktrace
Comment 2 Lukas Hasik 2007-11-07 15:29:11 UTC
unable to reproduce again. Seems to be random -> decreasing priority
Comment 3 Tomas Zezula 2007-11-07 16:27:16 UTC
"wizard-type" property was reused by someone else with different type, probably j2me since I ma not able to reproduce it
basic IDE.

Checking in org/netbeans/modules/java/j2seproject/ui/wizards/PanelConfigureProjectVisual.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelConfigureProjectVisual.java,v  <-- 
PanelConfigureProjectVisual.java
new revision: 1.20; previous revision: 1.19
done