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 270161

Summary: NullPointerException at org.netbeans.modules.cnd.repository.storage.Storage.getFileName
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code ModelAssignee: Maria Tishkova <mromashova>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228501
Attachments: stacktrace

Description Exceptions Reporter 2017-03-22 08:01:26 UTC
This bug was originally marked as duplicate of bug 243240, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: Tried to do refactoring.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.repository.storage.Storage.getFileName(Storage.java:577)
   at org.netbeans.modules.cnd.repository.storage.StorageManager.getFileNameByIdx(StorageManager.java:261)
   at org.netbeans.modules.cnd.repository.RepositoryImpl.getFileNameById(RepositoryImpl.java:291)
   at org.netbeans.modules.cnd.repository.api.Repository.getFileNameById(Repository.java:120)
   at org.netbeans.modules.cnd.modelimpl.repository.KeyUtilities.getFileNameById(KeyUtilities.java:201)
   at org.netbeans.modules.cnd.modelimpl.impl.services.ReferenceRepositoryImpl.findRelevantFiles(ReferenceRepositoryImpl.java:497)
Comment 1 Exceptions Reporter 2017-03-22 08:01:28 UTC
Created attachment 163915 [details]
stacktrace