Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-625

Recreate feature does not work on JDK 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0
    • 10.0
    • db - DB schema
    • None

    Description

      Found in NetCat 9 through work with http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/1

      Recreate feature does not work in JDK 10. Under JDK 8 tables can be recreated without problem. Under JDK 10 grab file was created under JDK 10 can be used for recreate table from grab file.

      Stack trace i have put below.

       

      java.lang.ClassNotFoundException: javax.xml.ws.Holder
          at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
          at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
          at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
      Caused: java.lang.ClassNotFoundException: javax.xml.ws.Holder starting from ModuleCL@21abeae7[org.netbeans.modules.db] with possible defining loaders [ModuleCL@5b5306b0[org.netbeans.modules.websvc.jaxws21api]] and declared parents [ModuleCL@59bbf5cf[org.openide.nodes], ModuleCL@47742c04[org.openide.filesystems.nb], ModuleCL@7b767775[org.netbeans.modules.javahelp], org.netbeans.MainImpl$BootClassLoader@6d2b0d81, ModuleCL@14b1173d[org.netbeans.core.ide], ModuleCL@400a964c[org.netbeans.modules.project.libraries], ModuleCL@52473f06[org.openide.explorer], ModuleCL@77ab3fc5[org.openide.awt], ModuleCL@2f94fb16[org.netbeans.modules.db.metadata.model], ModuleCL@1eff6e71[org.netbeans.modules.keyring], ...6 more]
          at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
      Caused: java.lang.NoClassDefFoundError: javax/xml/ws/Holder
          at org.netbeans.modules.db.explorer.action.RecreateTableAction$2.run(RecreateTableAction.java:138)
          at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
          at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
          at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
          at org.openide.util.RequestProcessor.post(RequestProcessor.java:406)
          at org.netbeans.modules.db.explorer.action.RecreateTableAction.performAction(RecreateTableAction.java:100)
          at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:561)
          at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
          at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
          at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
          at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:558)
          at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
          at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
          at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
          at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
          at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
          at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980)
          at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1024)
          at java.desktop/java.awt.Component.processMouseEvent(Component.java:6589)
          at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
          at java.desktop/java.awt.Component.processEvent(Component.java:6354)
          at java.desktop/java.awt.Container.processEvent(Container.java:2260)
          at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2318)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
          at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
          at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
          at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2304)
          at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
          at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
          at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
          at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
          at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
          at java.base/java.security.AccessController.doPrivileged(Native Method)
          at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
          at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
          at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
          at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
          at java.base/java.security.AccessController.doPrivileged(Native Method)
          at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
          at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
          at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
          at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
          at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
          at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
          at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
          at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      [catch] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

      Attachments

        Activity

          People

            matthiasblaesing Matthias Bläsing
            Enroi Vldimir Orlyansky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: