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.
Summary: | Add Server Window Does Not Open | ||
---|---|---|---|
Product: | serverplugins | Reporter: | TimaG |
Component: | Infrastructure | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | pjiricka, ppis |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages.log as requested |
Description
TimaG
2010-06-14 18:15:23 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? (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 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. Most probably it's related to #187564. 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.
*** Bug 187564 has been marked as a duplicate of this bug. *** 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? Can you reproduce it with 6.9 final and/or 6.10 daily build? > 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.
I see /Library/Java/Extensions/javaee-api-6.0.jar on your boot classpath. I think this is the cause. Thanks so much for your help. Deleting the javaee library file from the extensions directory has fixed the problem. Thanks again. |