Code Coverage: Color indicators and asterisks missing

Hello everybody,

Versions:

IDEA: 8.1.3
JDK: 1.6.0_12
JUnit: 4.5 (default from IDEA)

Problem description

  1. I added a new JUnit runner within the Run configuration of IDEA
  2. I configured to run all tests in my project
  3. I configured code coverage to Emma (Record code coverage information: yes; Sampling; Merge gathered...: no; Before launch: Make)
  4. Everything worked fine! Because of 'Never touch a running system' i did not change anything...This worked for days. And then the problem:
  5. Suddenly, I can only see the coverage statistic within the 'project view'. Color indicators and asterisks are missing.


Log abstract:

2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - entry '*******************************.java' not found
java.lang.RuntimeException: entry '*******************************.java' not found
    at com.intellij.history.core.tree.Entry.getEntry(Entry.java:72)
    at com.intellij.history.core.LocalVcs.getEntry(LocalVcs.java:74)
    at com.intellij.history.core.ChangeSetsProcessor.<init>(ChangeSetsProcessor.java:17)
    at com.intellij.history.core.ByteContentRetriever.<init>(ByteContentRetriever.java:4)
    at com.intellij.history.core.LocalVcs.getByteContent(LocalVcs.java:147)
    at com.intellij.history.integration.LocalHistoryComponent.getByteContent(LocalHistoryComponent.java:75)
    at com.intellij.history.LocalHistory.getByteContent(LocalHistory.java:49)
    at com.intellij.coverage.SrcFileAnnotator.a(SrcFileAnnotator.java:174)
    at com.intellij.coverage.SrcFileAnnotator.a(SrcFileAnnotator.java:116)
    at com.intellij.coverage.SrcFileAnnotator.showCoverageInformation(SrcFileAnnotator.java:17)
    at com.intellij.coverage.CoverageDataManagerImpl.a(CoverageDataManagerImpl.java:40)
    at com.intellij.coverage.CoverageDataManagerImpl.access$800(CoverageDataManagerImpl.java:27)
    at com.intellij.coverage.CoverageDataManagerImpl$4$1.run(CoverageDataManagerImpl.java:0)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:16)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 8.1.3  Build #9886
2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_12
2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) Client VM
2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - Vendor: Sun Microsystems Inc.
2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - OS: Windows XP
2009-09-16 13:49:55,908 [83310577]  ERROR - pplication.impl.LaterInvocator - Last Action: Run
2009-09-16 13:49:57,345 [83312014]   WARN - .history.utils.LocalHistoryLog -
has entry for file: false
file is not valid: *****PATH TO MY IWS*****/*****IWS_NAME*****.iws
first valid parent: *****PATH TO MY IWS*****

This is logged when I open (doubleclick in the project view) one of the Java classes that is tested by JUnit.

1 comment
Comment actions Permalink

Hello Aaron,

Seems that Local File history was somehow corrupted. You may try to remove
local history from your system folder (USER_HOME/Intellij IDEAx.x/system)

Thank you
-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hello everybody,

h4. Versions:
IDEA: 8.1.3
JDK: 1.6.0_12
JUnit: 4.5 (default from IDEA)
h4. Problem description

1.  I added a new JUnit runner within the Run configuration of IDEA

2.  I configured to run all tests in my project

3.  I configured code coverage to Emma (Record code coverage
information: yes; Sampling; Merge gathered...: no; Before launch:
Make)

4.  Everything worked fine! Because of 'Never touch a running system'
i did not change anything...This worked for days. And then the
problem:

5. Suddenly, I can only see the coverage statistic within the 'project
view'. Color indicators and asterisks are missing.

h4. Log abstract:

2009-09-16 13:49:55,908
>   ERROR - pplication.impl.LaterInvocator - entry
> '*******************************.java' not found
> java.lang.RuntimeException: entry
> '*******************************.java' not found
> at com.intellij.history.core.tree.Entry.getEntry(Entry.java:72)
> at com.intellij.history.core.LocalVcs.getEntry(LocalVcs.java:74)
> at
> com.intellij.history.core.ChangeSetsProcessor.<init>(ChangeSetsProcess
> or.java:17)
> at
> com.intellij.history.core.ByteContentRetriever.<init>(ByteContentRetri
> ever.java:4)
> at
> com.intellij.history.core.LocalVcs.getByteContent(LocalVcs.java:147)
> at
> com.intellij.history.integration.LocalHistoryComponent.getByteContent(
> LocalHistoryComponent.java:75)
> at
> com.intellij.history.LocalHistory.getByteContent(LocalHistory.java:49)
> at
> com.intellij.coverage.SrcFileAnnotator.a(SrcFileAnnotator.java:174)
> at
> com.intellij.coverage.SrcFileAnnotator.a(SrcFileAnnotator.java:116)
> at
> com.intellij.coverage.SrcFileAnnotator.showCoverageInformation(SrcFile
> Annotator.java:17)
> at
> com.intellij.coverage.CoverageDataManagerImpl.a(CoverageDataManagerImp
> l.java:40)
> at
> com.intellij.coverage.CoverageDataManagerImpl.access$800(CoverageDataM
> anagerImpl.java:27)
> at
> com.intellij.coverage.CoverageDataManagerImpl$4$1.run(CoverageDataMana
> gerImpl.java:0)
> at
> com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(La
> terInvocator.java:16)
> at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
> at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
> at
> com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
> d.java:269)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
> ava:184)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
> d.java:174)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> 2009-09-16 13:49:55,908   ERROR -
> pplication.impl.LaterInvocator - IntelliJ IDEA 8.1.3  Build #9886
> 2009-09-16 13:49:55,908   ERROR -
> pplication.impl.LaterInvocator - JDK: 1.6.0_12
>
> 2009-09-16 13:49:55,908   ERROR -
> pplication.impl.LaterInvocator - VM: Java HotSpot(TM) Client VM
>
> 2009-09-16 13:49:55,908   ERROR -
> pplication.impl.LaterInvocator - Vendor: Sun Microsystems Inc.
>
> 2009-09-16 13:49:55,908   ERROR -
> pplication.impl.LaterInvocator - OS: Windows XP
>
> 2009-09-16 13:49:55,908   ERROR -
> pplication.impl.LaterInvocator - Last Action: Run
>
> 2009-09-16 13:49:57,345    WARN -
> .history.utils.LocalHistoryLog -
>
> has entry for file: false
>
> file is not valid: ****PATH TO MY IWS***/***IWS_NAME****.iws
>
> first valid parent: ****PATH TO MY IWS****
>
>


This is logged when I open (doubleclick in the project view) one of
the Java classes that is tested by JUnit.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5245245#5245245



0

Please sign in to leave a comment.