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.
Code Assistance for a big project (XBMC source for example) at some point cannot parse files further. At some point netbeans log starts being populated with: java.lang.NullPointerException at org.netbeans.modules.cnd.modelimpl.repository.PersistentUtils.readFileSystem(PersistentUtils.java:110) at org.netbeans.modules.cnd.modelimpl.csm.core.AbstractFileBuffer.<init>(AbstractFileBuffer.java:179) at org.netbeans.modules.cnd.modelimpl.csm.core.FileBufferFile.<init>(FileBufferFile.java:199) at org.netbeans.modules.cnd.modelimpl.repository.PersistentUtils.readBuffer(PersistentUtils.java:260) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.<init>(FileImpl.java:1969) at org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.createObject(CsmObjectFactory.java:342) at org.netbeans.modules.cnd.repository.support.AbstractObjectFactory.readSelfPersistent(AbstractObjectFactory.java:78) at org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.read(CsmObjectFactory.java:602) at org.netbeans.modules.cnd.repository.sfs.BufferedRWAccess.read(BufferedRWAccess.java:114) at org.netbeans.modules.cnd.repository.sfs.IndexedStorageFile.read(IndexedStorageFile.java:140) at org.netbeans.modules.cnd.repository.sfs.DoubleFileStorage.read(DoubleFileStorage.java:137) at org.netbeans.modules.cnd.repository.disk.UnitImpl.get(UnitImpl.java:139) at org.netbeans.modules.cnd.repository.disk.DiskRepositoryManager.get(DiskRepositoryManager.java:187) at org.netbeans.modules.cnd.repository.impl.DelegateRepository.get(DelegateRepository.java:107) at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:123) at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:95) at org.netbeans.modules.cnd.modelimpl.uid.UIDUtilities$CachedUID.getObject(UIDUtilities.java:496) at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoCsmObject(UIDCsmConverter.java:111) at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.convertToObject(LazyCsmCollection.java:76) at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.access$400(LazyCsmCollection.java:65) at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.getNextNonNull(LazyCsmCollection.java:300) at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.next(LazyCsmCollection.java:308) at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.checkForRemoved(ProjectBase.java:1287) at org.netbeans.modules.cnd.modelimpl.platform.ExternalUpdateListener.run(ExternalUpdateListener.java:193) at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl$3.run(ModelImpl.java:410) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044) And files not being able to be parsed are excluded from code assistance (.h files mostly), a lot is underlined red. Manually include this files in Code Assistance after project parse has been done doesn't help, links to them are still underlined red. Reparse project doesn't help.
Have you tried tips from http://www.oracle.com/technetwork/articles/servers-storage-dev/studio-ide-tips-1668027.html NB can work with large code bases (Boost, Linux Kernel, Mozilla) if you start it with -J-Xmx2G or more
Yes I did. Tried numerous of different options for startup, several project recreation and code assistance reparse. With the same result. Plus I've tried to add the same project to Linux version of NetBeans. On ARM. With 2Gb memory in total. And it worked like a charm. This is an issue with Mac NetBeans. BTW java is 1.7.0_25
*** This bug has been marked as a duplicate of bug 234264 ***