Hello World,

I have been developing an Enterprise application using Netbeans 8.2 and have 
recently been using Netbeans 12.0 to move into the brave new world. 
Occasionally, however, Netbeans 12 can't open my project from one day to the 
next, apparently due to cache issues.

I haven't touched that JavaScript file (see the log below) in ages, but 
yesterday I was working on the Java files that are giving it heartburn. I 
exited the IDE normally last night, and now can't open the project in 12 at all 
without removing the cache manually, at which point I can open the project 
again and continue. This happens a few times a month, and I can't figure out 
what I'm doing that's causing it to happen.

When this happens, the log shows something like :

FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]:   
scannedRoots2Peers(6)=
  file:/home/peter/src/msi/DMA/DMAServer/src/java/:
  file:/home/peter/src/msi/DMA/DMAServer/test/:
  file:/home/peter/src/msi/DMA/DMAServer/web/:
  jar:file:/opt/netbeans-12.0/netbeans/webcommon/jsstubs/corestubs.zip!/:
  jar:file:/opt/netbeans-12.0/netbeans/webcommon/jsstubs/domstubs.zip!/:
  jar:file:/opt/netbeans-12.0/netbeans/webcommon/jsstubs/reststubs.zip!/:
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: } ====
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
Invalidating source: 
org.netbeans.modules.parsing.api.Source@389174b3[mimeType=text/javascript, 
fileObject=/home/peter/src/msi/DMA/DMAServer/web/js/dma.websocket.js@f04ed75a:622a3932,
 document=null due to RootsWork
WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
the position attribute: 
[org-netbeans-modules-lsp-client-bindings-CompletionProviderImpl.instance], but 
some are: 
[org-netbeans-modules-parsing-ui-WaitScanFinishedCompletionProvider.instance, 
org-netbeans-modules-editor-java-JavaCompletionProvider.instance, 
org-netbeans-modules-java-editor-javadoc-JavadocCompletionProvider.instance, 
org-netbeans-lib-editor-codetemplates-CodeTemplateCompletionProvider.instance, 
org-netbeans-modules-j2ee-persistence-editor-completion-JPACodeCompletionProvider.instance,
 org-netbeans-modules-websvc-editor-completion-WSCompletionProvider.instance, 
org-netbeans-modules-spellchecker-completion-WordCompletion.instance]
INFO [org.netbeans.modules.parsing.impl.SourceCache]: Parser factory: 
org.netbeans.modules.java.source.parsing.JavacParserFactory@62388965 returned 
null parser for Snapshot 1493383691: AsyncSensorRecorder.java
INFO [org.netbeans.modules.parsing.impl.SourceCache]: Parser factory: 
org.netbeans.modules.java.source.parsing.JavacParserFactory@62388965 returned 
null parser for Snapshot 351855820: AsyncRecorderBootstrap.java
INFO [org.netbeans.modules.parsing.impl.SourceCache]: Parser factory: 
org.netbeans.modules.java.source.parsing.JavacParserFactory@62388965 returned 
null parser for Snapshot 1804225707: WebInterfaceBean.java
INFO [org.netbeans.modules.parsing.impl.SourceCache]: Parser factory: 
org.netbeans.modules.java.source.parsing.JavacParserFactory@62388965 returned 
null parser for Snapshot 1413729026: WSServerEndpoint.java


Happy New Year, everyone!
Peter

Reply via email to