Environment : ivybeans trunk, netbeans NetBeans IDE Dev (Build 201101120000) ,
OS Linux version 2.6.34.4-0.1-desktop running on i386; UTF-8; ru_RU, jdk
1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
Description :
a variable 'fo' (type of FileObject) at
ScopedClassPathImpl.getResources(ScopedClassPathImpl.java:69) is null, is cause
exception
stack-trace:
java.lang.NullPointerException
at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.fileObject2URI(SimpleFileOwnerQueryImplementation.java:246)
at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.markExternalOwnerTransient(SimpleFileOwnerQueryImplementation.java:254)
at org.netbeans.api.project.FileOwnerQuery.markExternalOwner(FileOwnerQuery.java:205)
at com.googlecode.ivybeans.module.classpath.ScopedClassPathImpl.getResources(ScopedClassPathImpl.java:69)
at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:311)
at org.netbeans.spi.java.project.support.ClassPathProviderMerger$ProxyFilteringCPI.getRoots(ClassPathProviderMerger.java:286)
at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:319)
at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:260)
at org.netbeans.api.java.classpath.ClassPath.findOwnerRoot(ClassPath.java:492)
at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.computePersistentFile(TaskCache.java:433)
at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.getErrors(TaskCache.java:135)
at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.isInError(TaskCache.java:353)
at org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator$1.run(ErrorAnnotator.java:315)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1465)
at org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator.enqueue(ErrorAnnotator.java:259)
at org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator.updateInError(ErrorAnnotator.java:221)
at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.doRefresh(TaskCache.java:477)
at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:466)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:1741)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:2110)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:2298)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:2158)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:3822)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:3761)
at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:610)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[catch] at java.lang.Thread.run(Thread.java:662)
Original issue reported on code.google.com by radio...@ya.ru on 14 Jan 2011 at 1:28
Original issue reported on code.google.com by
radio...@ya.ru
on 14 Jan 2011 at 1:28