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 218124 - Listing applications does not work for GF 4
Summary: Listing applications does not work for GF 4
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 11:21 UTC by Petr Jiricka
Modified: 2013-03-11 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-09-11 11:21:12 UTC
1. Register GF 4 dev build in NetBeans
2. Create and deploy an application to this server
3. Under the GlassFish node in the Services tab, expand Applications

=> Nothing will be listed, and there is an exception in the IDE log file:


INFO [glassfish]: org.glassfish.tools.ide.admin.CommandException: Invalid component item
org.glassfish.tools.ide.admin.CommandException: Invalid component item
	at org.glassfish.tools.ide.utils.ServerUtils.addComponentToMap(ServerUtils.java:557)
	at org.glassfish.tools.ide.admin.RunnerHttpListComponents.processResponse(RunnerHttpListComponents.java:120)
	at org.glassfish.tools.ide.admin.Runner.call(Runner.java:598)
	at org.glassfish.tools.ide.admin.RunnerHttp.call(RunnerHttp.java:66)
	at org.glassfish.tools.ide.admin.Runner.call(Runner.java:70)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Caused: java.util.concurrent.ExecutionException
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
[catch] at org.netbeans.modules.glassfish.common.CommandRunner.getApplications(CommandRunner.java:216)
	at org.netbeans.modules.glassfish.common.nodes.Hk2ApplicationsChildren$1.run(Hk2ApplicationsChildren.java:93)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
Comment 1 TomasKraus 2012-09-14 10:43:14 UTC
Well, it's GF v3 plugin so nobody expected that someone will use it with v4. :)
I'll check how we will support GFv4. I would prefer to switch to newly developed cloud plugin but final decision is not on me.
Comment 2 TomasKraus 2013-03-11 16:39:51 UTC
This was already fixed.

changeset:   246583:305e69b2ad57
branch:      javaee7
summary:     Bug# 225275 - Response from list-applications commands
             must be URL decoded.