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.

Bug 234610

Summary: NB 7.3.1 tests InstallTmpModuleTest fails on JDK 8 with UnsatisfiedLinkError
Product: platform Reporter: AlexanderIoffe
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jskrivanek
Priority: P2 Keywords: JDK_8, JDK_SPECIFIC, TEST
Version: 7.3.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description AlexanderIoffe 2013-08-19 18:58:47 UTC
Failing test:
org.netbeans.core.startup.InstallTmpModuleTest::testInstallJARFromTmp_1 

Failure	NbModuleSuite has been started with failOnMessage(OFF) and failOnException(INFO). The following failures have been captured: [org.netbeans.modules.masterfs.watcher.Watcher] THREAD: On Start/Stop MSG: Linkage error for org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier java.lang.UnsatisfiedLinkError: Error looking up function 'inotify_init1': /export/local/aurora/CommonData/jdk/bin/java: undefined symbol: inotify_init1 com.sun.jna.Function.<init>(Function.java:179) com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:350) com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:330) com.sun.jna.Library$Handler.invoke(Library.java:203) org.netbeans.modules.masterfs.watcher.linux.$Proxy2.inotify_init1(Unknown Source) org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.start(LinuxNotifier.java:176) org.netbeans.modules.masterfs.providers.Notifier$1.start(Notifier.java:123) org.netbeans.modules.masterfs.watcher.Watcher.getNotifierForPlatform(Watcher.java:423) org.netbeans.modules.masterfs.watcher.Watcher.<init>(Watcher.java:85) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:414) java.lang.Class.newInstance(Class.java:444) org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(SharedClassObjectBridge.java:64) org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:496) org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:422) org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223) org.netbeans.modules.masterfs.watcher.Watcher.ext(Watcher.java:89) org.netbeans.modules.masterfs.watcher.Watcher.isEnabled(Watcher.java:95) org.netbeans.modules.masterfs.Installer.run(Installer.java:54) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)

junit.framework.AssertionFailedError: NbModuleSuite has been started with failOnMessage(OFF) and failOnException(INFO). The following failures have been captured:
[org.netbeans.modules.masterfs.watcher.Watcher] THREAD: On Start/Stop MSG: Linkage error for org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier
java.lang.UnsatisfiedLinkError: Error looking up function 'inotify_init1': /export/local/aurora/CommonData/jdk/bin/java: undefined symbol: inotify_init1
com.sun.jna.Function.<init>(Function.java:179)
com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:350)
com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:330)
com.sun.jna.Library$Handler.invoke(Library.java:203)
org.netbeans.modules.masterfs.watcher.linux.$Proxy2.inotify_init1(Unknown Source)
org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.start(LinuxNotifier.java:176)
org.netbeans.modules.masterfs.providers.Notifier$1.start(Notifier.java:123)
org.netbeans.modules.masterfs.watcher.Watcher.getNotifierForPlatform(Watcher.java:423)
org.netbeans.modules.masterfs.watcher.Watcher.<init>(Watcher.java:85)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:414)
java.lang.Class.newInstance(Class.java:444)
org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(SharedClassObjectBridge.java:64)
org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:496)
org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:422)
org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223)
org.netbeans.modules.masterfs.watcher.Watcher.ext(Watcher.java:89)
org.netbeans.modules.masterfs.watcher.Watcher.isEnabled(Watcher.java:95)
org.netbeans.modules.masterfs.Installer.run(Installer.java:54)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)


at org.netbeans.junit.internal.NbModuleLogHandler.checkFailures(NbModuleLogHandler.java:218)
at org.netbeans.junit.NbModuleSuite$NbTestSuiteLogCheck.runTest(NbModuleSuite.java:1604)
at junit.framework.TestSuite.run(TestSuite.java:238)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:944)
at org.netbeans.junit.NbModuleSuite$S.access$100(NbModuleSuite.java:667)
at org.netbeans.junit.NbModuleSuite$S$1.protect(NbModuleSuite.java:688)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:684)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911)
Comment 1 Marian Mirilovic 2013-08-23 10:10:20 UTC
Please evaluate ASAP. These are tests failing with new JDK 8 builds. Thanks in advance.
Comment 2 Jaroslav Tulach 2013-08-23 10:15:45 UTC
Can you run on newer version of Linux? This must be very old system.