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.
Using 200302100100 dev build, there are some problems with the Tomcat plug-in when the user imports settings from NetBeans 3.4.1. The only thing special about my user directory is that I had used 3.4.1 to download the HTTP Monitor module from the NB Update Center. After importing the settings into 3.5, I get the NPE listed below when expanding the Server Registry. Additionally, there will be no Tomcat 4.0 node under Installed Servers. java.lang.NullPointerException at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.i nternalTomcatConfigurationFilesPreparing (Tomcat40Installation.java:512) at org.netbeans.modules.tomcat.tomcat40.Tomcat40ServerInstall. makeInstallation(Tomcat40ServerInstall.java:43) at org.netbeans.modules.tomcat.tomcat40.Tomcat40ServerInstall. restored(Tomcat40ServerInstall.java:31) at org.netbeans.modules.j2ee.impl.ServerRegistryImpl.initPlugi n(ServerRegistryImpl.java:160) at org.netbeans.modules.j2ee.impl.ServerRegistryImpl.initLayer File(ServerRegistryImpl.java:144) at org.netbeans.modules.j2ee.impl.ServerRegistryImpl.setListen er(ServerRegistryImpl.java:168) at org.netbeans.modules.j2ee.impl.ServerRegistryImpl.getDefaul tWebInstance(ServerRegistryImpl.java:332) at org.netbeans.modules.j2ee.ui.ServerRegistryNode.createKeyNo des(ServerRegistryNode.java:123) at org.netbeans.modules.j2ee.ui.ServerRegistryNode$RegistryChi ldren.createNodes(ServerRegistryNode.java:291) at org.openide.nodes.Children$Keys$KE.nodes (Children.java:1911) at org.openide.nodes.ChildrenArray.nodesFor (ChildrenArray.java:131) at org.openide.nodes.Children$Info.nodes (Children.java:1005) at org.openide.nodes.Children.justComputeNodes (Children.java:511) at org.openide.nodes.ChildrenArray.nodes (ChildrenArray.java:73) at org.openide.nodes.Children.computeNodes (Children.java:426) at org.openide.nodes.Children.getNodes (Children.java:319) at org.openide.nodes.Children.findChild (Children.java:265) at org.openide.nodes.Children.getNodes (Children.java:370) at org.openide.nodes.FilterNode$Children.getNodes (FilterNode.java:1139) at org.openide.nodes.FilterNode$Children.getNodes (FilterNode.java:1139) at org.openide.nodes.FilterNode$Children.getNodes (FilterNode.java:1139) at org.openide.nodes.FilterNode$Children.getNodes (FilterNode.java:1139) at org.openide.explorer.view.TreeView$3.run (TreeView.java:702) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:328) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:667)
*** This issue has been marked as a duplicate of 29199 ***
Upon further investigation, I don't think this is a exactly a duplicate of 29199. I'm reopening this one as it needs to be fixed independently. 29199 specifies a TargetInvocationException, but this one is an NPE and the inavailability of the Tomcat 4.0 server. I just tried the following: 1. Install NetBeans 3.4.1. 2. Download monitor.nbm from Update Center. 3. Install NetBeans 3.5 dev build (200302220100, in my case) 4. Start IDE and import settings from 3.4.1 user directory. 5. Expand Server Registry node. 6. NPE is given as indicated in this bug. 7. Expand Installed Server node. 8. No Tomcat 4.0 node is available.
Assigning to Milan, as he is dealing with the other related bug.
The bug should be fixed from Netbeans_dev 200302210100. By the way is that number of build you wrote (200302220100) correct ? The date when you wrote the comment was 02/20/2003.
My comment was incorrect. The build number I was using for verification was 200302200100 (and unfortunately, I put the wrong number in all bugs I verified). I will try with 200302210100 in the morning
Verified in NetBeans dev build 200302260100.