This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The IDE keeps scanning and rescanning project dependencies, even though nothing has changed there. I keep noticing that this occurs whenever I kick off an external build (e.g. running the integration tests). In previous defects, it was indicated that if the binaries for a particular source changed, they shouldn't be reindexed since the IDE has the source already (although that was referring to scanning issues w/ freeform projects, I have a feeling that it might be related). I'm also attaching a couple of thread dumps that might be helpful. Here is a sample of my IDE log: INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,844 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 2141 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 1,672 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 1593 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 3,829 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 0 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 44 binary roots took: 1109 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 0 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 111 binary roots took: 766 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,906 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 1656 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,360 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 2656 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 4,500 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 4813 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,766 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 1984 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,625 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 2344 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 1,515 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 2610 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,235 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 1547 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,015 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 1563 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,719 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 1656 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 4,344 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 155 binary roots took: 2046 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0)
Created attachment 90002 [details] profiler snapshots
After setting the logging level on the repository updater, I seem to be getting this the log entries below - which is weird, as none of the jars in questions change upon external build. ==== FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: RepositoryUpdater caller [refid=3]: org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Absorbing RootsWork@12323c3[followUpJob=false, checkEditor=false, useInitialState=false, updating useInitialState to false FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Work absorbed RootsWork@12323c3[followUpJob=false, checkEditor=false, useInitialState=false Paths changed: event=PATHS_CHANGED pathKind=null pathType=null affected paths: "d:\approot\lib\ant-jsch.jar;d:\approot\lib\apache-solr-core-nightly.jar;d:\approot\lib\apache-solr-solrj-nightly.jar;d:\approot\lib\javacsv.jar;d:\approot\lib\jettison-1.0.jar;d:\approot\lib\jsch-0.1.42.jar;d:\approot\lib\lucene-analyzers-2.9-dev.jar;d:\approot\lib\lucene-core-2.9-dev.jar;d:\approot\lib\lucene-highlighter-2.9-dev.jar;d:\approot\lib\lucene-memory-2.9-dev.jar;d:\approot\lib\lucene-misc-2.9-dev.jar;d:\approot\lib\lucene-queries-2.9-dev.jar;d:\approot\lib\lucene-snowball-2.9-dev.jar;d:\approot\lib\lucene-spellchecker-2.9-dev.jar;d:\approot\lib\poi-3.5-beta6-20090622.jar;d:\approot\lib\spring-batch-core-2.0.1.RELEASE.jar;d:\approot\lib\spring-batch-infrastructure-2.0.1.RELEASE.jar;d:\approot\lib\spring-batch-test-2.0.1.RELEASE.jar;d:\approot\lib\spring-security-core-2.0.4-tests.jar;d:\approot\lib\sqljdbc4.jar;d:\approot\lib\SymJavaAPI.jar;d:\approot\lib\validation.jar;d:\approot\lib\xstream-1.3.jar;d:\approot\plugins\acegi-0.5.1\lib\ant-contrib-1.0b3.jar;d:\approot\plugins\acegi-0.5.1\lib\aopalliance-1.0.jar;d:\approot\plugins\acegi-0.5.1\lib\aspectjrt-1.5.4.jar;d:\approot\plugins\acegi-0.5.1\lib\cas-client-core-3.1.1.jar;d:\approot\plugins\acegi-0.5.1\lib\commons-codec-1.3.jar;d:\approot\plugins\acegi-0.5.1\lib\commons-httpclient-3.0.1.jar;d:\approot\plugins\acegi-0.5.1\lib\easymock.jar;d:\approot\plugins\acegi-0.5.1\lib\facebook-java-api-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\htmlparser-1.6.jar;d:\approot\plugins\acegi-0.5.1\lib\jcifs-1.2.25.jar;d:\approot\plugins\acegi-0.5.1\lib\json-20070829.jar;d:\approot\plugins\acegi-0.5.1\lib\openid4java-0.9.2.jar;d:\approot\plugins\acegi-0.5.1\lib\openxri-client.jar;d:\approot\plugins\acegi-0.5.1\lib\openxri-syntax.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-ldap-1.2.1.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-ldap-tiger-1.2.1.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-cas-client-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-core-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-core-tiger-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-ntlm-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-openid-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\xmlsec-1.3.0.jar;d:\approot\plugins\code-coverage-1.1.4\lib\asm-2.2.1.jar;d:\approot\plugins\code-coverage-1.1.4\lib\asm-tree-2.2.1.jar;d:\approot\plugins\code-coverage-1.1.4\lib\cobertura.jar;d:\approot\plugins\code-coverage-1.1.4\lib\jakarta-oro-2.0.8.jar;d:\approot\plugins\hibernate-1.1.1\lib\dom4j-1.6.1.jar;d:\approot\plugins\hibernate-1.1.1\lib\hibernate-annotations-3.3.0.jar;d:\approot\plugins\hibernate-1.1.1\lib\hibernate-commons-annotations-3.3.0.jar;d:\approot\plugins\hibernate-1.1.1\lib\hibernate3-3.3.1.jar;d:\approot\plugins\hibernate-1.1.1\lib\javassist-3.4.GA.jar;d:\approot\plugins\image-tools-1.0.4\lib\jai_codec.jar;d:\approot\plugins\image-tools-1.0.4\lib\jai_core.jar;d:\approot\plugins\mail-0.7\lib\activation.jar;d:\approot\plugins\mail-0.7\lib\mail.jar;d:\approot\plugins\quartz-0.4.1\lib\quartz-1.6.5.jar" -- ====
Vito, can you comment on this? Any ideas?
Please run the IDE with -J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=FINE, reproduce the issue and attach <ide-userdir>/var/log/messages.log file here. What projects do you have opened? Just grails? Any other, eg. freeforms? Thanks
I will re-run w/ the requested logging set. In the meantime, the log entries from when I originally filed the issue are with RepositoryUpdater.level = FINE This issue happens when I have only one Grails project open. ==== FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: RepositoryUpdater caller [refid=3]: org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Absorbing RootsWork@12323c3[followUpJob=false, checkEditor=false, useInitialState=false, updating useInitialState to false FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Work absorbed RootsWork@12323c3[followUpJob=false, checkEditor=false, useInitialState=false Paths changed: event=PATHS_CHANGED pathKind=null pathType=null affected paths: "d:\approot\lib\ant-jsch.jar;d:\approot\lib\apache-solr-core-nightly.jar;d:\approot\lib\apache-solr-solrj-nightly.jar;d:\approot\lib\javacsv.jar;d:\approot\lib\jettison-1.0.jar;d:\approot\lib\jsch-0.1.42.jar;d:\approot\lib\lucene-analyzers-2.9-dev.jar;d:\approot\lib\lucene-core-2.9-dev.jar;d:\approot\lib\lucene-highlighter-2.9-dev.jar;d:\approot\lib\lucene-memory-2.9-dev.jar;d:\approot\lib\lucene-misc-2.9-dev.jar;d:\approot\lib\lucene-queries-2.9-dev.jar;d:\approot\lib\lucene-snowball-2.9-dev.jar;d:\approot\lib\lucene-spellchecker-2.9-dev.jar;d:\approot\lib\poi-3.5-beta6-20090622.jar;d:\approot\lib\spring-batch-core-2.0.1.RELEASE.jar;d:\approot\lib\spring-batch-infrastructure-2.0.1.RELEASE.jar;d:\approot\lib\spring-batch-test-2.0.1.RELEASE.jar;d:\approot\lib\spring-security-core-2.0.4-tests.jar;d:\approot\lib\sqljdbc4.jar;d:\approot\lib\SymJavaAPI.jar;d:\approot\lib\validation.jar;d:\approot\lib\xstream-1.3.jar;d:\approot\plugins\acegi-0.5.1\lib\ant-contrib-1.0b3.jar;d:\approot\plugins\acegi-0.5.1\lib\aopalliance-1.0.jar;d:\approot\plugins\acegi-0.5.1\lib\aspectjrt-1.5.4.jar;d:\approot\plugins\acegi-0.5.1\lib\cas-client-core-3.1.1.jar;d:\approot\plugins\acegi-0.5.1\lib\commons-codec-1.3.jar;d:\approot\plugins\acegi-0.5.1\lib\commons-httpclient-3.0.1.jar;d:\approot\plugins\acegi-0.5.1\lib\easymock.jar;d:\approot\plugins\acegi-0.5.1\lib\facebook-java-api-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\htmlparser-1.6.jar;d:\approot\plugins\acegi-0.5.1\lib\jcifs-1.2.25.jar;d:\approot\plugins\acegi-0.5.1\lib\json-20070829.jar;d:\approot\plugins\acegi-0.5.1\lib\openid4java-0.9.2.jar;d:\approot\plugins\acegi-0.5.1\lib\openxri-client.jar;d:\approot\plugins\acegi-0.5.1\lib\openxri-syntax.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-ldap-1.2.1.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-ldap-tiger-1.2.1.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-cas-client-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-core-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-core-tiger-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-ntlm-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\spring-security-openid-2.0.4.jar;d:\approot\plugins\acegi-0.5.1\lib\xmlsec-1.3.0.jar;d:\approot\plugins\code-coverage-1.1.4\lib\asm-2.2.1.jar;d:\approot\plugins\code-coverage-1.1.4\lib\asm-tree-2.2.1.jar;d:\approot\plugins\code-coverage-1.1.4\lib\cobertura.jar;d:\approot\plugins\code-coverage-1.1.4\lib\jakarta-oro-2.0.8.jar;d:\approot\plugins\hibernate-1.1.1\lib\dom4j-1.6.1.jar;d:\approot\plugins\hibernate-1.1.1\lib\hibernate-annotations-3.3.0.jar;d:\approot\plugins\hibernate-1.1.1\lib\hibernate-commons-annotations-3.3.0.jar;d:\approot\plugins\hibernate-1.1.1\lib\hibernate3-3.3.1.jar;d:\approot\plugins\hibernate-1.1.1\lib\javassist-3.4.GA.jar;d:\approot\plugins\image-tools-1.0.4\lib\jai_codec.jar;d:\approot\plugins\image-tools-1.0.4\lib\jai_core.jar;d:\approot\plugins\mail-0.7\lib\activation.jar;d:\approot\plugins\mail-0.7\lib\mail.jar;d:\approot\plugins\quartz-0.4.1\lib\quartz-1.6.5.jar" -- ====
No justification for increased priority.
Hi, I've experienced a similar behavior even in NB 6.9.1: when I open my Grails project (the only opened project) the IDE keeps "scanning projects" for about 10 minutes (and nearly one minute after the "scanning projects" task start, another task "Checking for external changes" starts and immediately comes to "suspended" state). When the "Scanning projects" task terminates, then also the second one do the same. Now I've changed the groovy library to an external groovy installation, and the slowdown seems to disappear... even if I really haven't done enough attempts to give a statistical evidence. Some months ago the same behavior in NB 6.9 with the default groovy-all.jar lead me to use the SpringSource Tool Suite only for the grails project. I noticed the scanning task spent most of its time on projects plugins. While the task is running, it uses almost 100% of the CPU time. My grails project uses - Grails 1.3.4 - Groovy 1.7.4 with the following plugins: app-info(0.3) dynamic-controller(0.2.1) google-visualization(0.2.3) gwt(0.5.1) hibernate(1.3.4) jquery(1.4.2.5) smartgwt(0.1.1) spring-security-core(1.0.1) tomcat(1.3.4) I'm going to use NB for some days and return with some feedback. Hope this can help. Davide
Hi, after some days using NB 6.9.1 I can say the problem absolutely never arised. Davide (In reply to comment #7) > Hi, I've experienced a similar behavior even in NB 6.9.1: > when I open my Grails project (the only opened project) the IDE keeps "scanning > projects" for about 10 minutes (and nearly one minute after the "scanning > projects" task start, another task "Checking for external changes" starts and > immediately comes to "suspended" state). > When the "Scanning projects" task terminates, then also the second one do the > same. > Now I've changed the groovy library to an external groovy installation, and the > slowdown seems to disappear... even if I really haven't done enough attempts to > give a statistical evidence. > > Some months ago the same behavior in NB 6.9 with the default groovy-all.jar > lead me to use the SpringSource Tool Suite only for the grails project. > > I noticed the scanning task spent most of its time on projects plugins. While > the task is running, it uses almost 100% of the CPU time. > > > My grails project uses > - Grails 1.3.4 > - Groovy 1.7.4 > > with the following plugins: > > app-info(0.3) > dynamic-controller(0.2.1) > google-visualization(0.2.3) > gwt(0.5.1) > hibernate(1.3.4) > jquery(1.4.2.5) > smartgwt(0.1.1) > spring-security-core(1.0.1) > tomcat(1.3.4) > > > I'm going to use NB for some days and return with some feedback. > Hope this can help. > > > Davide
I am having a similar problem my project will scan forever and when i look at the IDE log this is what I see. I have 2 grails applications open. they have a lot of dependencies but not enough to scan for hours. Any ideas whats going on here?..it only happens with grails though: WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONWriter]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONWriter]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONWriter]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONWriter]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. WARNING [com.sun.tools.javac.jvm.ClassWriter]: ClassWriter.assembleClassSig: <any> appears in the [org.grails.jaxrs.provider.JSONReader]'s signature. log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@43df67] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@503eeb] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@cdda85] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@19d775a] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@1603ddf] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@1864f0a] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@1a235c6] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL". log4j:ERROR A "org.apache.log4j.varia.NullAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.netbeans.modules.groovy.editor.api.parser.GroovyParser$TransformationClassLoader@a7c23e] whereas object of type log4j:ERROR "org.apache.log4j.varia.NullAppender" was loaded by [ModuleCL@8f5944[org.netbeans.modules.maven.embedder]]. log4j:ERROR Could not instantiate appender named "NULL".
Groovy specific. From the FINE logs it's visible that some RequestProcessor is triggering rescan again and again. It's important to find the RP. The attached FINE log is not complete, so it cannot be used. Please run the IDE with -J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=FINE and attach the complete log. The attached part has only back reference RepositoryUpdater caller [refid=3]: org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) refers to caller number 3 whose full stack trace was recorded somewhere above. Thanks
*** Bug 187800 has been marked as a duplicate of this bug. ***
*** Bug 188179 has been marked as a duplicate of this bug. ***
Guys, is this issue still valid even after the changes made as a fix for the issue 180230?
I have not seen this behavior w/ recent 7.2 builds (or maybe even going further back)
Ok, I haven't seen it as well. In that case I'm closing as WORKSFORME for now and if anyone get into this again, please reopen the issue and I'll investigate it deeper.