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 253287 - no any active cache transaction
Summary: no any active cache transaction
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
: 253112 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-02 10:36 UTC by Vladimir Voskresensky
Modified: 2015-09-08 12:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2015-07-02 10:36:36 UTC
INFO [dlight.libs.common.logger]: no any active cache transaction:class org.netbeans.modules.cnd.api.model.services.CsmCacheManager$CsmCacheStorage
java.lang.Exception: no any active cache transaction:class org.netbeans.modules.cnd.api.model.services.CsmCacheManager$CsmCacheStorage
	at org.netbeans.modules.cnd.api.model.services.CsmCacheManager$CsmCacheStorage.getEntry(CsmCacheManager.java:303)
	at org.netbeans.modules.cnd.api.model.services.CsmCacheManager.getSharedCache(CsmCacheManager.java:173)
	at org.netbeans.modules.cnd.api.model.services.CsmCacheManager.get(CsmCacheManager.java:130)
	at org.netbeans.modules.cnd.completion.csm.CsmOffsetResolver.findContext(CsmOffsetResolver.java:354)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.initContext(ReferenceImpl.java:315)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.initOwner(ReferenceImpl.java:156)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObjectImpl(ReferenceImpl.java:137)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObject(ReferenceImpl.java:96)
	at org.netbeans.modules.cnd.refactoring.hints.SuggestionFactoryTask.process(SuggestionFactoryTask.java:196)
	at org.netbeans.modules.cnd.refactoring.hints.SuggestionFactoryTask.run(SuggestionFactoryTask.java:136)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:584)
	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:809)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:304)
	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:725)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:686)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
INFO [dlight.libs.common.logger]: no any active cache transaction:class org.netbeans.modules.cnd.api.model.services.CsmCacheManager$CsmCacheStorage
java.lang.Exception: no any active cache transaction:class org.netbeans.modules.cnd.api.model.services.CsmCacheManager$CsmCacheStorage
	at org.netbeans.modules.cnd.api.model.services.CsmCacheManager$CsmCacheStorage.getEntry(CsmCacheManager.java:303)
	at org.netbeans.modules.cnd.api.model.services.CsmCacheManager.getSharedCache(CsmCacheManager.java:173)
	at org.netbeans.modules.cnd.api.model.services.CsmCacheManager.put(CsmCacheManager.java:154)
	at org.netbeans.modules.cnd.completion.csm.CsmOffsetResolver.findContext(CsmOffsetResolver.java:359)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.initContext(ReferenceImpl.java:315)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.initOwner(ReferenceImpl.java:156)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObjectImpl(ReferenceImpl.java:137)
	at org.netbeans.modules.cnd.completion.impl.xref.ReferenceImpl.getReferencedObject(ReferenceImpl.java:96)
	at org.netbeans.modules.cnd.refactoring.hints.SuggestionFactoryTask.process(SuggestionFactoryTask.java:196)
	at org.netbeans.modules.cnd.refactoring.hints.SuggestionFactoryTask.run(SuggestionFactoryTask.java:136)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:584)
	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:809)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:304)
	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:725)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:686)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Vladimir Voskresensky 2015-07-02 10:37:16 UTC
Is there a way to fix it once for all suggestions?
Comment 2 danilasergeyev 2015-07-08 12:42:13 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/49f7b11b9f86
Comment 3 Quality Engineering 2015-07-09 01:15:50 UTC
Integrated into 'main-silver', will be available in build *201507090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/49f7b11b9f86
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: Bug #253287 no any active cache transaction - fixed
Comment 4 Alexander Simon 2015-09-08 12:56:46 UTC
*** Bug 253112 has been marked as a duplicate of this bug. ***