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

HotSpot Virtual Machine Error, Internal Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.3.0
    • hotspot
    • None
    • x86
    • windows_nt

      1%>,<%=count%>)">
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                  <% count++; %>

      <% } else
      { %>
      <tr class="DetailTableBodyRow">
                              <td class="Label">WillnotQuote Reason :</td>
                         
      <td class="BodyText"> <%= worksheets
      [i].getWillNotQuoteReason() %></td>
                            </tr>

      <% } // end for the else part
      %>

           <% } // end for (int i = 0; j < worksheets.length; j++)
      %>

      </table>
                
              <br>
              <br>
              <center>
      <tr>
               <td colspan="11" align="center">
                <hr>
               </td>
              </tr>
               <tr>
                <td colspan="11" align="center">
                <a href="javascript:submitdocument('../quote/Preview');"><img
      src="/7thview/images/preview.gif" border="0"></a>&nbsp;<a
      href="javascript:savedraft()"><img src="/7thview/images/save_as_draft.gif"
      width="75" height="36" border="0"></a>&nbsp;
                <a href="javascript:submitcustomer()"><img
      src="/7thview/images/submit_to_customer.gif" width="75" height="36"
      border="0"></a>&nbsp;
                 </td>
                 </tr>
           </center>
            
         
         
              
      <table width="100%">
        <tr class="SectionTableHeaderRow">
          <td class="SectionTableHeaderText" colspan="2"><%= messages.length %
      >Messages posted for this Quote</td>
          <td colspan="2">
          <div align="right"><a href="#messages" onClick="window.open
      ('MessagePost.htm','Message','toolbar=0,location=0,status=0,menubar=0,scrollbars
      =yes,resizable=yes,width=475,height=400, top=120, left=50')"
      class="WhiteLink">Post
                              New Message</a></div>
          </td>
        </tr>
        <tr class="DetailTableHeaderRow">
          <td class="DetailTableHeaderText">To</td>
          <td class="DetailTableHeaderText">From</td>
          <td class="DetailTableHeaderText">Subject</td>
          <td class="DetailTableHeaderText">Date</td>
        </tr>
        <%
      for (int i = 0; i < messages.length; i++)
      {
      %>
                        <tr>
                          <td class="BodyText"><%= messages[i].getAttribute
      ("to_name") %></td>
                          <td class="BodyText"><%= messages[i].getAttribute
      ("from_name") %></td>
                          <td class="BodyText"><%= messages[i].getAttribute
      ("subject") %></td>
                          <td class="BodyText"><%= messages[i].getAttribute("date") %
      ></td>
                        </tr>
      <%
      }
      %>
      </td>
          </tr>
        </table>
        
      </table>
      <input type="hidden" name="deldate<%=count%>" value="none">
      </form>
      </body>


      <script language="javascript">

        function submitdocument(action)
        {
         var form = document.editquote;
         form.action = action;
         form.submit();
         }
         
        function submitcustomer()
        {

        if (validateform())
        {
        
        document.editquote.submitquote.value="true";
        document.editquote.savedraft.value="false";
        document.editquote.submit();
        }
        }
        
        function validateform()
        {
                  <%
      for (int i = 0; i < count; i++)
      {
      %>


      if (document.editquote.deldate<%=i%>.value == "")
      {
      alert("Enter the delivery date here for delivery date " + <%
      = i+1%>);
      document.editquote.deldate<%=i%>.focus();
      return false;
      }

      if(!validateDate(document.editquote.deldate<%= i %>.value))
      {
      alert(" Please Enter a valid Date in the Form
      of dd-mm-yyyy or dd/mm/yyyy for delivery date " + <%= i+1%>);
      document.editquote.deldate<%=i%>.focus();

      return false;
      }


      <%}%>

      return true;

           
        }
        
        function savedraft()
        {
        document.editquote.savedraft.value = "true";
        document.editquote.submitquote.value = "false";
        document.editquote.submit();
        }
        
        function validateDate(Date)
        {
      if(Date == "")
      return true;

      date = new String(Date);
      if(date.length != 10)
      return false;

      strDate = new String(date.substring(0,2));
      strMonth = new String(date.substring(3,5));
      strYear = new String(date.substring(6,10));

      chDelimit1 = date.charAt(2);
      chDelimit2 = date.charAt(5);

      if(chDelimit1 != chDelimit2)
      return false;

      if(chDelimit1 != '/' && chDelimit1 != '-' )
      return false;

      if(strDate.length!=2)
      {
      if(isNaN(strDate))
      return false;
      }

      if(parseInt(strDate) < 0 || parseInt(strDate) > 31)
      {
      return false;
      }

      if(strMonth.length!=2)
      {
      if(isNaN(strMonth))
      return false;
      }

      if(parseInt(strMonth) < 0 || parseInt(strMonth) > 12)
      {
      return false;
      }

      if(strYear.length!=4)
      {
      if(isNaN(strYear))
      return false;
      }

      return true;
        }
        
         function fobvalid()
         {
           if (!isNaN(document.editquote.fob.value))
      {
      alert("enter text field for FOB");
      document.editquote.fob.value="";
      document.editquote.fob.focus();
      return;
      }

      }





      function expdatevalid()
      {
      if(!validateDate(document.editquote.expdate.value))
      {
      alert(" Please Enter a valid Date in the Form
      of dd-mm-yyyy or dd/mm/yyyy for expiration date ");
      document.editquote.expdate.value ="";
      document.editquote.expdate.focus();
      return;
      }
      }

      function refervalid()
         {
         document.editquote.expdate.focus();
      return;

      }

      function termsvalid()
         {
           if (!isNaN(document.editquote.terms.value))
      {
      alert("enter text field for Terms");
      document.editquote.terms.value="";
      document.editquote.terms.focus();
      return;
      }

      document.editquote.deldate0.focus();
      }

      function deldatetab(element1, element2, count)
      {
      var totalCount = <%=count%> - 1;
      for(i = count ; i < totalCount ; i++)
      {
      // if(element1 == null || element1 == "" || element2
      == "none")
      // return;
      // else
      element2.focus();
      }
      }
        
       </script>


        The problem is not due to any data specific issues. Normally, the page is
      loaded correctly the first time that it is accessed, but then on subsequent
      accesses the HotSpot Error occurs. This doesn't occur in a specific pattern
      (somtimes this occurs the first time, sometimes the second time, etc.).

      The environment that we are currently using is as follows:

      OS: NT 4.0 service pack 6a
      Machine: Dell OptiPlex GX200
      RAM: 256 MB
      CPU: Pentium III 800MHz
      IDE: VisualAge version 3.02 EA Java v1.2 (only used to compile code)
      App server: WebLogic 5.1 service pack 5
      JDK version: JDK1.3

      Exact text of error:

      Tue Aug 29 14:49:58 CDT 2000:<I> <ServletContext-General> Generated java file:
      D:\weblogic\myserver\compiled\jsp_servlet\_quote\_quoteedit.java
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 53484152454432554E54494D450E4350500148
      #
      # Problematic Thread: prio=5 tid=0x7bfae0 nid=0x8c runnable
      #
      (Review ID: 109088)
      ======================================================================
      This is the spin-off from 4355769. Most of the crashes in 4355769
      are reported on Linux, which is caused by the way kernel delivers
      signals and is fixed by using a different signal number for suspension
      and resumption. But similar crashes have been reported on Windows too.
      We don't use signal handler for thread suspension/resumption on Windows,
      the crash must be due to a different problem, therefore a new bug report.

      hui.huang@eng 03-08-2001

      ======================================================================

      Name: yyT116575 Date: 11/01/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Server VM (build 2.0fcs-E, mixed mode)

      1. Setup Tomcat 3.1 to run under IIS using ISAPI_REDIRECT.DLL
      2. Use Apache JMeter to run a load test on the Tomcat server against a simple
      JSP page.
      3. Use 20 threads per group in JMeter, delay of 5 ms
      4. Configure 4 other JMeter clients to hit the same JSP page and run it.
      5. Run for 15 minutes
      6. The virtual machine dies.
      7. Error message:
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 53484152454432554E54494D450E4350500148
      #
      # Problematic Thread: prio=5 tid=0x80d2e0 nid=0x11b runnable
      #
      (Review ID: 109929)
      ======================================================================
      Name: yyT116575 Date: 11/08/2000


      synopsis : Hotspot virtual machine error, internal error
      description : java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


      The error occurs while loading a JSP Page. Prior to attempting to load the JSP
      page a generic data object is initialized from form-type data and stored in the
      session. The error occurs while accessing a specific JSP page (which is given
      below)

      <jsp:usebean id="profile" class="com.mfgvendor.common.profile.MfgVendorProfile"
      scope="page"/>
      <jsp:usebean id="sbean" class="com.mfgvendor.web.bean.SecurityBean"
      scope="page"/>
      <jsp:usebean id="jsputil" class="com.mfgvendor.web.util.JSPUtil" scope="page"/>

      <%@ page import="java.util.*" %>
      <%@ page import="com.mfgvendor.app.xml.dataobject.*" %>
      <%@ page import="com.mfgvendor.app.xml.dataobject.common.*" %>



      <%! String willnotquote;
          String deliverydate;
      String out_reference;
      String out_expdate;
      String out_fob;
      String out_terms;
          int id; %>



      <% QuoteDO quote = (QuoteDO)session.getValue("quote");



       Worksheet[] worksheets = (Worksheet[])(quote.getTransactionLines());
       MessageDO[] messages = (MessageDO[])(quote.getMessages());
       CompanyInfo c1 = quote.getCompanyInfo();
       int count=0;
       %>

      <body onLoad=document.editquote.reference.focus()>
      <form method="post" action="" name="editquote" >
      <input type="hidden" name="submitquote">
      <input type="hidden" name="savedraft">

        <table cellpadding="0" cellspacing="0" border="0" width="100%">
          <tr>
            <td colspan="2">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr class="SectionTableBodyRow">
                  <td width="50%" valign="top">
                    <table align="center" class="SectionTable" width="100%">
                      <tr class="SectionTableHeaderRow">
                        <td class="SectionTableHeaderText" colspan="2">Customer
      Information</td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Company:</td>
                        <td class="BodyText"><a href="MemberInfo.htm"><%= c1.getCoName
      () %></a></td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Contact:</td>
                        <td class="BodyText">John Doe</td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label"> Address:</td>
                        <td class="BodyText"><%= c1.getCoAddr1() %></td>
                      </tr>
      <tr>
                        <td class="Label">&nbsp;</td>
                        <td class="BodyText">
      <%
      if (c1.getCoAddr2
      ().length() > 0)
      { %>
      <%= c1.getCoAddr2() %>
      <% } %>
      </td>
                      </tr>
      <tr>
                        <td class="Label">&nbsp;</td>
                        <td class="BodyText">
      <%
      if (c1.getCoAddr3
      ().length() > 0)
      { %>
      <%= c1.getCoAddr3() %>
      <% } %>
      </td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Phone:</td>
                        <td class="BodyText"><%= c1.getCoPhone() %></td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Fax:</td>
                        <td class="BodyText"><%= c1.getCoFax() %></td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label"> Comments:</td>
                        <td class="BodyText">&nbsp; </td>
                      </tr>
                      <tr>
                        <td class="BodyText" colspan="2">
                          <div align="center">This quote will be honored until
      6/25/2000.</div>
                        </td>
                      </tr>
                    </table>
                  </td>
                  <td valign="top" width="50%">
                 <table align="center" class="SectionTable" width="100%">
                   <tr class="SectionTableHeaderRow">
                       <td class="SectionTableHeaderText" colspan="2"> Quote
      Information</td>
                       </tr>
                       <tr class="SectionTableBodyRow">
                         <td class="Label">Status:</td>
                         <td class="BodyText">In <%= quote.getAttribute
      ("quote_status_cd") %></td>
                       </tr>
      <tr class="SectionTableBodyRow">
      <td class="Label" valign="top"> Quote Date:</td>
           <td class="BodyText"><%= jsputil.getDate() %></td>
               </tr>
      <tr class="SectionTableBodyRow">
                       <td class="Label"> Quote Due by:</td>
                        <td class="BodyText"><%= quote.getAttribute
      ("resp_by_date") %></td>
                       </tr>
      <% if (request.getParameter
      ("editid").equals("false"))
      {
      out_reference = "";
      out_expdate = "";
      out_fob = "";
      out_terms = "";
      }
      else
      {
      out_reference =
      quote.getReference();
      out_expdate =
      quote.getExprOnDate();
      out_fob = quote.getFob();
      out_terms = quote.getTerms();
      } %>

      <tr class="SectionTableBodyRow">
                     <td class="Label">Reference:</td>
                        <td class="BodyText">
                         <input type="text" name="reference" size="10" value="<%
      = out_reference %>" onBlur="javascript:refervalid()">
                        </td>
                        </tr>
                        <tr class="SectionTableBodyRow">
                           <td class="Label">Created By:</td>
                              <td class="BodyText"><%= quote.getAttribute
      ("quote_hdr_id") %></td>
                        </tr>
                      <tr class="SectionTableBodyRow">
                       <td class="Label">RFQ Number:</td>
      <td class="BodyText"><a
      href="/mfgvendor/rfq/vendorview?id=<%=quote.getAttribute("rfq_hdr_id")%>"><%=
      quote.getAttribute("rfq_hdr_id") %></a></td>
      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Standard Terms &amp; Conditions:</td>
                        <td class="BodyText"><a href="#top" onClick="window.open
      ('Attachment.htm','Attachment','toolbar=0,location=0,status=0,menubar=0,scrollba
      rs=yes,resizable=yes,width=350,height=400, top=120, left=50')"><img
      src="/7thview/images/PaperClip.jpg" width="20" height="20" alt="Click Here to
      View the Attachment" border="0"></a></td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Expiration Date:</td>
                        <td class="BodyText">
                          <input type="text" name="expdate" size="12" maxlength="25"
      class="BodyText" value="<%= out_expdate %>" onBlur="javascript:expdatevalid()">
                        </td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Auto-Close on Expiration Date:</td>
      <td class="BodyText"><%=
      jsputil.createBooleanDropDown("autoexpire", quote.getAttribute
      ("auto_close_on_exp")) %></td>
      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Notify me if Order is Submitted:</td>
                        <td class="BodyText"><%= jsputil.createBooleanDropDown
      ("notify", quote.getAttribute("ntfy_on_dec")) %></td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">Notify me by:</td>
                        <td class="BodyText"><%= jsputil.createNotificationDropDown
      ("ntfcn", null, quote.getAttribute("ntfcn_prtcl_cd")) %></td>
                      </tr>
                      <tr class="SectionTableBodyRow">
                        <td class="Label">F.O.B.:</td>
                        <td class="BodyText">
                           <input type="text" name="fob" size="10" maxlength="75"
      class="BodyText" value="<%= out_fob %>" onBlur="javascript:fobvalid()">
                        </td>
                      </tr>
      <tr class="SectionTableBodyRow">
                        <td class="Label">Terms:</td>
                        <td class="BodyText">
                           <input type="text" name="terms" size="10" maxlength="75"
      class="BodyText" value="<%= out_terms %>" onBlur="javascript:termsvalid()">
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
      <tr>
            <td colspan="2">
              <table align="center" width="100%">

      <%
      for (int i = 0; i < worksheets.length; i++)
      {
      %>
          
                <tr class="DetailTableHeaderRow">
                  <td class="DetailTableHeaderText">Line</td>
                  <td class="DetailTableHeaderText">Item/Part #</td>
                  <td class="DetailTableHeaderText">Rev</td>
                  <td class="DetailTableHeaderText">Drw #</td>
                  <td class="DetailTableHeaderText">Drw Rev</td>
                  <td class="DetailTableHeaderText">Description</td>
                  <td class="DetailTableHeaderText">Units</td>
                  <td class="DetailTableHeaderText">Date Required</td>
                  <td class="DetailTableHeaderText">Attachment(s)</td>
                  <td class="DetailTableHeaderText">Worksheet</td>
                </tr>
                <tr class="DetailTableBodyRow">
                  <td class="PageTitle">
                    <div class="Label">
                      <div align="center"><%= (i + 1) %></div>
                    </div>
                  </td>
                  <td>
                    <div align="center"><%= worksheets[i].getPartNum() %></div>
                  </td>
                  <td>
                    <div align="center"><%= worksheets[i].getPartRev() %></div>
                  </td>
                  <td>
                    <div align="center"><%= worksheets[i].getDrwNum() %></div>
                  </td>
                  <td>
                    <div align="center"><%= worksheets[i].getDrwRev() %></div>
                  </td>
                  <td>
                    <div align="center"><%= worksheets[i].getDescription() %></div>
                  </td>
                  <td align="right" class="BodyText">
                    <div align="center"><%= worksheets[i].getUomCd() %></div>
                  </td>
                  <td align="right">
                    <div align="center"><%= worksheets[i].getRequiredDate() %></div>
                  </td>
                  <td align="center">
                    <div align="center"><a href="#top" onClick="window.open
      ('Attachment.htm','Attachment','toolbar=0,location=0,status=0,menubar=0,scrollba
      rs=yes,resizable=yes,width=350,height=400, top=120, left=50')"><img
      src="/7thview/images/PaperClip.jpg" width="20" height="20" alt="Click Here to
      View the Attachment" border="0"></a></div>
                  </td>
      <%
      willnotquote = worksheets[i].getWillNotQuote();
      if(willnotquote .equals("Off"))
      { %>
                  <td align="center">
                    <div align="center"><a href="/mfgvendor/quote/worksheet?id=<%= i %
      >"><img src="/7thview/images/Worksheet.jpg" width="20" height="20"
      border="0"></a></div>
                  </td>
      <% } %>

                </tr>
                <tr>
                  <td class="PageTitle">&nbsp;</td>
                  <td class="Label">&nbsp;</td>
                  <td colspan="4">&nbsp;</td>
                  <td class="DetailTableHeaderText" colspan="4"
      bgcolor="#999999">Notes</td>
                </tr>
                <tr class="DetailTableBodyRow">
                  <td class="PageTitle">&nbsp;</td>
                  <td class="Label">&nbsp;</td>
                  <td colspan="4">&nbsp;</td>
                  <td colspan="4">
                    <div align="center">This is where notes about this particular
      item
                      would be</div>
                  </td>
                </tr>
      <%
      willnotquote = worksheets[i].getWillNotQuote();
      if(willnotquote .equals("Off"))
      { %>
      <%
      OrderQuantity[] quantities = worksheets
      [i].getOrderQuantity();
      %>
                <tr>
                  <td colspan="11" align="center">
                    <table class="DetailTable">
                      <tr class="DetailTableBodyRow">
                        <td class="Label">Order Quantity:</td>
      <% for (int j = 0; j < quantities.length; j++)
      { %>
                        <td width="38">
                  <div align="center" class="BodyTextUnJust"><%=
      quantities[j].getOrderQuantity() %> </div>
                   </td>
      <% } //end for order quantity loop
      %>
      <td class="Label">Vendor's EQQ:</td>
                      </tr>
                      <tr class="DetailTableBodyRow">
                        <td class="Label"> Price:</td>
                        <% for (int j = 0; j < quantities.length; j++)
      { %>

      <% if (quantities[j].getCustomPrice() != null
      && quantities[j].getCustomPrice().length() > 0)
      { %>
      <td width="38">
                                  <div align="center" class="BodyTextUnJust"><%=
      quantities[j].getCustomPrice() %></div>
                                </td>

      <% } else { %>

      <td width="38">
                                  <div align="center" class="BodyTextUnJust"><%=
      quantities[j].getCalculatedPrice() %></div>
                                </td>
      <%
      } // for else part
      %>
      <% } //end for Price loop
      %>

      <% if (request.getParameter("editid").equals
      ("false"))
      {
      deliverydate = "";
      }
      else deliverydate =
      quote.getDeliveryDate(i); %>
                      </tr>
                      <tr class="DetailTableBodyRow">
                        <td class="Label">Delivery Date:</td>
                        <td colspan="5">
                          <input type="text" name="deldate<%= count %>" size="15"
      maxlength="25" class="BodyText" value="<%= deliverydate %>"
      onBlur="javascript:deldatetab(document.editquote.deldate<%=count%
      >,document.editquote.deldate<%=count +

            hhuangsunw Hui Huang (Inactive)
            hhuangsunw Hui Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: