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

JCP: Some Error message should be thrown if running out of space

XMLWordPrintable

    • generic, sparc
    • generic, solaris_10

      Tested_Java_Release : 1.5.0-b99/1.5.0-beta2-b44
      Tested_bundles_Location :
      PIT bundles :/java/j2se-sqe/deployment3/tiger/PIT_builds/JD-PIT-23/
      promoted builds: /net/koori/onestop/jdk/1.5.0/latest/bundles/solaris-sparc
      Tested_Machine_Name : nicole1
      Tested O/S : solaris10

      Problem description:
      This particular problem is reproducible on one of our lab machine "nicole1(solaris 10)" as Applet cache viewer or JNLP cache vierw(javaws) are not getting invoked from the control panel. Invoke control panel and keep on clicking the "View Applications" and "View Applets" but cache viewers won't show up. Try invoking javaws from the commnad line <jre>/bin/javaws it throws following error message :

      Java Web Start splash screen process exiting .....
      Bad installation. No JRE found in configuration file: No such file or directory

      Now close the control panel and again try <jre>/bin/javaws, this time the Java Application cache Viewer window will show up. Try invoking the control panel keeping the JNLP cache viewer window opened and it's throwing the following crash message with core dump:
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGBUS (0xa) at pc=0xff3634c0, pid=5900, tid=1
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b44 mixed mode)
      # Problematic frame:
      # C [libthread.so.1+0x134c0]
      #
      # An error report file with more information is saved as hs_err_pid5900.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Abort - core dumped


      Try <jre>/bin/java -version and it will throw the following error message:
      Error occurred during initialization of VM
      Could not reserve enough space for object heap

      So it's then only I came to know that all is happeing because there is not enough space on the test machine. Can we handle such scenario with some proper error message otherwise user will keep on clicking the provided "View Applications" and "View Applets" buttons expecting the cache viewers to show up. And there are much chances that it can led them to file some bogus bugs against control panel unless and until they try everything mentioned above which can tell them that in actual their machine is running out of space

            vrao Vivek Rao (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: