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.
Hi, There is a not stable test which randomly fails in team repositories, but is unrelated to this team repository activity. junit.framework.AssertionFailedError: There shall have been no warnings: [org.openide.util.Exceptions] THREAD: Java Source Worker Thread MSG: null org.netbeans.modules.java.source.parsing.SourceFileObject.<init>(SourceFileObject.java:125) org.netbeans.modules.java.source.parsing.SourceFileObject.<init>(SourceFileObject.java:118) It happens in cnd-main and now it happens in main by making repository unstable and preventing push jobs. See details: http://deadlock.netbeans.org/hudson/job/trunk/5320/testReport/org.netbeans.junit/NbModuleLogHandler/unknown/
Well, I attempted to fix it by http://hg.netbeans.org/jet-main/rev/d1f97dcec7ca, but the fix doesn't seem to work. I'll try several other things, but since this can't be reliably reproduced I can't make any promises.
profiler-main has the same problem http://deadlock.netbeans.org/hudson/job/profiler-main/441/testReport/ http://deadlock.netbeans.org/hudson/job/profiler-main/439/testReport/
Hi, Vita, thanks for looking at it. Btw, which test should I disable in cnd-main repository to unblock push jobs?
Created attachment 78451 [details] Someone please apply following patch, so the nightmare is over
jtulach's patch is unnecessary; vstejskal is working on an actual fix to not print the exception to begin with. Instructions for transferring to other repos will be posted when it is ready of course.
Here is the hotfix - http://hg.netbeans.org/jet-main/rev/12bf0b8ac833.
To use from a team repo: cd team hg fetch hg pull -r 12bf0b8ac833 http://hg.netbeans.org/jet-main/ hg merge hg ci -m 'merged hotfix' hg out -pv hg push I am doing for core-main, cdev. jtulach will do for main, ergonomics. Other team repo owners can do so whenever they like.
I'm not sure this is fixed. Still seems to be failing randomly, e.g. the following in cdev repo which has your hotfix: http://bertram.netbeans.org/hudson/job/cdev/408/testReport/org.netbeans.junit.internal/NbModuleLogHandler$FailOnException/testNoWarningsReportedDuringExecution/ java.lang.NullPointerException at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:294) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(JavaCustomIndexer.java:118) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(JavaCustomIndexer.java:105) at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:464) Caused: java.io.IOException at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:468) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:105) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:103) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:100) [catch] at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:103) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:141) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:657) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:756) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:698) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:1145) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:1121) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:599) Note that this is caught in JavaCustomIndexer, a different place I guess.
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/984a55e35b4c User: Jaroslav Tulach <jtulach@netbeans.org> Log: Backport of #160618 from jet-main
The second exception was fixed in issue #160825.
Integrated into 'main-golden', will be available in build *200903241535* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/151185db7158 User: Jaroslav Tulach <jtulach@netbeans.org> Log: Backport of #160618 from jet-main to ergonomics