Product Version: NetBeans IDE 7.3 Beta (Build 201210010205)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b02
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.3beta
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.3beta
- install full IDE (/w ergonomics)
- activate javase by creating maven javase project
- now try to create java web maven project; on settings panel (#3) of project wizard you do not see any server populating server combobox!
Workaround: To make glassfish instance (which was by default registered during installation) visible for this wizard, go to Services window and expand server node. Since then is this instance offered in wizard.
Reassigning to Glassfish for evaluation.
ServerSelectionHelper.initServerModel() from maven.j2ee is using
Deployment.getDefault().getServerInstanceIDs() which most probably returns
BTW: The code is almost identical also for Ant based projects
I'm unable to reproduce this with my current web-main build. But my server was registered using wizard.
I was unable to reproduce this even with fresh 7.3 beta1 and bundled GlassFish.
Product Version = NetBeans IDE 7.3 Beta (Build 201210011125) (#4cd218687d5f)
Operating System = Linux version 2.6.38-8-generic running on amd64
Java; VM; Vendor = 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 1.7.0_03-b04
This seems to be happening randomly and only from time to time. Changing to P4.
If you'll see it again feel free to switch it back to P2.
Tomas, are you able to reproduce this every time with last dev builds?
cannot reproduce with latest dev build.
OK, thank you for response. Think this issue can be considered as resolved now.
Happened to me twice today. Still do not have reliable steps to reproduce.
We can keep this open for some period of time. I'm actually working on some server status checks so this can be checked again after I'll be done.
IS is still happening in last 7.4 dev build? I did a lot of xhanges in server atatus code so there is a chance that it is resolved.
Did you see this with 7.4 dev builds?
did not have time to focus on daily builds yes, feel free to close, I'll eventually reopen.
(In reply to comment #11)
> Did you see this with 7.4 dev builds?
OK, closing as incomplete now. You'll see.
still reproducible; had a full IDE with ergonomics, activated web by creating new maven web project, but no glassfish in combo.
Product Version: NetBeans IDE Dev (Build 201308260001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b42
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
And is there some reliable test-case for debugging?
I'm afraif there is not. I'm suspicious that ergonomics may not activate glassfish module. If you let me know, which module is necessary to be turned on (to populate combobox with GF server), I can investigate if ergonomics turned that module on.
(In reply to TomasKraus from comment #15)
> And is there some reliable test-case for debugging?
There are 3 modules - glassfish.common, glassfish.eecommon and glassfish.javaee.
Minimum to list servers is glassfish.common but all of them must be active to access Java EE features.
*** Bug 236310 has been marked as a duplicate of this bug. ***