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 187563 - Add Server Window Does Not Open
Summary: Add Server Window Does Not Open
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 187564 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-14 18:15 UTC by TimaG
Modified: 2010-10-04 14:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log as requested (72.89 KB, application/octet-stream)
2010-06-16 19:09 UTC, TimaG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TimaG 2010-06-14 18:15:23 UTC
Product Version = NetBeans IDE 6.9 RC2 (Build 201005312001)
Operating System = Mac OS X version 10.6.3 running on x86_64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279

When you click on Tools, Servers nothing happens.
Comment 1 Peter Pis 2010-06-15 07:49:29 UTC
Can't reproduce on Ubuntu and Mac too. 

What kind of NB distribution have you installed? (Java SE, Java, All, FX ...) Haven't you activated/deactivated some modules in the IDE?
Comment 2 TimaG 2010-06-15 16:03:28 UTC
(In reply to comment #1)
> Can't reproduce on Ubuntu and Mac too. 
> 
> What kind of NB distribution have you installed? (Java SE, Java, All, FX ...)
> Haven't you activated/deactivated some modules in the IDE?

I used the All distribution of netbeans and I have activated the following:

Java ME
Java SE
Base IDE
Java Web and EE
PHP
JavaFX
C/C++
Ruby
Comment 3 Peter Pis 2010-06-16 07:47:39 UTC
Could you please attach messages.log? 

Anyway, could you please try to start NB with fresh user directory?
http://wiki.netbeans.org/FaqAlternateUserdir
Please let me know the result.
Comment 4 Peter Pis 2010-06-16 07:55:18 UTC
Most probably it's related to #187564.
Comment 5 TimaG 2010-06-16 19:09:43 UTC
Created attachment 100143 [details]
messages.log as requested

When i delete the <user dir> and start NetBeans, the server window appears but when i enable any plugin such as PHP, the server window does not appear.
Comment 6 Petr Hejl 2010-09-20 12:55:48 UTC
*** Bug 187564 has been marked as a duplicate of this bug. ***
Comment 7 Petr Hejl 2010-09-21 13:48:22 UTC
This is very strange error: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/enterprise/deploy/shared/ModuleType

Can you still reproduce this issue?
Comment 8 Petr Hejl 2010-09-21 13:49:14 UTC
Can you reproduce it with 6.9 final and/or 6.10 daily build?
Comment 9 Petr Jiricka 2010-09-22 08:42:25 UTC
> This is very strange error: java.lang.ClassFormatError

It looks like the Java EE API "stub" classes are getting on the classpath instead of the regular JSR 88 classes. The stub classes are classes with removed method bodies (hence the ClassFormatError) that can be used to compile against, but must not be used at runtime.
Comment 10 Petr Hejl 2010-09-23 14:07:53 UTC
I see /Library/Java/Extensions/javaee-api-6.0.jar on your boot classpath. I think this is the cause.
Comment 11 TimaG 2010-10-04 14:30:48 UTC
Thanks so much for your help. Deleting the javaee library file from the extensions directory has fixed the problem.

Thanks again.