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 227731 - Broken classpath due to use of web services in glassfish
Summary: Broken classpath due to use of web services in glassfish
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 15:42 UTC by Exceptions Reporter
Modified: 2013-03-25 10:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185551


Attachments
stacktrace (3.09 KB, text/plain)
2013-03-20 15:42 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-20 15:42:53 UTC
This bug was originally marked as duplicate of bug 211962, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: When right-clicking on a service under Web Service References folder. This worked in NB 6.9

GUEST: I was right-clicking the .wsdl archive




Stacktrace: 
java.lang.NoClassDefFoundError: org/openide/util/actions/CallbackSystemAction$DelegateAction
   at org.openide.util.actions.CallbackSystemAction.createContextAwareInstance(CallbackSystemAction.java:284)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2830)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:2926)
   at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1058)
   at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1555)
   at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:189)
Comment 1 Exceptions Reporter 2013-03-20 15:42:55 UTC
Created attachment 132854 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-03-21 08:59:08 UTC
Looks like our old problem with broken glassfish plugins destroying NetBeans IDE classpath is back. The UI gestures from the 

http://statistics.netbeans.org/exceptions/exception.do?id=666000

log indicate the user used USG_WEBSVC_WIZARD. Making P1.
Comment 3 TomasKraus 2013-03-21 11:36:14 UTC
Unfortunately ...
INFO [org.glassfish.tools.ide]: [GlassFish Server 3.1.2] Port check could not connect to localhost:4848: Connection refused: connect

This is still our old friend GlassFish 3.1.2.

Another log says WARNING [glassfish-eecommon]: Невозможно идентифицировать версию целевого сервера приложений.  Использование значения 'GlassFish Server 3.0' для файлов дескрипторов.
What is useless again. 3.0 selected because of version was not recognized - looks like some RU locale related issue.

I wanted to make using of GlassFish 3.1.2 impossible with NetBeans 7.3 but it was refused by NetBeans team. So this will never end.
Comment 4 TomasKraus 2013-03-21 12:01:01 UTC
Anyway, I added INFO level log into GlassfishInstance to log version + display name of every single GlassFish instance stored in NetBeans:

        LOGGER.log(Level.INFO,
                "Created GlassFish Server {0} instance with name {1}",
                new String[] {version != null ? version.toString() : "null",
                    instance != null ? instance.getName() : "null"});

INFO [glassfish]: Created GlassFish Server 3.1.2.2 instance with name GlassFish 3
Comment 5 Quality Engineering 2013-03-23 01:56:46 UTC
Integrated into 'main-golden', will be available in build *201303222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0aa1c0e84491
User: Tomas Kraus <TomasKraus@netbeans.org>
Log: #227731 - Log GlassfishInstance creation with version and display name.
Comment 6 TomasKraus 2013-03-25 10:18:38 UTC
We can't do more. This is bug in GlassFish 3.1.2. The only solution is to disable usage of GlassFish 3.1.2 with web services.