-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0, 1.2.1, 1.2.2
-
x86
-
windows_95, windows_98, windows_nt
.setSelectedIndex(0);
sliderModel.setMultiplier(units[0].multiplier);
unitChooser.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
//Set new maximums for the sliders.
int i = unitChooser.getSelectedIndex();
sliderModel.setMultiplier(units[i].multiplier);
controller.resetMaxValues(false);
}
});
//Add the slider.
slider = new JSlider(sliderModel);
sliderModel.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
textField.setValue(sliderModel.getDoubleValue());
}
});
//Make the textfield/slider group a fixed size.
JPanel unitGroup = new JPanel() {
public Dimension getMinimumSize() {
return getPreferredSize();
}
public Dimension getPreferredSize() {
return new Dimension(150,
super.getPreferredSize().height);
}
public Dimension getMaximumSize() {
return getPreferredSize();
}
};
if (COLORS) {
unitGroup.setBackground(Color.blue);
}
unitGroup.setBorder(BorderFactory.createEmptyBorder(
0,0,0,5));
unitGroup.setLayout(new BoxLayout(unitGroup,
BoxLayout.Y_AXIS));
unitGroup.add(textField);
unitGroup.add(slider);
setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
add(unitGroup);
add(unitChooser);
unitGroup.setAlignmentY(TOP_ALIGNMENT);
unitChooser.setAlignmentY(TOP_ALIGNMENT);
}
/**
* Returns the multiplier (units/meter) for the currently
* selected unit of measurement.
*/
public double getMultiplier() {
return sliderModel.getMultiplier();
}
public double getValue() {
return sliderModel.getDoubleValue();
}
}
BUGREPORT ERROR WHILE TRYING TO COMPLILE THE PROGRAM CONVERTER.JAVA GIVEN IN JAVA TUTORIAL /UI/SWINGOVERVIEW/example-swing
Below Reported error is not complete. Since this time I was running the
Compiling the program from Command few things scrolled out of the MS-dos window.
at sun.tools.java.BinaryClass.load(Compiled Code)
at sun.tools.javac.BatchEnvironment.loadFile(BatchEnvironment.java:565)
at sun.tools.javac.BatchEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Environment.java:174)
at sun.tools.java.Environment.loadDefinition(Environment.java:174)
at sun.tools.java.Environment.loadDefinition(Environment.java:174)
at sun.tools.java.ClassDeclaration.getClassDefinitionNoCheck(Compiled Co
de)
at sun.tools.java.Imports.resolve(Compiled Code)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1079)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.Environment.getQualifiedClassDefinition(Compiled Code)
at sun.tools.java.Environment.resolve(Compiled Code)
at sun.tools.javac.SourceMember.check(Compiled Code)
at sun.tools.javac.SourceClass.checkMembers(Compiled Code)
at sun.tools.javac.SourceClass.checkInternal(Compiled Code)
at sun.tools.javac.SourceClass.check(SourceClass.java:511)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
error: An exception has occurred in the compiler; please file a bug report (http
://java.sun.com/cgi-bin/bugreport.cgi).
NOTE: where ever the statement Tool Returned 1 or Any other Integer value is there it means the program is run from Visual studio VC++ IDE using Tool options which allows you to add Various kind of tool to the IDE including javac and java
(Review ID: 94435)
======================================================================
Name: krT82822 Date: 12/06/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
Runnig a Servlet following error occured:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'KeywordSearch.getIncidents
(Lcom/objectspace/prefix/db/IRDBFacade;Ljava/lang/String;)Ljava/util/Vector;':
Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
(Review ID: 98699)
======================================================================
Name: vi73552 Date: 03/28/99
F:\users\dah\proj\java\Apps\quicken>\jdk1.2\bin\java QifMunglerCl --help
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/util/ResourceBundle.findBundle (Ljava/lang/String;Ljava/lang/StringBuffe
r;Ljava/lang/ClassLoader;Z)Ljava/util/ResourceBundle;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
I have an installation problem related to the registry also.
I have 1.2 installed and I also have JBuilder2 installed. This
is the message I get if I do not explicitly state which version of Java
to run
F:\users\dah\proj\java\Apps\quicken>java QifMunglerCl --help
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.1.6', but '1.2' is required.
(Review ID: 56197)
======================================================================
Name: skT88420 Date: 06/02/99
=20
Sorry, I=B4m an absolute beginner, so I can=B4t tell you more
I just compiled this Source, when the compiler puts out the=20
following error:
A nonfatal internal JIT(3.00.078(x)) error 'Structured Exception
(c0000005)' has occurred in 'java/io/StreamTokenizer.nextToken()'I:
Interpreting method.
The Source:
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class twoclassesevent extends Applet
{
Dimension wiegross=3D new Dimension();
java.awt.Point clickPoint =3D null;
public void paint (Graphics g)
{
g.setColor(Color.darkGray);
g.fillRect(0,0,400,300);
}
public void init()
{
drawsome zeichne =3Dnew drawsome(200,200);
add(zeichne);
resize(400,300);
}
class drawsome extends Canvas
{
drawsome(int width, int height)
{
wiegross.width=3Dwidth;
wiegross.height=3Dheight;
}
=20
public void paint (Graphics g)
{
g.setColor(Color.gray);
g.fillRect(30,30,80,80);
}
public Dimension preferredSize()
{
return wiegross;
}
}
class tuwas implements MouseListener
=20
{ =20
=20
public void mousePressed(MouseEvent event)
{
clickPoint =3D event.getPoint();
repaint();
}
public void mouseEntered(MouseEvent e)
{
}
public void mouseMoved(MouseEvent e)
{
}
public void mouseReleased(MouseEvent e)
{
}
public void mouseExited(MouseEvent e)
{
}
public void mouseClicked(MouseEvent e)
{
}
=20
=20
=20
=20
}
}
(Review ID: 83796)
======================================================================
Name: skT88420 Date: 06/02/99
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/tree/Statement.checkLabel (Lsun/tools/java/Environment;Lsun/tools/t
ree/Context;)V': Interpreting method.
(Review ID: 83794)
======================================================================
Name: skT88420 Date: 06/03/99
======================================================================
Name: skT88420 Date: 06/16/99
---
1. \jdk1.2\bin\java projectY.MyInteger
---
2. MyInteger.java ->
package projectY;
import java.util.Vector;
public class MyInteger{
Vector digits;
MyInteger(String s){
digits = new Vector();
for(int i=0; i < s.length()/9; i++){
digits.addElement(s.substring(s.length()-(i+1)*9, s.length() - i*9));
System.out.println("s.substr is : " + s.substring(s.length()-(i+1)*9, s.length() - i*9));
}
int k = 9 - s.length()%9;
System.out.println("eto k" + k);
if (k != 9){
String str = "";
for(int j=0; j<k; j++){
str+="0";
}
str += s.substring(0, s.length()%9);
System.out.println("eto" + str);
digits.addElement(str);
}
}
public String toString(){
String s = "";
for(int i=0; i< digits.size(); i++){
s += ((String) digits.elementAt(i)) + ":";
}
return s;
}
public static void main(String[] arg){
MyInteger x = new MyInteger("123");
System.out.println("123 = X is : " + x);
}
}
--- end of MyInteger.java ---
3.
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'projectY/MyInteger.<init> (Ljava/lang/String;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
---
4. ---
5.
c:\jdk1.2>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
--
c:\jdk1.2>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
---
6. ---
(Review ID: 84393)
======================================================================
Name: krT82822 Date: 08/05/99
D:\users\java\laipe\examples>java -classpath d:\users\java\classes;. f1 >> pp.pp
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'f1.GenerateData ([FIIIIIZ)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 93522)
======================================================================
Name: krT82822 Date: 08/05/99
While running Jigsaw 2.0.3.....
"A nonfatal internal JIT (3.00.78(x)) error 'Structured Exception(c0000005)' has occurred in:
'java/lang/String.<init> ([BIII)V': Interpreting method.
Please report this error in detail to http://....."
(Review ID: 93530)
======================================================================
Name: skT88420 Date: 08/12/99
We are using servlets(JSDK 2.0) for generating reports based on the data that we get from the user.
When we submit data to a servlet the following message appears.
The do post method retrives all the text (data) posted and generates a report.
The HTML Document that submits data has only text(single line 50), textareas(mutiline 13).
Message displayed on the console
---------------------------------
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has occurred in :
rem2.doPost (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
(Review ID: 93800)
======================================================================
Name: skT88420 Date: 08/18/99
1. Exact steps to reproduce the problem
=======================================
The program is doing a lookup from the Jini Lookup service.
The error occurs when the reggie-dl.jar is downloaded from the
httpd server. If reggie-dl.jar is in the local CLASSPATH, the
error does not occur.
2. Java SOURCE CODE that demonstrates the problme, if possible.
===============================================================
Not availab.e
3. Exact text of error message:
===============================
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'monfox/dynamicGenie/browser/ConnectionManager.getServices (Lnet/jini/core/loo
kup/ServiceTemplate;)Lnet/jini/core/lookup/ServiceMatches;': Interpreting method
.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
4. Any trace information.
=========================
None.
5. The output of the command java -version
==========================================
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
6. Include additional configuration information
================================================
N/A
(Review ID: 94090)
======================================================================
Name: skT88420 Date: 08/26/99
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has occurred in :
'sun/tools/javac/Main.compile ([Ljava/lang/String;)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi_bin/bugreport.cgi
.\Send.java:4: An interface can't implement anything; it can only extend other interfaces.
public interface Send extends Remote implements Serializable{
^
1 error
Tool returned code: 1
source program:
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Send extends Remote implements Serializable{
public void sendOrder(DataOrder order) throws RemoteException;
public DataOrder getOrder() throws RemoteException;
}
commandline:
javac RemoteServer.java
RemoteServer.java implemnts Send.java interface
RemoteServer.java is an example taken from
Java Programming Language Basics, Part 2 by Monica Pawlan
os :windows95
----------------------------------------------------------------------
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>java SwingApplication
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>java SwingApplication
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>javac SwingApplicatio
n.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.makeClassDefinition (Lsun/tools/java/Environ
ment;JLsun/tools/java/IdentifierToken;Ljava/lang/String;ILsun/tools/java/Identif
ierToken;[Lsun/tools/java/IdentifierToken;Lsun/tools/java/ClassDefinition;)Lsun/
tools/java/ClassDefinition;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>
source:Swing Application:
-----------------------
import javax.swing.*;
//This is the final package name.
//import com.sun.java.swing.*;
//Used by JDK 1.2 Beta 4 and all
//Swing releases before Swing 1.1 Beta 3
import java.awt.*;
import java.awt.event.*;
public class SwingApplication implements ActionListener {
private JLabel label;
private static String labelPrefix = "Number of button clicks: ";
private int numClicks = 0;
public SwingApplication() {
//Create the top-level container.
JFrame frame = new JFrame("SwingApplication");
//Now create a button and label to go in it.
JButton button = new JButton("I'm a Swing button!");
button.setMnemonic('i');
button.addActionListener(this);
label = new JLabel(labelPrefix + "0 ");
label.setLabelFor(button);
/* * An easy way to put space between a top-level Container
* and its contents is to put the contents in a JPanel
* that has an "empty" border.*/
Box pane = new Box(BoxLayout.Y_AXIS);
pane.setBorder(BorderFactory.createEmptyBorder(30, 30, 10, 30));
pane.setBorder(BorderFactory.createRaisedBevelBorder());
pane.setLayout(new GridLayout(0, 1));
pane.setLayout(new BoxLayout(pane,BoxLayout.Y_AXIS));
pane.add(button);
pane.add(label);
//Add the JPanel to the frame.frame.getContentPane().add(pane,BorderLayout.CENTER);
//Finish setting up the frame, and show it.
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
// frame.pack();
frame.setSize(100,200);
frame.setVisible(true);
} public void actionPerformed(ActionEvent e) {
numClicks++;
label.setText(labelPrefix + numClicks); }
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(
UIManager.getCrossPlatformLookAndFeelClassName());
} catch (Exception e) { }
new SwingApplication(); //Create and show the GUI.
}
}
***************************************************************************************************************************************************************
java.lang.NullPointerException
at sun.tools.java.Parser.parseMethodExpression(Compiled Code)
at sun.tools.java.Parser.parseTerm(Compiled Code)
at sun.tools.java.Parser.parseExpression(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseBlockStatement(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseBlockStatement(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseField(Compiled Code)
at sun.tools.java.Parser.parseClassBody(Compiled Code)
at sun.tools.java.Parser.parseNamedClass(Parser.java:1870)
at sun.tools.java.Parser.parseClass(Parser.java:1807)
at sun.tools.java.Parser.parseFile(Compiled Code)
at sun.tools.javac.BatchEnvironment.parseFile(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
error: An error has occurred in the compiler; please file a bug report
(http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
Tool returned code: 4
Error occured while compiling below given source code
Source Code :
/*
* 1.1+Swing version.
*/
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.text.NumberFormat;
public class ConversionPanel extends JPanel {
DecimalField textField;
JComboBox unitChooser;
JSlider slider;
ConverterRangeModel sliderModel;
Converter controller;
Unit[] units;
String title;
final static boolean DEBUG = false;
final static boolean COLORS = true;
final static int MAX = 10000;
ConversionPanel(Converter myController, String myTitle,
Unit[] myUnits,
ConverterRangeModel myModel) {
if (COLORS) {
setBackground(Color.cyan);
}
setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder(myTitle),
BorderFactory.createEmptyBorder(5,5,5,5)));
//Save arguments in instance variables.
controller = myController;
units = myUnits;
title = myTitle;
sliderModel = myModel;
//Add the text field. It initially displays "0" and needs
//to be at least 10 columns wide.
NumberFormat numberFormat = NumberFormat.getNumberInstance();
numberFormat.setMaximumFractionDigits(2);
textField = new DecimalField(0, 10, numberFormat);
textField.setValue(sliderModel.getDoubleValue());
textField.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
sliderModel.setDoubleValue(textField.getValue());
}
});
//Add the combo box.
unitChooser = new JComboBox();
for (int i = 0; i < units.length; i++) { //Populate it.
unitChooser.addItem(units[i].description);
}
unitChooser
sliderModel.setMultiplier(units[0].multiplier);
unitChooser.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
//Set new maximums for the sliders.
int i = unitChooser.getSelectedIndex();
sliderModel.setMultiplier(units[i].multiplier);
controller.resetMaxValues(false);
}
});
//Add the slider.
slider = new JSlider(sliderModel);
sliderModel.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
textField.setValue(sliderModel.getDoubleValue());
}
});
//Make the textfield/slider group a fixed size.
JPanel unitGroup = new JPanel() {
public Dimension getMinimumSize() {
return getPreferredSize();
}
public Dimension getPreferredSize() {
return new Dimension(150,
super.getPreferredSize().height);
}
public Dimension getMaximumSize() {
return getPreferredSize();
}
};
if (COLORS) {
unitGroup.setBackground(Color.blue);
}
unitGroup.setBorder(BorderFactory.createEmptyBorder(
0,0,0,5));
unitGroup.setLayout(new BoxLayout(unitGroup,
BoxLayout.Y_AXIS));
unitGroup.add(textField);
unitGroup.add(slider);
setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
add(unitGroup);
add(unitChooser);
unitGroup.setAlignmentY(TOP_ALIGNMENT);
unitChooser.setAlignmentY(TOP_ALIGNMENT);
}
/**
* Returns the multiplier (units/meter) for the currently
* selected unit of measurement.
*/
public double getMultiplier() {
return sliderModel.getMultiplier();
}
public double getValue() {
return sliderModel.getDoubleValue();
}
}
BUGREPORT ERROR WHILE TRYING TO COMPLILE THE PROGRAM CONVERTER.JAVA GIVEN IN JAVA TUTORIAL /UI/SWINGOVERVIEW/example-swing
Below Reported error is not complete. Since this time I was running the
Compiling the program from Command few things scrolled out of the MS-dos window.
at sun.tools.java.BinaryClass.load(Compiled Code)
at sun.tools.javac.BatchEnvironment.loadFile(BatchEnvironment.java:565)
at sun.tools.javac.BatchEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Environment.java:174)
at sun.tools.java.Environment.loadDefinition(Environment.java:174)
at sun.tools.java.Environment.loadDefinition(Environment.java:174)
at sun.tools.java.ClassDeclaration.getClassDefinitionNoCheck(Compiled Co
de)
at sun.tools.java.Imports.resolve(Compiled Code)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1079)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.Environment.getQualifiedClassDefinition(Compiled Code)
at sun.tools.java.Environment.resolve(Compiled Code)
at sun.tools.javac.SourceMember.check(Compiled Code)
at sun.tools.javac.SourceClass.checkMembers(Compiled Code)
at sun.tools.javac.SourceClass.checkInternal(Compiled Code)
at sun.tools.javac.SourceClass.check(SourceClass.java:511)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
error: An exception has occurred in the compiler; please file a bug report (http
://java.sun.com/cgi-bin/bugreport.cgi).
NOTE: where ever the statement Tool Returned 1 or Any other Integer value is there it means the program is run from Visual studio VC++ IDE using Tool options which allows you to add Various kind of tool to the IDE including javac and java
(Review ID: 94435)
======================================================================
Name: krT82822 Date: 12/06/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
Runnig a Servlet following error occured:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'KeywordSearch.getIncidents
(Lcom/objectspace/prefix/db/IRDBFacade;Ljava/lang/String;)Ljava/util/Vector;':
Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
(Review ID: 98699)
======================================================================
Name: vi73552 Date: 03/28/99
F:\users\dah\proj\java\Apps\quicken>\jdk1.2\bin\java QifMunglerCl --help
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/util/ResourceBundle.findBundle (Ljava/lang/String;Ljava/lang/StringBuffe
r;Ljava/lang/ClassLoader;Z)Ljava/util/ResourceBundle;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
I have an installation problem related to the registry also.
I have 1.2 installed and I also have JBuilder2 installed. This
is the message I get if I do not explicitly state which version of Java
to run
F:\users\dah\proj\java\Apps\quicken>java QifMunglerCl --help
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.1.6', but '1.2' is required.
(Review ID: 56197)
======================================================================
Name: skT88420 Date: 06/02/99
=20
Sorry, I=B4m an absolute beginner, so I can=B4t tell you more
I just compiled this Source, when the compiler puts out the=20
following error:
A nonfatal internal JIT(3.00.078(x)) error 'Structured Exception
(c0000005)' has occurred in 'java/io/StreamTokenizer.nextToken()'I:
Interpreting method.
The Source:
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class twoclassesevent extends Applet
{
Dimension wiegross=3D new Dimension();
java.awt.Point clickPoint =3D null;
public void paint (Graphics g)
{
g.setColor(Color.darkGray);
g.fillRect(0,0,400,300);
}
public void init()
{
drawsome zeichne =3Dnew drawsome(200,200);
add(zeichne);
resize(400,300);
}
class drawsome extends Canvas
{
drawsome(int width, int height)
{
wiegross.width=3Dwidth;
wiegross.height=3Dheight;
}
=20
public void paint (Graphics g)
{
g.setColor(Color.gray);
g.fillRect(30,30,80,80);
}
public Dimension preferredSize()
{
return wiegross;
}
}
class tuwas implements MouseListener
=20
{ =20
=20
public void mousePressed(MouseEvent event)
{
clickPoint =3D event.getPoint();
repaint();
}
public void mouseEntered(MouseEvent e)
{
}
public void mouseMoved(MouseEvent e)
{
}
public void mouseReleased(MouseEvent e)
{
}
public void mouseExited(MouseEvent e)
{
}
public void mouseClicked(MouseEvent e)
{
}
=20
=20
=20
=20
}
}
(Review ID: 83796)
======================================================================
Name: skT88420 Date: 06/02/99
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/tree/Statement.checkLabel (Lsun/tools/java/Environment;Lsun/tools/t
ree/Context;)V': Interpreting method.
(Review ID: 83794)
======================================================================
Name: skT88420 Date: 06/03/99
======================================================================
Name: skT88420 Date: 06/16/99
---
1. \jdk1.2\bin\java projectY.MyInteger
---
2. MyInteger.java ->
package projectY;
import java.util.Vector;
public class MyInteger{
Vector digits;
MyInteger(String s){
digits = new Vector();
for(int i=0; i < s.length()/9; i++){
digits.addElement(s.substring(s.length()-(i+1)*9, s.length() - i*9));
System.out.println("s.substr is : " + s.substring(s.length()-(i+1)*9, s.length() - i*9));
}
int k = 9 - s.length()%9;
System.out.println("eto k" + k);
if (k != 9){
String str = "";
for(int j=0; j<k; j++){
str+="0";
}
str += s.substring(0, s.length()%9);
System.out.println("eto" + str);
digits.addElement(str);
}
}
public String toString(){
String s = "";
for(int i=0; i< digits.size(); i++){
s += ((String) digits.elementAt(i)) + ":";
}
return s;
}
public static void main(String[] arg){
MyInteger x = new MyInteger("123");
System.out.println("123 = X is : " + x);
}
}
--- end of MyInteger.java ---
3.
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'projectY/MyInteger.<init> (Ljava/lang/String;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
---
4. ---
5.
c:\jdk1.2>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
--
c:\jdk1.2>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
---
6. ---
(Review ID: 84393)
======================================================================
Name: krT82822 Date: 08/05/99
D:\users\java\laipe\examples>java -classpath d:\users\java\classes;. f1 >> pp.pp
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'f1.GenerateData ([FIIIIIZ)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 93522)
======================================================================
Name: krT82822 Date: 08/05/99
While running Jigsaw 2.0.3.....
"A nonfatal internal JIT (3.00.78(x)) error 'Structured Exception(c0000005)' has occurred in:
'java/lang/String.<init> ([BIII)V': Interpreting method.
Please report this error in detail to http://....."
(Review ID: 93530)
======================================================================
Name: skT88420 Date: 08/12/99
We are using servlets(JSDK 2.0) for generating reports based on the data that we get from the user.
When we submit data to a servlet the following message appears.
The do post method retrives all the text (data) posted and generates a report.
The HTML Document that submits data has only text(single line 50), textareas(mutiline 13).
Message displayed on the console
---------------------------------
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has occurred in :
rem2.doPost (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
(Review ID: 93800)
======================================================================
Name: skT88420 Date: 08/18/99
1. Exact steps to reproduce the problem
=======================================
The program is doing a lookup from the Jini Lookup service.
The error occurs when the reggie-dl.jar is downloaded from the
httpd server. If reggie-dl.jar is in the local CLASSPATH, the
error does not occur.
2. Java SOURCE CODE that demonstrates the problme, if possible.
===============================================================
Not availab.e
3. Exact text of error message:
===============================
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'monfox/dynamicGenie/browser/ConnectionManager.getServices (Lnet/jini/core/loo
kup/ServiceTemplate;)Lnet/jini/core/lookup/ServiceMatches;': Interpreting method
.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
4. Any trace information.
=========================
None.
5. The output of the command java -version
==========================================
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
6. Include additional configuration information
================================================
N/A
(Review ID: 94090)
======================================================================
Name: skT88420 Date: 08/26/99
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has occurred in :
'sun/tools/javac/Main.compile ([Ljava/lang/String;)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi_bin/bugreport.cgi
.\Send.java:4: An interface can't implement anything; it can only extend other interfaces.
public interface Send extends Remote implements Serializable{
^
1 error
Tool returned code: 1
source program:
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Send extends Remote implements Serializable{
public void sendOrder(DataOrder order) throws RemoteException;
public DataOrder getOrder() throws RemoteException;
}
commandline:
javac RemoteServer.java
RemoteServer.java implemnts Send.java interface
RemoteServer.java is an example taken from
Java Programming Language Basics, Part 2 by Monica Pawlan
os :windows95
----------------------------------------------------------------------
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>java SwingApplication
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>java SwingApplication
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>javac SwingApplicatio
n.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.makeClassDefinition (Lsun/tools/java/Environ
ment;JLsun/tools/java/IdentifierToken;Ljava/lang/String;ILsun/tools/java/Identif
ierToken;[Lsun/tools/java/IdentifierToken;Lsun/tools/java/ClassDefinition;)Lsun/
tools/java/ClassDefinition;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
C:\Java docs\tutorial\tutorial\ui\swingStart\example-swing>
source:Swing Application:
-----------------------
import javax.swing.*;
//This is the final package name.
//import com.sun.java.swing.*;
//Used by JDK 1.2 Beta 4 and all
//Swing releases before Swing 1.1 Beta 3
import java.awt.*;
import java.awt.event.*;
public class SwingApplication implements ActionListener {
private JLabel label;
private static String labelPrefix = "Number of button clicks: ";
private int numClicks = 0;
public SwingApplication() {
//Create the top-level container.
JFrame frame = new JFrame("SwingApplication");
//Now create a button and label to go in it.
JButton button = new JButton("I'm a Swing button!");
button.setMnemonic('i');
button.addActionListener(this);
label = new JLabel(labelPrefix + "0 ");
label.setLabelFor(button);
/* * An easy way to put space between a top-level Container
* and its contents is to put the contents in a JPanel
* that has an "empty" border.*/
Box pane = new Box(BoxLayout.Y_AXIS);
pane.setBorder(BorderFactory.createEmptyBorder(30, 30, 10, 30));
pane.setBorder(BorderFactory.createRaisedBevelBorder());
pane.setLayout(new GridLayout(0, 1));
pane.setLayout(new BoxLayout(pane,BoxLayout.Y_AXIS));
pane.add(button);
pane.add(label);
//Add the JPanel to the frame.frame.getContentPane().add(pane,BorderLayout.CENTER);
//Finish setting up the frame, and show it.
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
// frame.pack();
frame.setSize(100,200);
frame.setVisible(true);
} public void actionPerformed(ActionEvent e) {
numClicks++;
label.setText(labelPrefix + numClicks); }
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(
UIManager.getCrossPlatformLookAndFeelClassName());
} catch (Exception e) { }
new SwingApplication(); //Create and show the GUI.
}
}
***************************************************************************************************************************************************************
java.lang.NullPointerException
at sun.tools.java.Parser.parseMethodExpression(Compiled Code)
at sun.tools.java.Parser.parseTerm(Compiled Code)
at sun.tools.java.Parser.parseExpression(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseBlockStatement(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseBlockStatement(Compiled Code)
at sun.tools.java.Parser.parseStatement(Compiled Code)
at sun.tools.java.Parser.parseField(Compiled Code)
at sun.tools.java.Parser.parseClassBody(Compiled Code)
at sun.tools.java.Parser.parseNamedClass(Parser.java:1870)
at sun.tools.java.Parser.parseClass(Parser.java:1807)
at sun.tools.java.Parser.parseFile(Compiled Code)
at sun.tools.javac.BatchEnvironment.parseFile(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
error: An error has occurred in the compiler; please file a bug report
(http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
Tool returned code: 4
Error occured while compiling below given source code
Source Code :
/*
* 1.1+Swing version.
*/
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.text.NumberFormat;
public class ConversionPanel extends JPanel {
DecimalField textField;
JComboBox unitChooser;
JSlider slider;
ConverterRangeModel sliderModel;
Converter controller;
Unit[] units;
String title;
final static boolean DEBUG = false;
final static boolean COLORS = true;
final static int MAX = 10000;
ConversionPanel(Converter myController, String myTitle,
Unit[] myUnits,
ConverterRangeModel myModel) {
if (COLORS) {
setBackground(Color.cyan);
}
setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder(myTitle),
BorderFactory.createEmptyBorder(5,5,5,5)));
//Save arguments in instance variables.
controller = myController;
units = myUnits;
title = myTitle;
sliderModel = myModel;
//Add the text field. It initially displays "0" and needs
//to be at least 10 columns wide.
NumberFormat numberFormat = NumberFormat.getNumberInstance();
numberFormat.setMaximumFractionDigits(2);
textField = new DecimalField(0, 10, numberFormat);
textField.setValue(sliderModel.getDoubleValue());
textField.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
sliderModel.setDoubleValue(textField.getValue());
}
});
//Add the combo box.
unitChooser = new JComboBox();
for (int i = 0; i < units.length; i++) { //Populate it.
unitChooser.addItem(units[i].description);
}
unitChooser