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.5 Beta (Build 200808111757) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_05-b13-52, Java(TM) SE Runtime Environment, 1.6.0_05-b13-120 OS: Mac OS X, 10.5.5, x86_64 User Comments: simondoran: I was importing an Eclipse project containing sources that were not stored in the Eclipse workspace, but on /usr/local. GUEST: Importing a project from eclipse simondoran: I was importing an Eclipse project containing sources that were not stored in the Eclipse workspace, but on /usr/local. Stacktrace: java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject) at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:94) at org.netbeans.modules.projectimport.eclipse.core.spi.ProjectFactorySupport.areSourceRootsOwned(ProjectFactorySupport.java:665) at org.netbeans.modules.projectimport.eclipse.j2se.J2SEProjectFactory.createProject(J2SEProjectFactory.java:89) at org.netbeans.modules.projectimport.eclipse.core.Importer.importProjectStage1(Importer.java:230) at org.netbeans.modules.projectimport.eclipse.core.Importer.access$600(Importer.java:69) at org.netbeans.modules.projectimport.eclipse.core.Importer$3.run(Importer.java:178)
Created attachment 70489 [details] stacktrace
eclipse importer problem.
In latest sources the exception is coming from ProjectFactorySupport.areSourceRootsOwned(ProjectFactorySupport.java:679)
core-main #0b63c54da0e7
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0b63c54da0e7 User: Jesse Glick <jglick@netbeans.org> Log: #148256: NPE.
Hard to verify but could be backported.
v.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/bc80bb330066
reviewed in 67_fixes