Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7173581

jdbc tests failed with NoClassDefFoundError with jigsaw (hybrid mode)

XMLWordPrintable

      about 1000 jdbc test failed with NoClassDefFoundError when run with jigsaw in hybrid mode with following kinds of exceptions:

      1. java.lang.NoClassDefFoundError: com/sun/rowset/CachedRowSetImpl
      2. java.lang.NoClassDefFoundError: com/sun/rowset/FilteredRowSetImpl
      3. java.lang.NoClassDefFoundError: com/sun/rowset/JdbcRowSetImpl
      4. java.lang.NoClassDefFoundError: com/sun/rowset/JoinRowSetImpl
      5. java.lang.NoClassDefFoundError: com/sun/rowset/providers/RIOptimisticProvider
      6. java.lang.NoClassDefFoundError: javax/naming/Referenceable
      7. java.lang.NoClassDefFoundError: com/sun/rowset/WebRowSetImpl

      log:
      [2012-06-01T10:32:03.82] java.lang.reflect.InvocationTargetException
      [2012-06-01T10:32:03.82] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2012-06-01T10:32:03.82] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [2012-06-01T10:32:03.82] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2012-06-01T10:32:03.82] at java.lang.reflect.Method.invoke(Method.java:474)
      [2012-06-01T10:32:03.82] at helper.ModuleTestRunWrapper.main(ModuleTestRunWrapper.java:47)
      [2012-06-01T10:32:03.82] Caused by: java.lang.NoClassDefFoundError: com/sun/rowset/CachedRowSetImpl
      [2012-06-01T10:32:03.82] at BaseRowset3_026.setup(BaseRowset3_026.java:97)
      [2012-06-01T10:32:03.82] at BaseRowset3_026.main(BaseRowset3_026.java:182)
      [2012-06-01T10:32:03.82] ... 5 more
      [2012-06-01T10:32:03.82] Caused by: java.lang.ClassNotFoundException: com.sun.rowset.CachedRowSetImpl
      [2012-06-01T10:32:03.82] at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
      [2012-06-01T10:32:03.82] at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
      [2012-06-01T10:32:03.82] at java.security.AccessController.doPrivileged(Native Method)
      [2012-06-01T10:32:03.82] at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
      [2012-06-01T10:32:03.82] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      [2012-06-01T10:32:03.82] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      [2012-06-01T10:32:03.82] ... 7 more
      [2012-06-01T10:32:03.82] java.lang.NoClassDefFoundError: com/sun/rowset/CachedRowSetImpl
      [2012-06-01T10:32:03.82] at BaseRowset3_026.setup(BaseRowset3_026.java:97)
      [2012-06-01T10:32:03.82] at BaseRowset3_026.main(BaseRowset3_026.java:182)
      [2012-06-01T10:32:03.82] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2012-06-01T10:32:03.82] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [2012-06-01T10:32:03.82] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2012-06-01T10:32:03.82] at java.lang.reflect.Method.invoke(Method.java:474)
      [2012-06-01T10:32:03.82] at helper.ModuleTestRunWrapper.main(ModuleTestRunWrapper.java:47)
      [2012-06-01T10:32:03.82] Caused by: java.lang.ClassNotFoundException: com.sun.rowset.CachedRowSetImpl
      [2012-06-01T10:32:03.82] at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
      [2012-06-01T10:32:03.82] at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
      [2012-06-01T10:32:03.82] at java.security.AccessController.doPrivileged(Native Method)
      [2012-06-01T10:32:03.82] at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
      [2012-06-01T10:32:03.82] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      [2012-06-01T10:32:03.82] at java.lang.ClassLoader.loadClass(ClassLo

      see comments for more details
      2 tests of 1116 passed with jigsaw
      see failed testlist in attachment
      2 tests failed due util class can't be found:
      [2012-06-04T14:44:13.76] Error: spiFactory1_003 : SyncFactoryException: ClassNotFoundException: com.sun.jdbc.cts.util.TestProvider : requested by +test.hybrid
      [2012-06-04T14:44:13.76] com.sun.j2se_sqe.jdbc.utils.TestFailureException: SyncFactoryException: ClassNotFoundException: com.sun.jdbc.cts.util.TestProvider : requested by +test.hybrid
      [2012-06-04T14:44:13.76] at spiFactory1_003.doTest(spiFactory1_003.java:165)
      [2012-06-04T14:44:13.76] at spiFactory1_003.main(spiFactory1_003.java:202)
      [2012-06-04T14:44:13.76] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2012-06-04T14:44:13.76] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [2012-06-04T14:44:13.76] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2012-06-04T14:44:13.76] at java.lang.reflect.Method.invoke(Method.java:474)
      [2012-06-04T14:44:13.76] at helper.ModuleTestRunWrapper.main(ModuleTestRunWrapper.java:47)


      test names:
      javax_sql_rowset/spi/spiFactory1_003
      javax_sql_rowset/spi/spiFactory1_004

      compiled util classes located at: /net/vice/export/home0/testsuites/jdbc_master_ws/src/../share/lib/classes/com/sun/jdbc/cts/util/

      source util classes located at:
      /net/vice/export/home0/testsuites/jdbc_master_ws/utils/com/sun/jdbc/cts/util/

      other util class (PropertyReader) works fine, but TestProvider doesn't work

      looks like this failure due TestProvider extends SyncProvider implements Referenceable

            Unassigned Unassigned
            vakulova Vera Akulova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: