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 222856 - Undetemined popup appears when starting the IDE
Summary: Undetemined popup appears when starting the IDE
Status: RESOLVED DUPLICATE of bug 224482
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 20:00 UTC by maboc
Modified: 2013-04-03 14:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Snapshot/screenshot of the problem (110.47 KB, image/png)
2012-11-27 20:24 UTC, maboc
Details
Output of jstack (14.83 KB, text/plain)
2012-11-27 21:53 UTC, maboc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maboc 2012-11-27 20:00:13 UTC
Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Operating System = Linux version 2.6.43.8-1.fc15.i686 running on i386
Java; VM; Vendor = 1.6.0_25
Runtime = Java HotSpot(TM) Client VM 20.0-b11


A fresh NB 7.3 Beta 2 install
After the install (which was fine) the IDE was started (by me).

After a while a popup appears asking for username and password. No clue whatfor this popup is.
The tomcat admin account and it's password seem to work.

However....I'm not sure what the popup was about.
Comment 1 maboc 2012-11-27 20:24:31 UTC
Created attachment 128480 [details]
Snapshot/screenshot of the problem

Just a picture to hopefully be more clear.
Comment 2 Marian Mirilovic 2012-11-27 21:43:17 UTC
I have no idea ... could you generate thread dump when the dialog appears, attach it here and reopen ? Thanks in advance.
http://wiki.netbeans.org/GenerateThreadDump
Comment 3 maboc 2012-11-27 21:53:49 UTC
Created attachment 128484 [details]
Output of jstack

As per your request: a threaddump. (created with jstack)

As I look into the threaddump I would think that it's a/the glassfish admin username/pwd netbeans is asking for.

If the above assumption is right then it would however be nice if that's indicated in the popup.
Comment 4 maboc 2012-12-12 09:53:18 UTC
hmmm...forgot to reopen after I attached the threaddump.

Btw...I found out that NB is asking for tomcat username/password and glassfish username/password.

Both popups don't show any information.
Comment 5 TomasKraus 2012-12-18 12:44:31 UTC
I know about popups in GlassFish plugin. We aready did some work to remove them but it was not completed yet.

I would like to keep it as it is in 7.3 because there is not enough time to rewrite significant part of the plugin. I already started doing this for next release which won't have popups asking for user and password any more.

Popups are shown by java.net.Authenticator which was used to authenticate internal HTTP(S) admin request in GlassFish plugin.
New code in GF Tooling SDK library allows to pass username and password stored from GF registration wizard.
Comment 6 TomasKraus 2013-03-11 16:48:44 UTC
this should already by fixed in http://bits.netbeans.org/dev/nightly/latest/ where 100% of admin interface calls are switched to GlassFish Tooling Library.

But this fix won't be part of 7.3.1 release.
Comment 7 TomasKraus 2013-04-03 14:40:02 UTC

*** This bug has been marked as a duplicate of bug 224482 ***