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 156222 - Cannot open j2se project
Summary: Cannot open j2se project
Status: CLOSED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords: JDK_SPECIFIC
: 156221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-02 09:48 UTC by Jiri Prox
Modified: 2011-06-09 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages log (293.68 KB, text/plain)
2009-01-02 10:51 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2009-01-02 09:48:32 UTC
Product Version         = NetBeans IDE Dev (Build 20081231074330)
  Operating System        = Linux version 2.6.22-16-generic running on i386
  Java; VM; Vendor        = 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_03-b05
  Java Home               = /usr/lib/jvm/java-6-sun-1.6.0.03/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory          = /home/jp159440

J2se project cannot be opened. The warning dialog is periodically shown and ide is unusable. 

Steps to reproduce:
1) start IDE with fresh userdir
2) open J2se project
-> warning is shown
Comment 1 Jiri Prox 2009-01-02 09:49:51 UTC
*** Issue 156221 has been marked as a duplicate of this issue. ***
Comment 2 Jiri Prox 2009-01-02 10:51:20 UTC
Created attachment 75405 [details]
messages log
Comment 3 Jiri Prox 2009-01-02 10:55:39 UTC
Seems to be jdk specific. I can reproduce it with 1.6.0_03 but not with 1.6.0_11
Comment 4 Pavel Flaska 2009-01-02 13:46:59 UTC
It is not reproducible on my machine even with specified JDK. We investigate it together with Jirka.
Comment 5 Jaroslav Tulach 2009-01-04 14:24:25 UTC
I guess this is the root cause:

/space/builds/netbeans-dev-4715/java2/modules/org-netbeans-api-debugger-jpda.jar: Dependency failed on package 
com.sun.jdi[VirtualMachineManager]
	at org.netbeans.ModuleManager.enable(ModuleManager.java:823)

I just do not know why package com.sun.jdi is missing (if it is missing). Are you running on JDK? I see: 

/usr/lib/jvm/java-6-sun-1.6.0.03/jre

Try --jdkhome /usr/lib/jvm/java-6-sun-1.6.0.03/ it might help.
Comment 6 Jiri Prox 2009-01-06 09:22:37 UTC
I've reinstalled JDK and the problem is no more reproducible -> closing as invalid,
sorry for the fake alarm
Comment 7 Jaroslav Tulach 2009-01-12 07:43:29 UTC
*** Issue 156548 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2011-06-09 09:57:07 UTC
v/c