Test Coverage Report fails to export

Issue #870 resolved
Tony White created an issue

When trying to export the report of code coverage, it shows the prompt for where you want the report to be placed, but then fails without any notification.

Here is the debug log

2018-02-02 12:14:40,784 [  17257]   INFO - ellij.project.impl.ProjectImpl - 103 project components initialized in 255 ms 
2018-02-02 12:14:41,027 [  17500]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 182 ms 
2018-02-02 12:14:41,229 [  17702]   INFO -              PerformancePlugin - Performance Plugin is in silent mode 
2018-02-02 12:14:41,230 [  17703]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1239ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish 
2018-02-02 12:14:41,379 [  17852]   INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 5ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:14:41,492 [  17965]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID:  Anonymous Apex) or icon jar:file:/Applications/WebStorm.app/Contents/lib/icons.jar!/nodes/ejbFinderMethod.png 
2018-02-02 12:14:41,492 [  17965]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 2/2/18, 11:44) 
2018-02-02 12:14:41,723 [  18196]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID:  SOQL Query) or icon jar:file:/Applications/WebStorm.app/Contents/lib/icons.jar!/nodes/dataSchema.png 
2018-02-02 12:14:41,916 [  18389]   INFO - ellij.project.impl.ProjectImpl - 103 project components initialized in 174 ms 
2018-02-02 12:14:42,115 [  18588]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 198 ms 
2018-02-02 12:14:42,371 [  18844]   INFO - y.ReflectionServiceFactoryBean - Creating Service {urn:partner.soap.sforce.com}PartnerService from class com.sforce.soap.partner.PartnerApi 
2018-02-02 12:14:47,257 [  23730]   INFO - cloud.client.ForceComApiClient - Login successful for connection 'SF Fast QA'. 
2018-02-02 12:14:47,258 [  23731]   INFO - y.ReflectionServiceFactoryBean - Creating Service {urn:partner.soap.sforce.com}PartnerService from class com.sforce.soap.partner.PartnerApi 
2018-02-02 12:14:47,478 [  23951]   INFO - cloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.partner.SessionHeader took 134ms. 
2018-02-02 12:14:47,571 [  24044]   INFO - cloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.partner.CallOptions took 93ms. 
2018-02-02 12:14:47,583 [  24056]   INFO - y.ReflectionServiceFactoryBean - Creating Service {urn:tooling.soap.sforce.com}ToolingService from class com.sforce.soap.tooling.ToolingApi 
2018-02-02 12:14:56,192 [  32665]   INFO - cloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.tooling.SessionHeader took 490ms. 
2018-02-02 12:14:56,573 [  33046]   INFO - cloud.client.ForceComApiClient - JAXB initialization for com.sforce.soap.tooling.CallOptions took 380ms. 
2018-02-02 12:15:17,431 [  53904]   INFO -              PerformancePlugin - Performance Plugin is in silent mode 
2018-02-02 12:15:17,726 [  54199]   INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 146ms under project opening modal progress 
2018-02-02 12:15:17,729 [  54202]   INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 149ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:17,856 [  54329]   INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings. 
2018-02-02 12:15:17,878 [  54351]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID:  Anonymous Apex) or icon jar:file:/Applications/WebStorm.app/Contents/lib/icons.jar!/nodes/ejbFinderMethod.png 
2018-02-02 12:15:17,880 [  54353]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID:  SOQL Query) or icon jar:file:/Applications/WebStorm.app/Contents/lib/icons.jar!/nodes/dataSchema.png 
2018-02-02 12:15:18,124 [  54597]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 459ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:18,260 [  54733]   INFO - j.ide.ui.OptionsTopHitProvider - 181 ms spent to cache options in application 
2018-02-02 12:15:18,289 [  54762]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:18,292 [  54765]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:18,295 [  54768]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update canceled 
2018-02-02 12:15:18,295 [  54768]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:18,470 [  54943]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:18,472 [  54945]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:18,473 [  54946]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:18,479 [  54952]   INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening. 
2018-02-02 12:15:18,479 [  54952]   INFO - tartup.impl.StartupManagerImpl - SkeletonUpdater run in 203ms on UI thread 
2018-02-02 12:15:18,483 [  54956]   INFO - tartup.impl.StartupManagerImpl - /Users/me/Sync/Workspaces/SF FAST Dev/.idea case-sensitivity: expected=false actual=false 
2018-02-02 12:15:18,498 [  54971]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 
2018-02-02 12:15:18,670 [  55143]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 37ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:18,846 [  55319]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 176ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:18,968 [  55441]   INFO - tartup.impl.StartupManagerImpl - /Users/me/Sync/SFFASTQA/.idea case-sensitivity: expected=false actual=false 
2018-02-02 12:15:18,969 [  55442]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 
2018-02-02 12:15:19,154 [  55627]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 54ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:19,637 [  56110]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 483ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish 
2018-02-02 12:15:19,742 [  56215]   INFO - j.ide.ui.OptionsTopHitProvider - 95 ms spent to cache options in project 
2018-02-02 12:15:19,896 [  56369]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 2ms 
2018-02-02 12:15:19,977 [  56450]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 0ms 
2018-02-02 12:15:20,121 [  56594]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 359 to update, calculated in 57ms 
2018-02-02 12:15:20,121 [  56594]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 359 to update, calculated in 49ms 
2018-02-02 12:15:21,260 [  57733]   INFO - tartup.impl.StartupManagerImpl - /Users/me/Sync/ISOP_Dev/.idea case-sensitivity: expected=false actual=false 
2018-02-02 12:15:21,261 [  57734]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 
2018-02-02 12:15:21,501 [  57974]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 25ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish 
2018-02-02 12:15:21,622 [  58095]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 121ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:21,622 [  58095]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 138 files to update 
2018-02-02 12:15:22,146 [  58619]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 45082 ms 
2018-02-02 12:15:22,150 [  58623]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 41644 ms 
2018-02-02 12:15:22,644 [  59117]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 41194 ms 
2018-02-02 12:15:23,498 [  59971]   INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 3377ms; general responsiveness: ok; EDT responsiveness: 2/4 sluggish 
2018-02-02 12:15:23,498 [  59971]   INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 1876ms; general responsiveness: ok; EDT responsiveness: 1/2 sluggish 
2018-02-02 12:15:23,499 [  59972]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 1ms 
2018-02-02 12:15:23,499 [  59972]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 1ms 
2018-02-02 12:15:23,535 [  60008]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
2018-02-02 12:15:23,535 [  60008]   INFO - ellij.license.LicenseValidator - Illuminated Cloud features are enabled. 
2018-02-02 12:15:23,536 [  60009]   INFO - ontentsSynchronizationListener - Initializing module contents synchronization listener. 
2018-02-02 12:15:23,537 [  60010]   INFO - ng.IlluminatedCloudFileHandler - Initializing Illuminated Cloud file handler. 
2018-02-02 12:15:23,585 [  60058]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:23,588 [  60061]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:23,591 [  60064]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:23,595 [  60068]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:23,596 [  60069]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:23,597 [  60070]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:23,613 [  60086]   INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 3492ms; general responsiveness: ok; EDT responsiveness: 2/4 sluggish 
2018-02-02 12:15:23,666 [  60139]   INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 0ms 
2018-02-02 12:15:23,711 [  60184]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 19ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:23,729 [  60202]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 18ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:23,762 [  60235]   INFO - j.ide.ui.OptionsTopHitProvider - 75 ms spent to cache options in project 
2018-02-02 12:15:23,801 [  60274]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 17ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:23,808 [  60281]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 6ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:23,813 [  60286]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 2ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:23,817 [  60290]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:24,045 [  60518]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:24,050 [  60523]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:24,052 [  60525]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:24,056 [  60529]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:24,058 [  60531]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:24,059 [  60532]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2018-02-02 12:15:24,867 [  61340]   INFO - j.ide.ui.OptionsTopHitProvider - 85 ms spent to cache options in project 
2018-02-02 12:15:24,960 [  61433]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 3ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:24,972 [  61445]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 12ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:24,973 [  61446]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 29ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:24,978 [  61451]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:24,994 [  61467]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 23ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:25,006 [  61479]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 12ms; general responsiveness: ok; EDT responsiveness: ok 
2018-02-02 12:15:25,050 [  61523]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
2018-02-02 12:15:25,050 [  61523]   INFO - ellij.license.LicenseValidator - Illuminated Cloud features are enabled. 
2018-02-02 12:15:25,243 [  61716]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
2018-02-02 12:15:25,244 [  61717]   INFO - ellij.license.LicenseValidator - Illuminated Cloud features are enabled. 
2018-02-02 12:16:16,408 [ 112881]   INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 18 ms 
2018-02-02 12:16:32,126 [ 128599]   INFO - y.ReflectionServiceFactoryBean - Creating Service {urn:partner.soap.sforce.com}PartnerService from class com.sforce.soap.partner.PartnerApi 
2018-02-02 12:16:33,276 [ 129749]   INFO - cloud.client.ForceComApiClient - Login successful for connection 'ISOP Dev'. 
2018-02-02 12:16:33,277 [ 129750]   INFO - y.ReflectionServiceFactoryBean - Creating Service {urn:partner.soap.sforce.com}PartnerService from class com.sforce.soap.partner.PartnerApi 
2018-02-02 12:16:33,318 [ 129791]   INFO - y.ReflectionServiceFactoryBean - Creating Service {urn:tooling.soap.sforce.com}ToolingService from class com.sforce.soap.tooling.ToolingApi 
2018-02-02 12:16:35,083 [ 131556]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for AccountDataQualityExt when lines uncovered = 3. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,089 [ 131562]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for TestData when lines uncovered = 472. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,127 [ 131600]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for CustomerToContact when lines uncovered = 35. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,133 [ 131606]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for LightningSelfRegisterController when lines uncovered = 64. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,142 [ 131615]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for LightningLoginFormController when lines uncovered = 26. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,146 [ 131619]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for LightningForgotPasswordController when lines uncovered = 11. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,151 [ 131624]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for myFormsBatchJob when lines uncovered = 19. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,154 [ 131627]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for myInsuranceSearchFormController when lines uncovered = 69. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,170 [ 131643]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for myInsuranceSearchFormData when lines uncovered = 36. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:35,174 [ 131647]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for ContentController when lines uncovered = 8. Adding all executable lines that were not reported as covered as uncovered. 
2018-02-02 12:16:43,583 [ 140056]  ERROR - intellij.openapi.progress.Task - jetbrains/coverage/report/ReportGenerationFailedException 
java.lang.NoClassDefFoundError: jetbrains/coverage/report/ReportGenerationFailedException
    at com.illuminatedcloud.intellij.coverage.ApexCoverageEngine$4.run(SourceFile:497)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:713)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:157)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:315)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: jetbrains.coverage.report.ReportGenerationFailedException PluginClassLoader[com.illuminatedcloud2.intellij, 2.0.0.8] com.intellij.ide.plugins.cl.PluginClassLoader@35214b7f
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 14 more
2018-02-02 12:16:43,585 [ 140058]  ERROR - intellij.openapi.progress.Task - WebStorm 2017.3.4  Build #WS-173.4548.30 
2018-02-02 12:16:43,585 [ 140058]  ERROR - intellij.openapi.progress.Task - JDK: 1.8.0_152-release 
2018-02-02 12:16:43,585 [ 140058]  ERROR - intellij.openapi.progress.Task - VM: OpenJDK 64-Bit Server VM 
2018-02-02 12:16:43,585 [ 140058]  ERROR - intellij.openapi.progress.Task - Vendor: JetBrains s.r.o 
2018-02-02 12:16:43,585 [ 140058]  ERROR - intellij.openapi.progress.Task - OS: Mac OS X 
2018-02-02 12:16:43,585 [ 140058]  ERROR - intellij.openapi.progress.Task - Last Action: GenerateCoverageReport 
2018-02-02 12:16:45,449 [ 141922]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 2/2/18, 11:44)

