[ 
https://issues.apache.org/jira/browse/NETBEANS-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437790#comment-16437790
 ] 

Austin Stephens commented on NETBEANS-654:
------------------------------------------

I have a feeling that this might be related (info obtained on a different 
instance of the issue):

Thread: Diffsidebar long tasks :: FILE_DELETED 
/var/folders/h7/<gibberish>/T/vcs-<nums>/vcs-<nums>/<redacted>.form
{noformat}
File.getParentFile:499
FileInfo.getRoot:165
FileObjectFactory.getInstance:104
FileObjectFactory.getInstance:99
BaseFileObj.getFactory:625
BaseFileObj.getParent:597
FileUtil.isParentOf:1448
RepositoryUpdater.getOwningSourceRoot:1619
ErrorAnnotator$RootAddedDeletedListener.update:369
ErrorAnnotator$RootAddedDeletedListener.fileDeleted:358
FCLSupport$DispatchEventWrapper.dispatchEventImpl:156
FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync:223
FCLSupport$DispatchEventWrapper.dispatchEvent:112
FCLSupport.dispatchEvent:87
FileObject$ED.dispatch:1410
FileSystem$EventDispatcher.run:770
EventControl.dispatchEvent:59
FileSystem.dispatchEvent:529
FileObject.dispatchEvent:619
FileObject.fireFileDeletedEvent:595
BaseFileObj.fireFileDeletedEvent:717
FolderObj.delete:427
BaseFileObj$2.call:767
BaseFileObj$2.call:762
FileBasedFileSystem.runAsInconsistent:97
BaseFileObj.delete:776
FileObject.delete:385
DiffSidebar.deleteTempFolder:1174
DiffSidebar.getText:984
DiffSidebar.access$1600:89
DiffSidebar$RefreshDiffTask.fetchOriginalContent:940
DiffSidebar$RefreshDiffTask.computeDiff:909
DiffSidebar$RefreshDiffTask.run:894
RequestProcessor$Task.run:1418
GlobalLookup.execute:45
Lookups.executeWith:278
RequestProcessor$Processor.run:2033{noformat}

> InvalidFileException while editing a class with a .form file
> ------------------------------------------------------------
>
>                 Key: NETBEANS-654
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-654
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Source
>    Affects Versions: 9.0
>         Environment: Mac
>            Reporter: Austin Stephens
>            Assignee: Jan Lahoda
>            Priority: Blocker
>
> This happens while Netbeans is trying to parse the source of a class that has 
> a form designer editor thingy.
> {noformat}
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/<redacted>_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/<redacted>_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/<redacted>_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/<redacted>_4.dump'.
> An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/<redacted>_4.dump'.
> An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/<redacted>_4.dump'.
> Caused: 
> org.netbeans.modules.java.source.parsing.FileObjects$InvalidFileException: 
> Invalid or deleted file: 
> /var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/<redacted>.java
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:354)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:334)
> Caused: java.lang.IllegalArgumentException
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:337)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:730)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:374)
> [catch] at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:580)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
>     at 
> org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:443)
>     at 
> org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:440)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>     at 
> org.netbeans.modules.java.JavaNode$IconTask$SourceIcon.computeIcon(JavaNode.java:440)
>     at org.netbeans.modules.java.JavaNode$IconTask.run(JavaNode.java:402)
>     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>     at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>     at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Caused: org.openide.util.RequestProcessor$FastItem: task failed due to
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to