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 204348 - Missing platform when existing project is opened with ergonomics=on
Summary: Missing platform when existing project is opened with ergonomics=on
Status: RESOLVED DUPLICATE of bug 202479
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 01:10 UTC by Masaki Katakai
Modified: 2011-10-31 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (45.71 KB, image/jpeg)
2011-10-28 01:10 UTC, Masaki Katakai
Details
Java SE project created on 7.0.1 (13.26 KB, application/zip)
2011-10-28 01:13 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2011-10-28 01:10:52 UTC
Created attachment 112514 [details]
screenshot

Product Version: NetBeans IDE Dev (Build 201110270600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: SunOS version 5.11 running on x86; ISO646-US; en (nb)

Just after NetBeans is started and ergonomics=on, I opened
existing project created by NetBeans 7.0.1 but missing
platform error happens.

It seems that it happens only when ergonomics is ON and
1st time when I open the existing project before Java SE
feature is enabled.

When I tried to create a new project before opening
Java SE project, it does not happens.

Here are the steps:
1. Prepare NetBeans 7.0.1 project (I'll attach an example - default Java project)
2. Clean netbeans directory
3. Start NetBeans 7.1 with ergonomics=on
   I downloaded zip file including all features
4. Try to open the NetBeans 7.0.1 project
5. Error mark is displayed on the project
6. Open project window, I notice "Missing Platform: default_platform"
   See screenshot in attachment

7. Close NetBeans and start again
8. The error disappeared
9. Close NetBeans

10. Clean netbeans directory
11. Start NetBeans 7.1 with ergonomics=on
12. Create a new java project
    Now project is created properly without such error
14. Open NetBeans 7.0.1 project
    This time, the project is loaded properly without such error
Comment 1 Masaki Katakai 2011-10-28 01:13:07 UTC
Created attachment 112515 [details]
Java SE project created on 7.0.1
Comment 2 Tomas Zezula 2011-10-31 09:31:08 UTC
Please try it with a new build, it's a duplicate of issue #202479.
I've tried to workaround the ergonomics issue by delaying the initialization, but maybe the layer merge is not done. If you are able to reproduce it with a new build (I am not able to reproduce it on Mac) please reopen the issue #202479.
Thanks very much.

*** This bug has been marked as a duplicate of bug 202479 ***