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 27688 - [looks] Annoying exception when creating a new Java project
Summary: [looks] Annoying exception when creating a new Java project
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-30 17:49 UTC by Petr Jiricka
Modified: 2004-04-19 16:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exception stack trace (9.05 KB, text/plain)
2002-09-30 17:50 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2002-09-30 17:49:01 UTC
1. Create a Java project in directory c:\foo
2. Create a second Java project
3. As Project home, enter c:\foo
4. In the Java Sources panel, press the Add... button
5. In the file selector, expand directory c:\foo

The exception in the attachment will occur.
Comment 1 Petr Jiricka 2002-09-30 17:50:36 UTC
Created attachment 7555 [details]
The exception stack trace
Comment 2 David Konecny 2002-10-03 09:34:05 UTC
Excerpt from exception:
java.lang.ClassCastException:_org.netbeans.api.projects.Project
at_org.netbeans.modules.projects.ui.looks.ProjectSelector$FallbackLook.delegateObject(ProjectSelector.java:422)
at_org.netbeans.spi.looks.ProxyLook$ProxySubstitute.looks(ProxyLook.java:1082)
Comment 3 Milan Kubec 2002-10-09 11:22:02 UTC
Subcomponent changed to looks
Comment 4 Vitezslav Stejskal 2003-08-03 12:30:16 UTC
Seems to be fixed by rewrite for new Looks API.
Comment 5 Jan Becicka 2003-08-21 14:55:14 UTC
Verified
Comment 6 Jan Becicka 2003-11-25 14:20:10 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as CLOSED.