Comments (15)

  1. Tony White reporter
    • edited description

    got interrupted whilst doing the submission and forgot I had not finished describing the issue...

  2. Scott Wells repo owner

    Yeah, someone else reported this via email (or perhaps via the public discussion group) the other day. It appears that something has changed in the IDE/plugin SDK itself. Thanks for filing this issue. I'll use it to track a resolution.

  3. Scott Wells repo owner

    Actually I take it back...this is a little different from what I had seen the other day. The issue that the other user reported was with exporting unit test results as a report. I just tried this from IntelliJ IDEA and it didn't fail, so it must be WebStorm-specific. I'll investigate.

  4. Scott Wells repo owner

    Easily reproduced in WebStorm. Seems to be a difference in the plugin SDK. I'll see if I can figure out the analogous mechanism in the SDK for WebStorm and other lighter-weight IDEs.

  5. Tony White reporter

    Yep - I had no problems exporting unit test report but really wanting to improve the coverage and easier to review from a report...

  6. Scott Wells repo owner

    I'm going to follow up with JetBrains to confirm, but it appears that WebStorm doesn't include coverage reporting. IntelliJ IDEA includes the the jars coverage-report.jar and coverage-report-idea.jar as part of its SDK. WebStorm does not include those two jars. It's possible that you could grab those jars from the same major version of IntelliJ IDEA Community Edition and drop them into WebStorm's lib directory and things would just work. I haven't tried that. Either way it seems odd that WebStorm would include the base functionality but not the reporting functionality while the free version of IntelliJ IDEA would include the latter. The same holds for the Copyright plugin. I'll check with JetBrains, but for the moment that's what seems to be going on.

  7. Tony White reporter

    Found those in the lib/plugins/coverage folder tried copying that folder over to the webstorm plugins folder but no go still

    2018-02-05 08:58:12,582 [ 682819]   INFO - .ApexUnitTestRunProcessHandler - Running unit tests asynchronously. 
    2018-02-05 08:58:55,137 [ 725374]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for AccountDataQualityExt when lines uncovered = 3. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,139 [ 725376]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for TestData when lines uncovered = 472. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,152 [ 725389]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for myQBCCFormsBatchJob when lines uncovered = 19. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,153 [ 725390]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for CustomerToContact when lines uncovered = 35. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,159 [ 725396]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for LightningSelfRegisterController when lines uncovered = 64. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,167 [ 725404]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for LightningLoginFormController when lines uncovered = 26. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,170 [ 725407]   WARN - lij.coverage.ApexCoverageSuite - No uncovered line details found in coverage response for LightningForgotPasswordController when lines uncovered = 11. Adding all executable lines that were not reported as covered as uncovered. 
    2018-02-05 08:58:55,573 [ 725810]   WARN - ij.coverage.ApexCoverageEngine - Failed to find any type declarations in the file. 
    2018-02-05 08:58:55,574 [ 725811]   WARN - ij.coverage.ApexCoverageEngine - Failed to find any type declarations in the file. 
    2018-02-05 08:59:00,595 [ 730832]   INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 17 ms 
    2018-02-05 08:59:07,633 [ 737870]  ERROR - intellij.openapi.progress.Task - jetbrains/coverage/report/ReportGenerationFailedException 
    java.lang.NoClassDefFoundError: jetbrains/coverage/report/ReportGenerationFailedException
        at com.illuminatedcloud.intellij.coverage.ApexCoverageEngine$4.run(SourceFile:497)
        at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:713)
        at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:157)
        at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
        at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)
        at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:315)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.ClassNotFoundException: jetbrains.coverage.report.ReportGenerationFailedException PluginClassLoader[com.illuminatedcloud2.intellij, 2.0.0.8] com.intellij.ide.plugins.cl.PluginClassLoader@3ef29f93
        at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 14 more
    2018-02-05 08:59:07,635 [ 737872]  ERROR - intellij.openapi.progress.Task - WebStorm 2017.3.4  Build #WS-173.4548.30 
    2018-02-05 08:59:07,635 [ 737872]  ERROR - intellij.openapi.progress.Task - JDK: 1.8.0_152-release 
    2018-02-05 08:59:07,635 [ 737872]  ERROR - intellij.openapi.progress.Task - VM: OpenJDK 64-Bit Server VM 
    2018-02-05 08:59:07,635 [ 737872]  ERROR - intellij.openapi.progress.Task - Vendor: JetBrains s.r.o 
    2018-02-05 08:59:07,635 [ 737872]  ERROR - intellij.openapi.progress.Task - OS: Mac OS X 
    2018-02-05 08:59:07,635 [ 737872]  ERROR - intellij.openapi.progress.Task - Last Action: GenerateCoverageReport 
    2018-02-05 08:59:09,390 [ 739627]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 5/2/18, 08:25) 
    
  8. Scott Wells repo owner

    Yeah, it's looking like this isn't supported in WebStorm inexplicably. I'll reach out to JetBrains and see if this is known or an oversight. I'll keep you posted on what I hear.

  9. Scott Wells repo owner

    Tony, I've been talking to JetBrains about this and we've now figured out what's missing from WebStorm and why. Perhaps better, though, we've confirmed that if you copy the following three jars from IntelliJ IDEA Community Edition into either WebStorm's lib directory or the IC plugin's lib directory, report generation works in WebStorm:

    • coverage-report.jar
    • freemarker.jar

    JetBrains aren't wanting to add these jars to WebStorm and the other minor IDEs to avoid bloating them, and I'd prefer to avoid doing so in my plugin for the same reason. Please let me know if you can't get this working with the instructions above and/or if it's not a satisfactory resolution for any reason.

  10. Scott Wells repo owner

    I'm going to resolve this for now since there's a confirmed solution. If it doesn't work for you, please let me know.

  11. Scott Wells repo owner
    • removed component

    Removing component: PhpStorm/PyCharm/RubyMine/WebStorm (automated comment)

  12. Log in to comment