I guess the main issue here is Windows and Gradle.
We may try to clean up a directory while the Gradle daemon is holding a
file.
On 8/21/21 8:59 AM, Eric Bresie wrote:
I did an "ant build" followed by an "ant $OPTS -f java/gradle.java test"
and get the following issue. Is there a possible issue in this context?
[junit] Testsuite:
org.netbeans.modules.gradle.java.output.JavaCompilerProcessorFactoryTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.094 sec
[junit]
[junit] Testsuite:
org.netbeans.modules.gradle.queries.GradleSourceAttacherImplTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.145 sec
[junit]
[junit] Testcase:
testSourceAttachActionInvokesGradle(org.netbeans.modules.gradle.queries.GradleSourceAttacherImplTest):
Caused an ERROR
[junit] Cannot delete file, file =
C:\git\nb.netbeans.ebresie\netbeans\java\gradle.java\build\test\unit\work\o.n.m.g.q.G\saaig\gradle-home\caches\7.0\executionHistory\executionHistory.lock
[junit] java.io.IOException: Cannot delete file, file =
C:\git\nb.netbeans.ebresie\netbeans\java\gradle.java\build\test\unit\work\o.n.m.g.q.G\saaig\gradle-home\caches\7.0\executionHistory\executionHistory.lock
[junit] at
org.netbeans.junit.NbTestCase.deleteFile(NbTestCase.java:997)
[junit] at
org.netbeans.junit.NbTestCase.deleteFile(NbTestCase.java:989)
[junit] at
org.netbeans.junit.NbTestCase.deleteFile(NbTestCase.java:989)
[junit] at
org.netbeans.junit.NbTestCase.deleteFile(NbTestCase.java:989)
[junit] at
org.netbeans.junit.NbTestCase.deleteFile(NbTestCase.java:989)
[junit] at
org.netbeans.junit.NbTestCase.deleteSubFiles(NbTestCase.java:1006)
[junit] at
org.netbeans.junit.NbTestCase.clearWorkDir(NbTestCase.java:1020)
[junit] at
org.netbeans.modules.gradle.AbstractGradleProjectTestCase.setUp(AbstractGradleProjectTestCase.java:58)
[junit] at
org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:468)
[junit] at org.netbeans.junit.NbTestCase.run(NbTestCase.java:291)
[junit]
[junit]
[junit] Test
org.netbeans.modules.gradle.queries.GradleSourceAttacherImplTest FAILED
BUILD FAILED
C:\git\nb.netbeans.ebresie\netbeans\nbbuild\templates\common.xml:724: The
following error occurred while executing this line:
C:\git\nb.netbeans.ebresie\netbeans\nbbuild\templates\common.xml:717: The
following error occurred while executing this line:
C:\git\nb.netbeans.ebresie\netbeans\nbbuild\templates\common.xml:751: The
following error occurred while executing this line:
C:\git\nb.netbeans.ebresie\netbeans\nbbuild\templates\common.xml:748: Some
tests failed; see details above.
My Environment is as follows (not sure how that fully compares to the
Travis CI build environments):
$ ant -version
Apache Ant(TM) version 1.10.9 compiled on September 27 2020
/c/git/nb.netbeans.ebresie/netbeans
$ java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment 18.9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9, mixed mode)
$gradle --version
Welcome to Gradle 7.0!
Here are the highlights of this release:
- File system watching enabled by default
- Support for running with and building Java 16 projects
- Native support for Apple Silicon processors
- Dependency catalog feature preview
For more details see https://docs.gradle.org/7.0/release-notes.html
------------------------------------------------------------
Gradle 7.0
------------------------------------------------------------
Build time: 2021-04-09 22:27:31 UTC
Revision: d5661e3f0e07a8caff705f1badf79fb5df8022c4
Kotlin: 1.4.31
Groovy: 3.0.7
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 11.0.11 (Oracle Corporation 11.0.11+9)
OS: Windows 10 10.0 amd64
Eric Bresie
[email protected]
On Sat, Aug 21, 2021 at 10:04 AM Eric Bresie <[email protected]> wrote:
Okay...trying to troubleshoot problems during my PR
https://github.com/apache/netbeans/pull/3074 builds. All the initial
jobs seem to pass but then seem to fail during the Travis CI checks
https://github.com/apache/netbeans/pull/3074/checks?check_run_id=3333830255
It seems like problems during java 8 checks during java/gradle context
and/or another during java 15 checks during cleanup (javafx).
I tried running local (ant $OPTS -f java/gradle.java test") and get
similar issues
Any suggestions?
Specifically during travis build (and local)
- 9844.13 Test Java modules with nb-javac on Java 8
<https://app.travis-ci.com/github/apache/netbeans/jobs/531496484>
https://app.travis-ci.com/github/apache/netbeans/jobs/531496484 /
https://api.travis-ci.com/v3/job/531496484/log.txt
FixedModule:org.netbeans.modules.java.platform,
FixedModule:org.netbeans.modules.libs.gradle]], AbstractLookup[],
FolderLookup.lookup["SL["]]
[junit] aug. 15, 2021 3:18:02 PM org.openide.util.ImageUtilities getIcon
[junit] INFO: No SVG loader available for loading
jar:file:/home/travis/build/apache/netbeans/nbbuild/netbeans/platform/modules/org-openide-loaders.jar!/org/openide/loaders/defaultFolder.svg
[junit] aug. 15, 2021 3:18:02 PM
org.netbeans.modules.project.ui.OpenProjectList log
[junit] INFO: USG_PROJECT_OPEN
[junit] aug. 15, 2021 3:18:03 PM
org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl loadProject
[junit] INFO: Load aiming FULL_ONLINE for Gradle: saaig[SIMPLE]
[junit] aug. 15, 2021 3:18:05 PM
org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl loadProject
[junit] INFO: Load aiming FULL_ONLINE for Gradle: saaig[FULL_ONLINE]
[junit] Aug 15, 2021 3:18:06 PM
org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl loadProject
[junit] INFO: Load aiming FULL for Gradle: saaig[FULL_ONLINE]
[junit] Aug 15, 2021 3:18:06 PM
org.netbeans.modules.project.ui.OpenProjectList log
[junit] INFO: USG_PROJECT_CLOSE
BUILD FAILED
/home/travis/build/apache/netbeans/nbbuild/templates/common.xml:724: The
following error occurred while executing this line:
/home/travis/build/apache/netbeans/nbbuild/templates/common.xml:717: The
following error occurred while executing this line:
/home/travis/build/apache/netbeans/nbbuild/templates/common.xml:751: The
following error occurred while executing this line:
/home/travis/build/apache/netbeans/nbbuild/templates/common.xml:748: Some tests
failed; see details above.
Total time: 2 minutes 59 seconds
travis_time:end:0dc8a854:start=1629040506841324783,finish=1629040686730154991,duration=179888830208,event=script
[0K [31;1mThe command "hide-logs.sh ant $OPTS -f java/gradle.java test"
exited with 1. [0m
travis_time:start:22028830
[0K$ travis_wait hide-logs.sh ant $OPTS -f java/editor.htmlui test
Previous in the log some "SEVERE" failures show up (although I don't
believe any of these have any direct relations to the code I've modified in
my PR; unless it's some indirect change impacting this) like the following:
This one on "Cannot resolve Serializable to element"
[junit] INFO: Indexing finished, indexing took 0 ms.
[junit] Aug 15, 2021 3:33:32 PM
org.netbeans.modules.java.source.save.ElementOverlay getAllSuperElements
* [junit] SEVERE: Cannot resolve Serializable to element*
[junit] Aug 15, 2021 3:33:32 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work
reportIndexingStart
[junit] INFO: Indexing started, time from last indexing 249 ms.
[junit] Aug 15, 2021 3:33:32 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work
reportIndexerStatistics
[junit] INFO: Indexing finished, indexing took 0 ms.
[junit] Aug 15, 2021 3:33:32 PM
org.netbeans.modules.java.source.save.ElementOverlay getAllSuperElements
* [junit] SEVERE: Cannot resolve Serializable to element*
[junit] Aug 15, 2021 3:33:32 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work
reportIndexingStart
[junit] INFO: Indexing started, time from last indexing 212 ms.
Another "*SEVERE: Cannot resolve ClassA to element" *like
Aug 15, 2021 3:34:06 PM org.netbeans.api.java.source.TreeUtilities
ensureCommentsMapped
[junit] WARNING: Comment automap requested for Tree not from the root
compilation info. Please, make sure to call GeneratorUtilities.importComments
before Treeutilities.getComments. Tree:
[junit] public /*missing*/ Renamed() {
[junit] super();
[junit] }
[junit] Aug 15, 2021 3:34:06 PM org.netbeans.api.java.source.TreeUtilities
ensureCommentsMapped
[junit] INFO: Caller
[junit] java.lang.Exception
[junit] at
org.netbeans.api.java.source.TreeUtilities.ensureCommentsMapped(TreeUtilities.java:335)
[junit] at
org.netbeans.api.java.source.TreeUtilities.getComments(TreeUtilities.java:313)
[junit] at
org.netbeans.api.java.source.gen.CommentsTest$35.run(CommentsTest.java:2073)
[junit] at
org.netbeans.api.java.source.gen.CommentsTest$35.run(CommentsTest.java:2067)
[junit] at
org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
[junit] at
org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
[junit] at
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
[junit] at
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
[junit] at
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
[junit] at
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
[junit] at
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
[junit] at
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
[junit] at
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
[junit] at
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
[junit] at
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
[junit] at
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
[junit] at
org.netbeans.api.java.source.gen.CommentsTest.testConstructorCommentsOnClassRename(CommentsTest.java:2078)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:498)
[junit] at junit.framework.TestCase.runTest(TestCase.java:177)
[junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
[junit] at
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
[junit] at java.lang.Thread.run(Thread.java:748)
[junit]
[junit] Aug 15, 2021 3:34:07 PM
org.netbeans.modules.java.source.save.ElementOverlay getAllSuperElements
[junit] *SEVERE: Cannot resolve ClassA to element*
[junit] Aug 15, 2021 3:34:07 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work
reportIndexingStart
[junit] INFO: Indexing started, time from last indexing 368 ms.
And "java.lang.NullPointerException: The folder parameter cannot be null" like
[junit] Aug 15, 2021 3:35:52 PM org.openide.util.RequestProcessor$Processor
doNotify
[junit] SEVERE: Error in RequestProcessor
org.netbeans.modules.editor.settings.storage.preferences.PreferencesImpl$1
[junit] org.openide.util.RequestProcessor$SlowItem: task failed due to:
java.lang.NullPointerException: The folder parameter cannot be null
[junit] at
org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1459)
[junit] at
org.netbeans.modules.editor.settings.storage.preferences.PreferencesImpl.asyncInvocationOfFlushSpi(PreferencesImpl.java:478)
[junit] at
org.netbeans.modules.editor.settings.storage.preferences.PreferencesImpl.putSpi(PreferencesImpl.java:274)
[junit] at
java.util.prefs.AbstractPreferences.put(AbstractPreferences.java:251)
[junit] at
org.netbeans.modules.editor.settings.storage.preferences.PreferencesImpl.put(PreferencesImpl.java:119)
[junit] at
org.netbeans.api.java.source.gen.GuardedBlockTest.testComplex186754(GuardedBlockTest.java:888)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:498)
[junit] at junit.framework.TestCase.runTest(TestCase.java:177)
[junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
[junit] at
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
[junit] at java.lang.Thread.run(Thread.java:748)
[junit] Caused by: java.lang.NullPointerException: The folder parameter
cannot be null
[junit] at org.openide.util.Parameters.notNull(Parameters.java:64)
[junit] at
org.openide.filesystems.FileUtil.createData(FileUtil.java:742)
[junit] at
org.netbeans.modules.editor.settings.storage.StorageImpl$1.run(StorageImpl.java:317)
[junit] at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
[junit] at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
[junit] at
org.netbeans.modules.editor.settings.storage.StorageImpl$FilesystemTracker.runAtomicAction(StorageImpl.java:614)
[junit] at
org.netbeans.modules.editor.settings.storage.StorageImpl._save(StorageImpl.java:314)
[junit] at
org.netbeans.modules.editor.settings.storage.StorageImpl.save(StorageImpl.java:140)
[junit] at
org.netbeans.modules.editor.settings.storage.api.EditorSettingsStorage.save(EditorSettingsStorage.java:78)
[junit] at
org.netbeans.modules.editor.settings.storage.preferences.PreferencesImpl.flushSpi(PreferencesImpl.java:339)
[junit] at
org.netbeans.modules.editor.settings.storage.preferences.PreferencesImpl$1.run(PreferencesImpl.java:380)
[junit] at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
[junit] at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
[junit] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[junit] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
[junit]
[junit] Aug 15, 2021 3:35:53 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work
reportIndexingStart
[junit] INFO: Indexing started, time from last indexing 0 ms.
And another "null" / "Cannot create folder <> in folder " like below (this
seems to be a frequent one in many cases)
[junit] Aug 15, 2021 3:43:19 PM org.openide.util.Exceptions printStackTrace
[junit] SEVERE: null
[junit] org.netbeans.modules.masterfs.filebasedfs.utils.FSException:
Cannot create folder s4 in folder
/home/travis/build/apache/netbeans/java/java.source.base/build/test/unit/work/o.n.m.j.s.p.J/ej/cache.
[junit] at
org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:93)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolderImpl(FolderObj.java:231)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:299)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:297)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:97)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:302)
[junit] at
org.openide.filesystems.FileUtil.createFolder(FileUtil.java:706)
[junit] at
org.netbeans.modules.parsing.impl.indexing.DefaultCacheFolderProvider.findCacheFolderForRoot(DefaultCacheFolderProvider.java:104)
[junit] at
org.netbeans.modules.parsing.impl.indexing.implspi.CacheFolderProvider.getCacheFolderForRoot(CacheFolderProvider.java:74)
[junit] at
org.netbeans.modules.parsing.impl.indexing.CacheFolder.getDataFolder(CacheFolder.java:74)
[junit] at
org.netbeans.modules.parsing.impl.indexing.CacheFolder.getDataFolder(CacheFolder.java:61)
[junit] at
org.netbeans.modules.parsing.impl.indexing.CacheFolder.getDataFolder(CacheFolder.java:56)
[junit] at
org.netbeans.modules.java.source.indexing.JavaIndex.getIndex(JavaIndex.java:87)
[junit] at
org.netbeans.modules.java.source.indexing.JavaIndex.getClassFolder(JavaIndex.java:114)
[junit] at
org.netbeans.modules.java.source.classpath.CacheClassPath$CachingPathResourceImpl.getRoots(CacheClassPath.java:248)
[junit] at
org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:371)
[junit] at
org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
[junit] at
org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
[junit] at
com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:804)
[junit] at
com.sun.tools.javac.code.ClassFinder.scanPlatformPath(ClassFinder.java:737)
[junit] at
com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:588)
[junit] at
com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:313)
[junit] at
com.sun.tools.javac.code.Symtab.lambda$addRootPackageFor$8(Symtab.java:830)
[junit] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:684)
[junit] at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:400)
[junit] at
org.netbeans.lib.nbjavac.services.NBEnter.visitTopLevel(NBEnter.java:71)
[junit] at
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:543)
[junit] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
[junit] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
[junit] at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
[junit] at com.sun.tools.javac.comp.Enter.main(Enter.java:797)
[junit] at
com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1145)
[junit] at
com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:408)
[junit] at
com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:336)
[junit] at
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:710)
[junit] at
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:399)
[junit] at
org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88)
[junit] at
org.netbeans.modules.java.source.parsing.JavacParserTest$13.run(JavacParserTest.java:510)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
[junit] at
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
[junit] at
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
[junit] at
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
[junit] at
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
[junit] at
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
[junit] at
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
[junit] at
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
[junit] at
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
[junit] at
org.netbeans.modules.java.source.parsing.JavacParserTest.lambda$testEmbeddedJava$1(JavacParserTest.java:504)
[junit] at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
[junit] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[junit] at
org.netbeans.modules.java.source.parsing.JavacParserTest.testEmbeddedJava(JavacParserTest.java:429)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:498)
[junit] at junit.framework.TestCase.runTest(TestCase.java:177)
[junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
[junit] at
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
[junit] at java.lang.Thread.run(Thread.java:748)
[junit] Caused by:
[junit]
[junit] Aug 15, 2021 3:43:19 PM org.openide.util.Exceptions printStackTrace
[junit] SEVERE: null
[junit] org.netbeans.modules.masterfs.filebasedfs.utils.FSException:
Cannot create folder
Another like "task failed due to: java.lang.IllegalStateException: No
ActiveDocumentProvider instance in global lookup."
[junit] Aug 15, 2021 3:14:07 PM org.openide.util.RequestProcessor$Processor
doNotify
[junit] SEVERE: Error in RequestProcessor
org.netbeans.modules.parsing.impl.indexing.IndexingModule$Startup
[junit] org.openide.util.RequestProcessor$SlowItem: task failed due to:
java.lang.IllegalStateException: No ActiveDocumentProvider instance in global
lookup.
[junit] at
org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
[junit] at
org.netbeans.core.startup.NbStartStop.initialize(NbStartStop.java:64)
[junit] at
org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:335)
[junit] at
org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:77)
[junit] at
org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:322)
[junit] at org.openide.filesystems.FileUtil$2.run(FileUtil.java:417)
[junit] at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
[junit] at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
[junit] at
org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:401)
[junit] at
org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:421)
[junit] at
org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:319)
[junit] at org.netbeans.ModuleManager.enable(ModuleManager.java:1453)
[junit] at org.netbeans.ModuleManager.enable(ModuleManager.java:1254)
[junit] at
org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315)
[junit] at
org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:325)
[junit] at
org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251)
[junit] at
org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
[junit] at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156)
[junit] at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125)
[junit] at
org.netbeans.core.startup.MainLookup.beforeLookup(MainLookup.java:209)
[junit] at
org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:273)
[junit] at org.openide.modules.Modules.getDefault(Modules.java:41)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList.addModuleInfo(OpenProjectList.java:2017)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList.access$1500(OpenProjectList.java:116)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList$25.run(OpenProjectList.java:1391)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList$25.run(OpenProjectList.java:1381)
[junit] at
org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229)
[junit] at org.openide.util.Mutex.writeAccess(Mutex.java:252)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:1381)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:848)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:682)
[junit] at
org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:643)
[junit] at
org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl.openAPI(OpenProjectsTrampolineImpl.java:55)
[junit] at
org.netbeans.api.project.ui.OpenProjects.open(OpenProjects.java:174)
[junit] at
org.netbeans.api.maven.MavenActionsTest.createProject(MavenActionsTest.java:66)
[junit] at
org.netbeans.api.maven.MavenActionsTest.testDebugDisabledInSpecialConfig(MavenActionsTest.java:112)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:498)
[junit] at junit.framework.TestCase.runTest(TestCase.java:177)
[junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
[junit] at
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
[junit] at java.lang.Thread.run(Thread.java:748)
[junit] Caused by: java.lang.IllegalStateException: No
ActiveDocumentProvider instance in global lookup.
[junit] at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.<init>(RepositoryUpdater.java:1330)
[junit] at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.getDefault(RepositoryUpdater.java:167)
[junit] at
org.netbeans.modules.parsing.impl.indexing.IndexingModule$Startup.run(IndexingModule.java:48)
[junit] at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
[junit] at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
[junit] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[junit] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
[junit]
[junit] Aug 15, 2021 3:14:08 PM org.netbeans.core.startup.NbEvents logged
Given these are happening in unit test, not sure if maybe those are intentional
failures during the given test but figured I'd highlight some of them. I'm
wondering if there is some issue with being able to read/write to some files
during attempts during the tests.
And during
- 9844.25 Test refactoring.java without nb-javac on Java 15
<https://app.travis-ci.com/github/apache/netbeans/jobs/531496496>
https://app.travis-ci.com/github/apache/netbeans/jobs/531496496 /
https://api.travis-ci.com/v3/job/531496496/log.txt
THis one seemed like an issue when trying to download macosx javafx
library, possibly due to a hash check issue. Granted it's during ant clean
so not sure why it would be downloading during a clean for that matter.
parseprojectxml] Warning: org.netbeans.modules.profiler.heapwalker lacks a unit
test dependency on org.netbeans.libs.junit4; using default dependencies for
compatibility
[downloadbinaries] File
/home/travis/build/apache/netbeans/extra/libs.javafx.macosx/external/javafx-graphics-13-mac.jar
requested by
/home/travis/build/apache/netbeans/extra/libs.javafx.macosx/external/binaries-list
to have hash D6B0CDDB2D9F5C46CF78365B3683B147981321E0 actually had hash
3F44AE9C978ED951C3C53D6B563DEEC25C141A86
BUILD FAILED
/home/travis/build/apache/netbeans/nbbuild/build.xml:1283: The following error
occurred while executing this line:
/home/travis/build/apache/netbeans/nbbuild/build.xml:1279: The following error
occurred while executing this line:
/home/travis/build/apache/netbeans/nbbuild/templates/projectized.xml:255:
Failed to download binaries - see log message for the detailed reasons.
Total time: 1 minute 38 seconds
travis_time:end:0043e5e0:start=1629039935535363991,finish=1629040034103899551,duration=98568535560,event=before_script
[0K [31;1mThe command "*ant $OPTS clean*" failed and exited with 1 during .
[0m
Eric Bresie
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists