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 6.7.1 (Build 200907230233) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, amd64 User Comments: GUEST: Trying to open a maven EAR project by right clicking on it and selecting "open module" in the parent project triggered this error. smvda: Problem, create webservices client. Stacktrace: java.lang.NullPointerException at org.netbeans.core.startup.layers.ArchiveURLMapper.getURL(ArchiveURLMapper.java:82) at org.openide.filesystems.URLMapper.findURL(URLMapper.java:136) at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager.startListening(DeployOnSaveManager.java:169) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.enableCompileOnSaveSupport(Deployment.java:279) at org.netbeans.modules.maven.j2ee.POHImpl.refreshAppServerAssignment(POHImpl.java:208) at org.netbeans.modules.maven.j2ee.POHImpl$1.run(POHImpl.java:105)
Created attachment 86455 [details] stacktrace
This issue already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153843
Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06 OS: Windows XP, 5.1, x86 User Comments: Trying to open an EJB Maven Project. Project was previously opened, but closed for some reason. Stacktrace: java.lang.NullPointerException at org.netbeans.core.startup.layers.ArchiveURLMapper.getURL(ArchiveURLMapper.java:82) at org.openide.filesystems.URLMapper.findURL(URLMapper.java:136) at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager.startListening(DeployOnSaveManager.java:169) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.enableCompileOnSaveSupport(Deployment.java:279) at org.netbeans.modules.maven.j2ee.POHImpl.refreshAppServerAssignment(POHImpl.java:208) at org.netbeans.modules.maven.j2ee.POHImpl.projectOpened(POHImpl.java:115)
Created attachment 86492 [details] stacktrace
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153843
URLMapper is getting a null FileObject from jee module, please evaluate
Is this from j2eeserver or from Maven?
Looks like there are some null FileObjects coming from provider.getSourceFileMap().getSourceRoots() in maven. Is this intended?
http://hg.netbeans.org/main/rev/cd1d1d5672d2
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cd1d1d5672d2 User: Milos Kleint <mkleint@netbeans.org> Log: #170624 rework getSoureRoots methods, make sure no null values slip in..
*** Issue 166047 has been marked as a duplicate of this issue. ***