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 235489 - Improper error message when debugging web application on GlassFish 4
Summary: Improper error message when debugging web application on GlassFish 4
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-04 10:10 UTC by Petr Jiricka
Modified: 2013-09-11 14:45 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 2013-09-04 10:10:53 UTC
Product Version: NetBeans IDE Dev (Build web-main-11529-on-20130904)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)


1. Start IDE with an empty userdir, zip build with no server registered
2. Create a Java EE application, in the process register GlassFish 4 and use it as the target server
3. Debug this application

=> Popup dialog appears in the IDE saying "Use port 9009 to attach the debugger to the GlassFish instance. [Ok]" However, debugging seems to work fine.

This only happens to me the first time, when I do that next time no message appears.
Comment 1 Petr Jiricka 2013-09-04 10:22:45 UTC
The same scenario works fine with Tomcat, so the problem seems to be on the GlassFish side.
Comment 2 TomasKraus 2013-09-04 11:23:41 UTC
I know about this popup showing up for a long time but I never considered it as a bug. And it was never reported as a problem by users.

This popup allows you to change default debug port when used for the first time (e.g. debug port value is being initialized). And it only happens in a situation when there is no debug port stored in server properties.

So do you really consider this as a P2 bug? Looking at the code and the way how it was made it is implemented feature that is there for years.
Comment 3 Petr Jiricka 2013-09-04 11:44:56 UTC
Ok, I understand now. In that case I agree this is not P2. I still think the message is superfluous and confusing, and should be removed.
Comment 4 TomasKraus 2013-09-04 11:47:11 UTC
OK, will remove it.
Comment 5 TomasKraus 2013-09-11 13:52:55 UTC
Checked into web-main:
----------------------
changeset:   263552:7b4987104477
summary:     #235489 -  Improper error message when debugging web
             application on GlassFish removed