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

A nonfatal internal JIT (3.00.072b(x)) error 'Relocation error: NULL relocation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.8
    • vm-legacy
    • x86
    • windows_98, windows_nt



      Name: skT88420 Date: 06/07/99


      File:BugApplet.java
      import java.awt.*;
      import javax.swing.*;
      import com.sun.xml.tree.*;
      import org.w3c.dom.*;
      import java.net.*;
      import java.io.*;

      public class BugApplet extends JApplet{
        URL url;
        XmlDocument doc;
        public void init()
      {
          try{
            url = new URL("http://Sandman/dataitem.xml");
            URLConnection con = url.openConnection();
            con.setUseCaches(false);
            InputStream in = con.getInputStream();
            BufferedReader result = new BufferedReader(new InputStreamReader(in));
            String data = result.readLine();
            in = con.getInputStream();
            while (data!=null){
              System.out.println(data);
              data = result.readLine();
            }
            doc = XmlDocument.createXmlDocument(in,false);
          }catch(Exception e){e.printStackTrace();}
        }
      }
      File:BugApp.html
      <html>
      <head>
      <title>Points Demo</title>
      </head>
      <body text="#CCCCCC" bgcolor="#000000" link="#CC33CC" vlink="#CC33CC" alink="#3366FF">
      <center>
      <img SRC="devweb.jpg" height=131 width=482>
      <p>
      <applet code=BugApplet archive=BugApplet.jar width=469 height=261 >
      </applet>

      </center>
      </body>
      </html>
      C:\com\circon\point\OpcClient>javac BugApplet.java
      C:\com\circon\point\OpcClinet>jar -cvf BugApplet.jar BugApplet.class
      OUTPUT:
      C:\com\circon\point\OpcClient>appletviewer BugApp.html
      <?xml version="1.0"?>

      <dataItems serverName="FactorySoft.Sample">
        <group name="A">
          <item name="Sine" id="A.Sine" />
        </group>
        <group name="Simulate">
          <group name="Float">
            <item name="Ramp" id="Simulate.Float.Ramp" />
            <item name="Random" id="Simulate.Float.Random" />
            <item name="Sine" id="Simulate.Float.Sine" />
          </group>
          <item name="Ramp" id="Simulate.Ramp" />
          <item name="Random" id="Simulate.Random" />
          <item name="Sine" id="Simulate.Sine" />
        </group>
        <group name="Modbus">
          <group name="Coils">
            <item name="In1" id="Modbus.Coils.In1" />
            <item name="In2" id="Modbus.Coils.In2" />
            <item name="Out1" id="Modbus.Coils.Out1" />
            <item name="Out2" id="Modbus.Coils.Out2" />
          </group>
          <item name="Tag1" id="Modbus.Tag1" />
          <item name="Tag2" id="Modbus.Tag2" />
          <item name="Tag3" id="Modbus.Tag3" />
          <item name="Tag4" id="Modbus.Tag4" />
        </group>
      </dataItems>
      A nonfatal internal JIT (3.00.072b(x)) error 'Relocation error: NULL relocation target' has occurred in :
        'com/sun/xml/parser/Parser.maybeComment (Z)Z': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi

      org.xml.sax.SAXParseException: com.sun.xml.parser/P-067
              at com.sun.xml.parser.Parser.fatal(e:\com\sun\xml\parser\Parser.java:2797)
              at com.sun.xml.parser.Parser.fatal(e:\com\sun\xml\parser\Parser.java:2785)
              at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
              at com.sun.xml.parser.Parser.parse(e:\com\sun\xml\parser\Parser.java:283)
              at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.java:225)
              at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.java:184)
              at BugApplet.init(Compiled Code)
              at sun.applet.AppletPanel.run(Compiled Code)
              at java.lang.Thread.run(Thread.java:466)
      C:\com\circon\point\OpcClient>java -version
      java version "1.1.8"

      C:\com\circon\point\OpcClient>java -fullversion
      java full version "JDK1.1.8K"

      NT4.0 SP5
      xml-tr2
      (Review ID: 84041)
      ======================================================================

      Name: krT82822 Date: 01/25/2000


      java version "1.1.8"

      The comment below was written when i run AgentBuilder:

      A nonfatal internal JIT (3.00.072b(x)) error 'Relocation error: NULL relocation
      target' has occurred in :
        'com/reticular/agentBuilder/util/io/yh.vjb ()Ljava/lang/Object;': Interpreting
       method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      A nonfatal internal JIT (3.00.072b(x)) error 'Relocation error: NULL relocation
      target' has occurred in :
        'com/reticular/agentBuilder/util/io/ah.<init> (Ljava/lang/String;J)V': Interpr
      eting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      I don't know how it happened as it is not my IDE. However AgentBuilder is
      available for free. www.AgentBuilder.com
      (Review ID: 100319)
      ======================================================================

            Unassigned Unassigned
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: