1 Reply Latest reply on Jan 3, 2014 2:45 PM by thatJeffSmith-Oracle

    Running SQL Developer Unit Tests in Parallel Problem

    Subboss

      Is it possible to run SQLDeveloper Unit Tests in parallel on the same machine ?

       

      We have tried to run 4 distinct sets of Unit Tests, each in an individual session, using the command

       

           headless -J-Dide.runner.class=oracle.dbtools.unit_test.command_line.UtCmdUtil -run -suite -name test -repo repository -db run_as

       

      And this appears to work: all suites in the UT_SUITE_RESULTS table have a status of UT_SUCCESS.

       

      However, for some of the tests in the command window reports out various JAVA exceptions.

       

      Can these be ignored ? We're running version 3.2.20.09.87 of SQL Developer.

       

      Thanks again

       

      Exception initializing 'oracle.ideimpl.history.HistoryManagerImpl' in extension 'Oracle IDE': java.lang.NullPointerException
              at oracle.ideimpl.history.HistoryManagerImpl.initialize(HistoryManagerImpl.java:65)
              at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:407)
              at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
              at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
              at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1941)
              at oracle.ide.IdeCore.startupImpl(IdeCore.java:1565)
              at oracle.ide.Ide.startup(Ide.java:703)
              at oracle.dbtools.raptor.headless.Starter.startIde(Starter.java:23)
              at oracle.ideimpl.Main.start(Main.java:184)
              at oracle.ideimpl.Main.main(Main.java:146)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
              at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
              at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
              at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
              at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
              at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
              at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
              at oracle.ide.boot.Launcher.launch(Launcher.java:68)
              at oracle.ide.boot.Launcher.main(Launcher.java:57)
      Exception initializing 'oracle.ideimpl.history.HistoryManagerAddin' in extension 'Oracle IDE': java.lang.ExceptionInInitializerError
              at oracle.ideimpl.history.HistoryManagerAddin.initialize(HistoryManagerAddin.java:41)
              at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:407)
              at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
              at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
              at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1941)
              at oracle.ide.IdeCore.startupImpl(IdeCore.java:1565)
              at oracle.ide.Ide.startup(Ide.java:703)
              at oracle.dbtools.raptor.headless.Starter.startIde(Starter.java:23)
              at oracle.ideimpl.Main.start(Main.java:184)
              at oracle.ideimpl.Main.main(Main.java:146)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
              at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
              at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
              at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
              at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
              at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
              at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
              at oracle.ide.boot.Launcher.launch(Launcher.java:68)
              at oracle.ide.boot.Launcher.main(Launcher.java:57)
      Caused by: java.lang.NullPointerException
              at oracle.ideimpl.history.HistoryManagerImpl2.<init>(HistoryManagerImpl2.java:116)
              at oracle.ideimpl.history.HistoryManagerImpl2.<clinit>(HistoryManagerImpl2.java:103)
              ... 33 more