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

org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl uses internal class com.sun.org.apache.xerces.internal.impl.dv.util.Base64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 12.3, 12.4
    • None
    • serverplugins - Tomcat
    • Product Version: Apache NetBeans IDE 12.3
      Java: 16; OpenJDK 64-Bit Server VM 16+36-2231
      Runtime: OpenJDK Runtime Environment 16+36-2231
      System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

    Description

      Netbeans 12.3 fails to deploy on Tomcat when running under JDK 16

      SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.openide.nodes.AsynchChildrenSEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.openide.nodes.AsynchChildrenjava.lang.IllegalAccessError: class org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl (in unnamed module @0x145afd71) cannot access class com.sun.org.apache.xerces.internal.impl.dv.util.Base64 (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.impl.dv.util to unnamed module @0x145afd71 at org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl.run(TomcatManagerImpl.java:533) at org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl.list(TomcatManagerImpl.java:372) at org.netbeans.modules.tomcat5.deploy.TomcatManager.modules(TomcatManager.java:718) at org.netbeans.modules.tomcat5.deploy.TomcatManager.getRunningModules(TomcatManager.java:539) at org.netbeans.modules.tomcat5.ui.nodes.TomcatWebModuleChildrenFactory.createKeys(TomcatWebModuleChildrenFactory.java:107) at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:190) 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)[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              piercemar Pierre Maréchal
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h