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.
Build: NetBeans IDE 7.3.1 (Build 201306052037) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16 OS: Windows 7 User Comments: GUEST: I was creating a new Maven Application Client project template, created with Maven Archetype Plugin. I was using de wizard, step #3 mdeggersbeans: File->New Project->Maven Project->Web Application GUEST: ???????? ????????? ??? ??????? ???????? maven EJB ??????? Stacktrace: java.lang.NullPointerException at org.netbeans.modules.maven.j2ee.ui.wizard.ServerSelectionHelper.storeServerSettings(ServerSelectionHelper.java:231) at org.netbeans.modules.maven.j2ee.ui.wizard.EELevelPanelVisual.storeSettings(EELevelPanelVisual.java:73) at org.netbeans.modules.maven.j2ee.ui.wizard.EELevelPanel.storeSettings(EELevelPanel.java:73) at org.netbeans.modules.maven.j2ee.ui.wizard.EELevelPanel.storeSettings(EELevelPanel.java:47) at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:849) at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:820)
Created attachment 136788 [details] stacktrace
This only appears to occur on Windows (running Windows 7 Home Premium on this platform). The exact same steps (File->New Project->Maven->Web Application) runs to completion on Fedoraa 19 with the same version of NetBeans and JDK. Also, this process fails on Windows 7 for NetBeans 7.3. Switching to JDK 1.6.0_45 does not throw an exception, but the second step of the wizard is completely blank. Sadly, this makes NetBeans on Windows 7 more or less completely useless.
Fixed in: web-main #d61763d4e438
Integrated into 'main-silver', will be available in build *201307100049* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d61763d4e438 User: Martin Janicek <mjanicek@netbeans.org> Log: #232347 - NullPointerException at org.netbeans.modules.maven.j2ee.ui.wizard.ServerSelectionHelper.storeServerSettings
Is this going to make it in an update any time soon?
Not fixed. I just posted a bug against the 07/15/2013 build.
Thanks for pointing it out! Should be fixed in web-main #7cf47dccc544 Please wait a few days (the revision won't be a part of daily build immediately) and then try it again.
Integrated into 'main-silver', will be available in build *201307162300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7cf47dccc544 User: Martin Janicek <mjanicek@netbeans.org> Log: #232347 - NullPointerException at org.netbeans.modules.maven.j2ee.ui.wizard.ServerSelectionHelper.storeServerSettings
Is there any work around ? How am I supposed to generate a Maven web project using NetBeans now ? This is an absolute show stopper as it makes it impossible to develop Maven-based web applications using NB on Windows 7. Set priority to P1 and reopened because we cannot wait for NB 7.4 to have this fixed; Please provide a patch for this as soon as possible.
(In reply to giorgio42 from comment #9) > Is there any work around ? What version of NB are you developing with? This issue were already fixed and you shouldn't be able to reproduce it using latest daily builds [1]. If you are still able to reproduce the problem even with daily build, please attach new stacktrace because the original one is obsolete (ServerSelectionHelper:231 contains comment now). Thanks in advance [1] http://bits.netbeans.org/dev/nightly/2013-08-15_23-00-49/
The current work-around that I use when working with 7.3.1 is to create a project with: File->New Project->Maven->Project from Archetype I then search for jee5 (if I'm developing a 2.5 servlet application), and proceed with the wizard. It's not quite as nice as New Web Application wizard (have to search for the correct archetype), but it's workable. It does appear to be fixed in the nightly builds, which I'm using to debug a servlet / javascript application. Hope this helps.
(In reply to mdeggersbeans from comment #11) > It does appear to be fixed in the > nightly builds, which I'm using to debug a servlet / javascript application. In that case, could you attach new stacktrace please? If it does appear in latest builds then it definitely needs to be re-evaluated but the original reports are obsolete now.
(In reply to Martin Janicek from comment #12) > (In reply to mdeggersbeans from comment #11) > > It does appear to be fixed in the > > nightly builds, which I'm using to debug a servlet / javascript application. > > In that case, could you attach new stacktrace please? If it does appear in > latest builds then it definitely needs to be re-evaluated but the original > reports are obsolete now. Sorry, I should be a little more careful with my wording (not enough coffee yet). The wizard works as expected on 7.4 nightly builds. I'm using 201308151015 on Windows 7 64 bit with JRE/JDK 1.7.0_25 at the moment. The Maven Web Application wizard works properly with this build. The only issue I have right now is that NetBeans doesn't understand which Tomcat servers support which version of the servlet specification. I'll open a bug on this.
(In reply to mdeggersbeans from comment #13) > The only issue I have right now is that NetBeans doesn't understand which > Tomcat servers support which version of the servlet specification. I'll open > a bug on this. Ye, it would be really good to open a new bug about this. I'm not aware of such issue so without BZ ticket I hardly can fix anything related. Thanks! ;)