Getting NPE when saving class.

Issue #1350 duplicate
Justin Julicher created an issue

Not sure how to reproduce this but getting this in the logs:

2019-07-18 09:20:28,422 [ 779014]   INFO - rationStore.ComponentStoreImpl - Saving Module: 'Cortex-GitFlow'FacetManager took 89 ms 
2019-07-18 09:20:28,708 [ 779300]   INFO - rationStore.ComponentStoreImpl - Saving Project 'D:\WebstormProjects\Cortex-GitFlow' Cortex-GitFlowIlluminatedCloudWorkspaceSettings took 270 ms 
2019-07-18 09:20:29,465 [ 780057]   INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 1224 ms 
2019-07-18 09:20:33,307 [ 783899]   INFO - ij.builder.ForceComBuilderUtil - Enumerated metadata for connection DevJJ in 5 s 11 ms. 
2019-07-18 09:20:33,309 [ 783901]   WARN - .IlluminatedCloudExceptionUtil -  
    at com.illuminatedcloud.intellij.builder.ModuleContentsFilter.accept(SourceFile:95)
    at com.illuminatedcloud.intellij.builder.ForceComMetadataApiDeployer.createDeploymentArchive(SourceFile:388)
    at com.illuminatedcloud.intellij.builder.ForceComMetadataApiDeployer.deployWithMetadataApi(SourceFile:217)
    at com.illuminatedcloud.intellij.builder.ForceComMetadataApiDeployer.access$000(SourceFile:92)
    at com.illuminatedcloud.intellij.builder.ForceComMetadataApiDeployer$
    at com.intellij.openapi.progress.impl.CoreProgressManager$
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(
    at com.intellij.openapi.progress.impl.CoreProgressManager$
    at com.intellij.openapi.application.impl.ApplicationImpl$
    at java.util.concurrent.Executors$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
2019-07-18 09:20:43,451 [ 794043]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 

Comments (3)

  1. Scott Wells repo owner

    Hmmm...I can see which variable is null, but I can't tell why that might be the case. If this is happening regularly enough for you, do you mind enabling debug logging for metadata deployment for a while and, when it happens, sending me the resulting relevant log snippet? Hopefully that will show what's leading to the null value. I don't expect this value to be null, so I'd prefer to understand this before I just check for null and skip processing when present. Thanks!

  2. Justin Julicher reporter

    Hi Scott,

    Unfortunately it only happened a couple of times then seemed to resolve itself. If it happens again I'll post the logs.



  3. Log in to comment