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

"java.lang.InternalError" when start weblogic server with jdk-9+181

    Details

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      start a weblogic server equipped with jdk-9+181, then face the error "java.lang.InternalError: getSystemClassLoader should only be called after VM booted"

      I think it has the same symptom as this one filed before,
      https://bugs.openjdk.java.net/browse/JDK-8179950

      The full error log stack,

      Error occurred during initialization of VM
      java.lang.Error: java.lang.reflect.InvocationTargetException
      at java.lang.ClassLoader.initSystemClassLoader(java.base@9/ClassLoader.java:1971)
      at java.lang.System.initPhase3(java.base@9/System.java:2060)
      Caused by: java.lang.reflect.InvocationTargetException
      at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9/Native Method)
      at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9/NativeConstructorAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9/DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(java.base@9/Constructor.java:488)
      at java.lang.ClassLoader.initSystemClassLoader(java.base@9/ClassLoader.java:1969)
      at java.lang.System.initPhase3(java.base@9/System.java:2060)
      Caused by: java.lang.InternalError: getSystemClassLoader should only be called after VM booted
      at java.lang.ClassLoader.getSystemClassLoader(java.base@9/ClassLoader.java:1921)
      at com.oracle.classloader.PolicyClassLoader.<init>(PolicyClassLoader.java:168)
      at com.oracle.classloader.PolicyClassLoader.<init>(PolicyClassLoader.java:141)
      at com.oracle.classloader.weblogic.LaunchClassLoader.<init>(LaunchClassLoader.java:36)
      at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(java.base@9/Native Method)
      at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9/NativeConstructorAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9/DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(java.base@9/Constructor.java:488)
      at java.lang.ClassLoader.initSystemClassLoader(java.base@9/ClassLoader.java:1969)
      at java.lang.System.initPhase3(java.base@9/System.java:2060)



      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sfelts Stephen Felts
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: