• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • 3.3.0
    • 3.2.2
    • CIJ Plugin
    • None
    • Java version=1.6.0_65, Java vendor=Apple Inc., OS name=Mac OS X, OS architecture=x86_64, IDEA build number=IU-133.696
      Plugin release=3.2.2.v20140207000000

      null
      java.lang.NullPointerException
      at com.cenqua.clover.idea.LibrarySupport.getValidatedCloverLibrary(LibrarySupport.java:81)
      at com.cenqua.clover.idea.build.CloverLibraryInjector$1.run(CloverLibraryInjector.java:44)
      at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:981)
      at com.cenqua.clover.idea.build.CloverLibraryInjector.addCloverLibrary(CloverLibraryInjector.java:61)
      at com.cenqua.clover.idea.build.CloverLibraryInjector.updateModulesDependencies(CloverLibraryInjector.java:35)
      at com.cenqua.clover.idea.ProjectPlugin.projectPostStartup(ProjectPlugin.java:116)
      at com.cenqua.clover.idea.ProjectPlugin$1.run(ProjectPlugin.java:86)
      at com.intellij.ide.startup.impl.StartupManagerImpl$7.run(StartupManagerImpl.java:286)
      at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:259)
      at com.intellij.ide.startup.impl.StartupManagerImpl.access$100(StartupManagerImpl.java:52)
      at com.intellij.ide.startup.impl.StartupManagerImpl$4.run(StartupManagerImpl.java:184)
      at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:238)
      at com.intellij.openapi.project.DumbServiceImpl.access$500(DumbServiceImpl.java:53)
      at com.intellij.openapi.project.DumbServiceImpl$IndexUpdateRunnable$1$3.run(DumbServiceImpl.java:420)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
      at java.awt.EventQueue.access$400(EventQueue.java:82)
      at java.awt.EventQueue$2.run(EventQueue.java:676)
      at java.awt.EventQueue$2.run(EventQueue.java:674)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
      at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
      at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
      at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

            [CLOV-1461] NPE after Intelli-J Starts Up

            It's a duplicate of CLOV-1441

            Marek Parfianowicz added a comment - It's a duplicate of CLOV-1441

            I lowered the priority to Major as I believe that it's not a Blocker anymore.

            Marek Parfianowicz added a comment - I lowered the priority to Major as I believe that it's not a Blocker anymore.

            Hello Dennis,

            Did you perform an upgrade of the IntelliJ IDEA from version 12.x to 13.x recently?

            I noticed that such exception may occur just after upgrading, but it's not reproducible every time. The getValidatedCloverLibrary() is related with the "Clover IDEA Library" which is being added to a list of global libraries in project settings (File -> Project Settings -> Global Libraries).

            In IDEA 13.x Clover uses a different location of the clover.jar (it's a workaround for one bug in IDEA) and I suspect that there's a problem when project is being loaded at the first time after IDEA upgrade.

            Cheers
            Marek

            Marek Parfianowicz added a comment - Hello Dennis, Did you perform an upgrade of the IntelliJ IDEA from version 12.x to 13.x recently? I noticed that such exception may occur just after upgrading, but it's not reproducible every time. The getValidatedCloverLibrary() is related with the "Clover IDEA Library" which is being added to a list of global libraries in project settings (File -> Project Settings -> Global Libraries). In IDEA 13.x Clover uses a different location of the clover.jar (it's a workaround for one bug in IDEA) and I suspect that there's a problem when project is being loaded at the first time after IDEA upgrade. Cheers Marek

            I just did that and I didn't see the error. I'm not sure what is null in getValidatedCloverLibrary(), but it seems worthwhile to give you a snippet from my pom file. Also, in Intelli-J clover seems to be working properly as far as I can tell (an awful lot of red!)

            Let me know if I can provide you with more info

                    <clover.version>3.2.2</clover.version>
                    <clover.plugin.version>3.2.2</clover.plugin.version>
                    <clover.targetPercentage>15%</clover.targetPercentage>
            
                    <dependency>
                        <groupId>com.cenqua.clover</groupId>
                        <artifactId>clover</artifactId>
                        <version>${clover.version}</version>
                    </dependency>
            
            

            Dennis Ryan added a comment - I just did that and I didn't see the error. I'm not sure what is null in getValidatedCloverLibrary(), but it seems worthwhile to give you a snippet from my pom file. Also, in Intelli-J clover seems to be working properly as far as I can tell (an awful lot of red!) Let me know if I can provide you with more info <clover.version>3.2.2</clover.version> <clover.plugin.version>3.2.2</clover.plugin.version> <clover.targetPercentage>15%</clover.targetPercentage> <dependency> <groupId>com.cenqua.clover</groupId> <artifactId>clover</artifactId> <version>${clover.version}</version> </dependency>

            Hi Dennis,

            Could you please disable and enable again Clover instrumentation for your project (there's a button in main toolbar for it)?

            Cheers
            Marek

            Marek Parfianowicz added a comment - Hi Dennis, Could you please disable and enable again Clover instrumentation for your project (there's a button in main toolbar for it)? Cheers Marek

              mparfianowicz Marek Parfianowicz
              1aab583349af Dennis Ryan
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: