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 40840 - Importing settings from nb3.5.x into arrow results in NPE.
Summary: Importing settings from nb3.5.x into arrow results in NPE.
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-08 20:47 UTC by Unknown
Modified: 2007-04-01 03:16 UTC (History)
2 users (show)

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 Unknown 2004-03-08 20:47:00 UTC
The import feature fails while importing from nb3.5.x.

After importing settings from a netbeans3.5.1
installation, the IDE threw the following exception:

java.lang.NullPointerException
    at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.noBootStrapJar(Tomcat40Installation.java:396)
     at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.createInternalInstallation(Tomcat40Installation.java:453)
     at
org.netbeans.modules.tomcat.tomcat40.Tomcat40ServerInstall.makeInstallation(Tomcat40ServerInstall.java:46)
     at
org.netbeans.modules.tomcat.tomcat40.Tomcat40ServerInstall.restored(Tomcat40ServerInstall.java:31)
     at
org.netbeans.modules.j2ee.impl.ServerRegistryImpl.initPlugin(ServerRegistryImpl.java:159)
     at
org.netbeans.modules.j2ee.impl.ServerRegistryImpl.initLayerFile(ServerRegistryImpl.java:143)
     at
org.netbeans.modules.j2ee.impl.ServerRegistryImpl.getServers(ServerRegistryImpl.java:373)
     at
org.netbeans.modules.j2ee.impl.ServerRegistryImpl.getAppServers(ServerRegistryImpl.java:279)
     at
com.sun.forte4j.j2ee.lib.util.AppServerSupport.<init>(AppServerSupport.java:88)
     at
com.sun.forte4j.j2ee.ejbmodule.EJBModuleAppSrvs.<init>(EJBModuleAppSrvs.java:63)
     at
com.sun.forte4j.j2ee.ejbmodule.EJBModuleDataObject.repairEJBModule(EJBModuleDataObject.java:611)
     at
com.sun.forte4j.j2ee.ejbmodule.EJBModuleDataObject.init(EJBModuleDataObject.java:495)
     at
com.sun.forte4j.j2ee.ejbmodule.EJBModuleDataObject.<init>(EJBModuleDataObject.java:317)
     at
com.sun.forte4j.j2ee.ejbmodule.EJBModuleDataLoader.createMultiObject(EJBModuleDataLoader.java:75)
     at
org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:73)
     at
org.openide.loaders.DataLoader.findDataObject(DataLoader.java:233)
     at
org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:360)
     at
org.openide.loaders.FolderList.createBoth(FolderList.java:653)
     at
org.openide.loaders.FolderList.getObjects(FolderList.java:464)
     at
org.openide.loaders.FolderList.access$200(FolderList.java:50)
     at
org.openide.loaders.FolderList$ListTask.run(FolderList.java:829)
     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:670)

In one instance, the welcome page opened in its
own window and also started netscape. In another
instance, the welcome page did not appear at all.
The exception itself is always reproducible.
Comment 1 Marian Mirilovic 2004-03-08 21:08:12 UTC
NPE from tomcat .....
Comment 2 Milan Kuchtiak 2004-08-13 11:57:37 UTC
The issue isn't relevant to actual code base.
Tomcat4 has been replaced by Tomcat5
Comment 3 Jaroslav Pospisil 2006-02-28 13:03:37 UTC
VERIFIED