-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.1, 1.2.2
-
generic, x86
-
generic, windows_95, windows_98, windows_nt
.println("Can't find database!");
}
DefaultMutableTreeNode root = new DefaultMutableTreeNode("Survey");
myTreeModel = new DefaultTreeModel(root);
//get the survey
cln = mySurveyDemo.getAllSurvey();
Iterator iter = (Iterator)cln.iterator();
while (iter.hasNext()) {
Survey tmp = (Survey) iter.next();
j=0;
myTreeModel.insertNodeInto(temp = new DefaultMutableTreeNode(
tmp.getName()),root,i);
treeVector1.insertElementAt(tmp.getSurvey_id(),i);
treeVector2[i] = new Vector();
i += 1;
//get the survey question collection
cln2 = tmp.getSurvey_questionForSurveyCollection();
Iterator iter2 = (Iterator)cln2.iterator();
while (iter2.hasNext()) {
//get the question
Survey_question tmp2 = (Survey_question) iter2.next();
k = 0;
Question tmp3 = tmp2.getQuestionForSurvey_question();
myTreeModel.insertNodeInto(temp2 = new DefaultMutableTreeNode(
tmp3.getText()),temp,j);
treeVector2[i].insertElementAt(tmp2.getSurvey_question_id(),j);
treeVector3[j] = new Vector();
j += 1;
//get the survey question answer
cln3 = tmp2.getS_q_answerForSurvey_questionCollection();
Iterator iter3 = (Iterator)cln3.iterator();
while (iter3.hasNext()) {
S_q_answer tmp4 = (S_q_answer) iter3.next();
l=0;
myTreeModel.insertNodeInto(temp3 = new DefaultMutableTreeNode(
tmp4.getAnswerForS_q_answer().getText()),temp2,k);
treeVector3[j].insertElementAt(tmp4.getS_q_answer_id(),k);
treeVector4[k] = new Vector();
k += 1;
//get the survey question answer action
SQAADemo mySqaaDemo = new SQAADemo();
cln4 = mySqaaDemo.getSQAAbySQAId(tmp4.getS_q_answer_id());
Iterator iter4 = (Iterator)cln4.iterator();
while (iter4.hasNext()) {
S_q_a_a tmp5 = (S_q_a_a) iter4.next();
myTreeModel.insertNodeInto(new DefaultMutableTreeNode
(tmp5.getActionForS_q_a_a().getUrl()),temp3,l);
treeVector4[k].insertElementAt(tmp5.getActionForS_q_a_a
().getAction_id(),l);
l += 1;
}
}
}
}
jTree1 = new JTree(myTreeModel);
jTree1.addMouseListener(ml);
jScrollPane1.getViewport().add(jTree1, null);
}
Here are the imports
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.tree.*;
import javax.swing.event.*;
import javax.swing.border.*;
import java.util.*;
//javablend stuff
import com.sun.javablend.*;
import com.sun.javablend.types.*;
import java.util.*;
import java.sql.*; // Only because we register Driver by making new Instance
import java.io.InputStream;
import java.io.IOException;
import java.math.BigDecimal;
import demo.dbo.*;
I am using NT4, SP6, Sun JDK1.2.2, Javablend 2.0 and JDeveloper Version 3
(by the way JDevelopers version 1.2.2 won't run javablend runtime)
(Review ID: 98792)
======================================================================
Name: skT88420 Date: 12/13/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'simwork/base/io/ProjectFile.load ()V': Interpreting method.
Cannot provide the source code.
This error occured when I try to open a file on a nonexistent volume (e.g. d:)
(Review ID: 98950)
======================================================================
Name: krT82822 Date: 12/24/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-001:Fujitsu:11/24/99-12:00,native hreads,symcjit)
If a remote method of server is invoked continuously for 33 times in the
program which connects client and server, JavaVM of client will Abort at 33th
time.
-Dr.Watson's output information
An error occured in JavaVM.
access violation?i0xc0000005?jaddress 0x500b7b95
?@Java.exe - application error -
An order of "0x500b7b95" has referred to memory of "0x3de807e8".
The memory could not become "read".
-subsequent VC debug information
Exception which is not bundle is in java.exe(SYMCJIT.DLL):
0xc0000005?FAccess Violation.
-others
If it is executed without using JIT(java -Djava.compiler=NONE),
the above problem will not occur.
(Review ID: 99333)
======================================================================
Name: krT82822 Date: 12/31/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
JBuilder 3 Foundation
Copyright (c) 1996-1999 Inprise Corporation. All rights reserved.
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/awt/Component.reshape (IIII)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99471)
======================================================================
Name: skT88420 Date: 01/04/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
Here is what appeared in the Apache error log. I can provide you with full
source code for the servlet and accompanying packages and data files in a zip
file, if you wish. Please email me if you wish for me to send such a zip file.
Thanks.
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'EditGentag.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
[Tue Jan 04 09:58:59 2000] [error] forcing termination of child #0 (handle 176)
(Review ID: 99556)
======================================================================
Name: krT82822 Date: 01/05/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
C:\Marcos>cs
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Scanner.xscan ()J': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Parser.parseTerm ()Lsun/tools/tree/Expression;': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99633)
======================================================================
Name: skT88420 Date: 01/05/2000
$ java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
compiling "src/gtri/fvt/FVT.java"
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/SourceClass.addMember (Lsun/tools/java/Environment;Lsun/tools
/java/MemberDefinition;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99645)
======================================================================
Name: skT88420 Date: 01/12/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/tree/NewInstanceExpression.checkValue
(Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/
util/Hashtable;)Lsun/tools/tree/Vset;': Interpreting method.
(Review ID: 99893)
======================================================================
Name: krT82822 Date: 01/17/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
Trying to start NetBeans IDE and received the following error:
Operating System = Windows 95 Version 4.10 Running on x86
Java VM Version = 1.2.2
Java Vendor = Sun Microsystems Inc.
Java Vendor URL = http://java.sun.com/
Java Home = C:\JDK1.2.2\JRE
Java Class Version = 46.0
JIT = Symantec, version 3.10.107(x) for JDK 1.2
Home Dir = C:\WINDOWS
Current Directory = C:\NetBeans\DeveloperX2
NetBeans Home = C:\NETBEANS\DEVELO~1
NetBeans User Home = C:\NETBEANS\DEVELO~1
System Directory = C:\NETBEANS\DEVELO~1\system
CLASSPATH = C:\NETBEANS\DEVELO~1\lib;C:\NETBEANS\DEVELO~1\lib\develop
er.zip;C:\NETBEANS\DEVELO~1\lib\HotJavaBean.jar;C:\NETBEANS\DEVELO~1\lib\TextBea
n.jar;C:\JDK1.2.2\jre\lib\rt.jar;C:\JDK1.2.2\lib\dt.jar;C:\JDK1.2.2\lib\tools.ja
r;C:\JDK1.2.2\jre\lib\i18n.jar
-------------------------------------------------------------------------------
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in
:'com/netbeans/developer/top/presenters/CoronaToolbar.setToolbarContext
(Lcom/netbeans/developer/top/presenters/ToolbarContext;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
EASE of USE Comment: This whole environment stinks!! Especially information
on required paths for integration and Directory structure requirements with
regard to the language and the evironment.
(Review ID: 100051)
======================================================================
Name: skT88420 Date: 01/19/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
I received this error while parsing XML files using IBM's XMLTreeDIFF. I don't
have the source to tool and the XML file is proprietary.
The error message:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occured in :
'com/ibm/xml/parser/Parser.parseAttributeContent
(Lcom/ibm/cml/parser/Token;I)Lorg/w3c/dom/Node;':
Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
The exact platform is Windows Terminal Server 4.0 with SP 4 on a Dual PII 333
with 256 MB RAM.
I was the only one using the system at the time.
(Review ID: 100115)
======================================================================
Name: skT88420 Date: 02/02/2000
[WINDOWS] D:\Java\Asgt1>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
1. Haven't a clue why it happened
3. [WINDOWS] D:\Java\Asgt1>javac Asgt1.java
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/tree/MethodExpression.checkValue (Lsun/tools/java/Environment;Lsun/
tools/tree/Context;Lsun/tools/tree/Vset;Ljava/util/Hashtable;)Lsun/tools/tree/Vs
et;': Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi
(Review ID: 100681)
======================================================================
Name: skT88420 Date: 02/04/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
During the execution of a module test called by
java TerminalKonfigurationsdatenTLV
the program shows the following message:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'TerminalKonfigurationsdatenTLV.updateTag77 (SLjava/lang/String;)I':
Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi
If you need any details please let me know. I can arrange it.
(Review ID: 100818)
======================================================================
Name: skT88420 Date: 02/10/2000
C:\jdk1.2.2\bin>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
import java.net.*;
import java.io.*;
public class UdpClient {
static final int PORT = 6001;
static final int SIZE = 200;
protected String UserId;
protected String Passwd;
public int userValid ;
UdpClient( String id, String passwd ) throws SocketException,
UnknownHostException
{
this.UserId = id;
this.Passwd = passwd;
userValid = 9;
DatagramSocket ds;
DatagramPacket dp;
InetAddress address;
String send,recvResult;
byte[] data,sendData;
address = InetAddress.getLocalHost();
ds = new DatagramSocket();
data = new byte[SIZE];
send = new String(UserId+" "+Passwd);
try {
send.getBytes(0, send.length(), data, 0);
dp = new DatagramPacket(data, send.length(),
address, PORT);
dp.setLength(send.length());
ds.send(dp);
System.out.println("sended data:" + send );
dp.setLength(SIZE);
ds.receive(dp);
recvResult = new String( data, 0, dp.getLength());
System.out.println("received data:" + recvResult );
if( recvResult.trim().equals("0000") ){
userValid =0;
System.out.println("debug true");
}
else if( recvResult.trim().equals("1111") ){
userValid = 1;
System.out.println("debug false");
}
else if( recvResult.trim().equals("7777") ){
userValid = 77;
System.out.println("debug false");
}
else {
userValid = -1;
System.out.println("debug false");
}
} catch (IOException e) {
System.out.println(e);
}/* catch (SocketException e) {
e.printStackTrace();
} catch( UnknownHostException e){
e.printStackTrace();
}*/
}
}
--------------------------- Compiler Output ---------------------------
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'java/net/URL.<init>
(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'sun/tools/java/Scanner.xscan ()J': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
Note: UdpClient.java uses or overrides a deprecated API. Recompile with "-
deprecation" for details.
1 warning
(Review ID: 101057)
======================================================================
Name: krT82822 Date: 06/29/99
When I compile my application using jkd1.2.2:
C:\Level1>javac frmLevel1Main.java
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/net/www/protocol/jar/Handler.parseURL (Ljava/net/URL;Ljava/lang/String;II
)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/ClassDefinition.isInsideLocal ()Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
Note: 10 files use or override a deprecated API. Recompile with "-deprecation"
for details.
1 warning
When I compiled it again javac.exe crashed. When I debugged it, I got following message :
'Unhandled exception in javac.exe(JVM.DLL):0xC0000005:Access Violation'
The files loaded by the debugger were:
Loaded 'C:\jdk1.2.2\bin\javac.exe', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\symcjit.dll', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\zip.dll', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\java.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\SHELL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\hpi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\WINMM.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\classic\jvm.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\MSVCRT.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\KERNEL32.DLL', no matching symbolic information found.
The program 'C:\jdk1.2.2\bin\javac.exe' has exited with code 0 (0x0).
Version of JDK:
C:\Level1>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-U, native threads, symcjit)
(Review ID: 84968)
======================================================================
Name: skT88420 Date: 10/18/99
I was running a license.java program for my computer class in college, and when i missed typing a period when trying to compile this program, i got alot of weird errors saying
"A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has occurred in : 'sun/tools/asm/ConstantPool.put (Ljava/lang/Objects;)V': Interpreting method.
I dont know if this is big or anything, but i thought that you might want to know about it.
thankyou,
Steve Davis
###@###.###
###@###.###
###@###.###
(Review ID: 96690)
======================================================================
Name: skT88420 Date: 10/19/99
Error:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has occured in 'Server.main ([Ljava/lang/String;)V': Interpreting method.
Server program:
import java.util.*;
import java.net.*;
import java.io.*;
class Server
{
public static void main(String args[]) throws IOException
{ ControlServer control = null;
ServerSocket socket = new ServerSocket(4099);
System.out.println("Server Started");
try
{ while (true)
{ Socket soc = socket.accept();
try
{
control = new ControlServer(soc);
}
catch (Exception e)
{
e.printStackTrace();
soc.close();
}
}
}
finally
{
socket.close();
}
}
}
>java -fullversion
java full version "JDK-1.2.2-W"
(Review ID: 96709)
======================================================================
Name: skT88420 Date: 10/19/99
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has occurred in :
'java/util/jar/Attributes$Name.isAlpha (C)Z': Interpreting method.
I got this message when trying to compile a simple .java script. I also got a message telling me to advise you. I typed in the javac command again and next time there was no problem.
(Review ID: 96736)
======================================================================
Name: krT82822 Date: 11/15/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
I'm sure this is old hat to you guys by now, but: this is what I got during
a compile.
D:\java\chapter3\Primes>javac Primes.java
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Scanner.xscan ()J': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
This is the source I was compiling (Primes.java):
public class Primes
{
public static void main(String[] args)
{
int nValues = 50;
boolean isPrime = true;
for ( int i =2; i <=nValues; i++)
{
isPrime= true;
//Try dividing by 2 to i-1
for(int j=2 ; j <= i; j++)
{
if(i % j == 0)
{
isPrime = false ;
break;
}
}
//We can get her through break or completing loop
if (isPrime)
System.out.println(i);
}
}
}
(Review ID: 97874)
======================================================================
Name: krT82822 Date: 12/07/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
here is the output of javac
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/MethodType.typeString
(Ljava/lang/String;ZZ)Ljava/lang/String;': Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi
The source file:
import java.awt.*;
import java.awt.event.*;
public class CustomerFrame extends CFrame{
static final int NORMAL=0;
static final int ADD=1;
static final int EDIT=2;
static final int DELETE=3;
static final int LOCATE=4;
static final int C=GridBagConstraints.CENTER;
static final int N=GridBagConstraints.NORTH;
static final int NW=GridBagConstraints.NORTHWEST;
static final int S=GridBagConstraints.SOUTH;
static final int SW=GridBagConstraints.SOUTHWEST;
static final int E=GridBagConstraints.EAST;
static final int NE=GridBagConstraints.NORTHEAST;
static final int SE=GridBagConstraints.SOUTHEAST;
static final int NO=GridBagConstraints.NONE;
static final int H=GridBagConstraints.HORIZONTAL;
static final int V=GridBagConstraints.VERTICAL;
static final int B=GridBagConstraints.BOTH;
static final int REL=GridBagConstraints.RELATIVE;
static final int REM=GridBagConstraints.REMAINDER;
int curMode;
SQL sql;
Panel fields;
Panel buttons;
Panel notesP;
Button prev;
Button next;
Button locate;
Button add;
Button edit;
Button delete;
Button cancel;
Button ok;
Label CIDL;
TextField CID;
Label nameL;
TextField name;
Label DOFPL;
TextField DOFP;
Label phoneL;
TextField phone;
Label streetL;
TextField street;
Label cityL;
TextField city;
Label stateL;
TextField state;
Label zipL;
TextField zip;
Label notesL;
TextArea notes;
Dimension sizeIt=new Dimension(0,0);
public static void main(String[] args){
new CustomerFrame();
}
public void close(){
System.exit(0);
}
public CustomerFrame(){
setLayout(new GridBagLayout());
makeLabels();
makeFields();
makePanels();
makeButtons();
setMode(NORMAL);
assemblePanels();
sql=new SQL();
fields=new Panel();
setSize(new Dimension(640,480));
this.setVisible(true);
addComponentListener(new ComponentAdapter(){
public void componentResized(ComponentEvent e){
setTitle(getSize(sizeIt).toString());
}
});
}
void makeLabels(){
CIDL=new Label("ID#", Label.RIGHT);
nameL=new Label("Name", Label.RIGHT);
DOFPL=new Label("DOFP", Label.RIGHT);
phoneL=new Label("Phone#", Label.RIGHT);
streetL=new Label("Address", Label.RIGHT);
cityL=new Label("City", Label.RIGHT);
stateL=new Label("State", Label.RIGHT);
zipL=new Label("Zip", Label.RIGHT);
notesL=new Label("Notes:", Label.CENTER);
}
void makeFields(){
CID=new TextField();
name=new TextField();
DOFP=new TextField();
phone=new TextField();
street=new TextField();
city=new TextField();
state=new TextField();
zip=new TextField();
notes=new TextArea("",4,100,TextArea.SCROLLBARS_VERTICAL_ONLY);
}
void makePanels(){
fields=new Panel();
fields.setLayout(new GridBagLayout());
buttons=new Panel();
buttons.setLayout(new GridBagLayout());
notesP=new Panel();
notesP.setLayout(new GridBagLayout());
}
void setMode(int mode){
curMode=mode;
prev.setEnabled(mode==NORMAL);
next.setEnabled(mode==NORMAL);
locate.setEnabled(mode==NORMAL);
add.setEnabled(mode==NORMAL);
edit.setEnabled(mode==NORMAL);
delete.setEnabled(mode==NORMAL);
CID.setEditable(false);
name.setEditable(mode==ADD || mode==EDIT);
DOFP.setEditable(false);
phone.setEditable(mode==ADD || mode==EDIT);
street.setEditable(mode==ADD || mode==EDIT);
city.setEditable(mode==ADD || mode==EDIT);
state.setEditable(mode==ADD || mode==EDIT);
zip.setEditable(mode==ADD || mode==EDIT);
notes.setEditable(mode==ADD || mode==EDIT);
}
void makeButtons(){
prev=new Button("Prev");
prev.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
}
});
next=new Button("Next");
next.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
}
});
locate=new Button("Locate");
locate.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(LOCATE);
setMode(NORMAL);
}
});
add=new Button("Add");
add.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(ADD);
setMode(NORMAL);
}
});
edit=new Button("Edit");
edit.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(EDIT);
}
});
delete=new Button("Delete");
delete.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(DELETE);
setMode(NORMAL);
}
});
cancel=new Button("Cancel");
cancel.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
}
});
ok=new Button("Ok");
ok.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
if(curMode==EDIT){
setMode(NORMAL);
}
}
});
}
GridBagConstraints bag(int a, int b, int c, int d, double e, double f,
int g, int h,
int i, int j, int k, int l, int m, int n){
return new GridBagConstraints(a,b,c,d,e,f,g,h, new
Insets(i,j,k,l), m,n);
}
void assemblePanels(){
GridBagConstraints con=bag(0,0,1,1,0,1,C,NO,0,0,0,0,0,0);
buttons.add(prev, con);
con.gridx=REL;
buttons.add(next, con);
buttons.add(locate, con);
buttons.add(add, con);
buttons.add(edit, con);
buttons.add(delete, con);
buttons.add(cancel, con);
buttons.add(ok, con);
con=bag(0,0,REM,REL,1,0,C,H,0,0,0,0,0,0);
notesP.add(notesL, con);
con.gridy=REL;
con.fill=B;
con.weighty=1;
con.gridheight=REM;
notesP.add(notes, con);
double lw=1;
double fw=50;
con=bag(0,0,1,1,lw,1,C,H,3,3,3,3,0,0);
fields.add(CIDL, con);
con.gridx=REL;
con.weightx=fw;
fields.add(CID, con);
con.weightx=lw;
fields.add(nameL, con);
con.weightx=fw;
con.gridwidth=REM;
fields.add(name, con);
con.gridwidth=1;
con.gridx=0;
con.gridy=1;
con.weightx=lw;
fields.add(DOFPL, con);
con.gridx=REL;
con.weightx=fw;
fields.add(DOFP, con);
con.weightx=lw;
fields.add(phoneL, con);
con.weightx=fw;
con.gridwidth=REM;
fields.add(phone, con);
con.gridwidth=1;
con.gridx=0;
con.gridy=2;
con.weightx=lw;
fields.add(streetL, con);
con.gridx=REL;
con.gridwidth=REM;
con.weightx=fw;
fields.add(street, con);
con.gridx=0;
con.gridy=3;
con.gridwidth=1;
con.weightx=lw;
fields.add(cityL, con);
con.gridx=REL;
con.weightx=fw;
fields.add(city, con);
con.weightx=lw;
fields.add(stateL, con);
con.weightx=fw;
fields.add(state, con);
con.weightx=lw;
fields.add(zipL, con);
con.weightx=fw;
fields.add(zip, con);
con=bag(0,0,REM,1,1,1,C,B,0,0,0,0,0,0);
con.weighty=20;
add(fields, con);
con.gridy=REL;
con.weighty=1;
add(notesP, con);
con.insets=new Insets(3,0,3,0);
add(buttons, con);
}
}
the line that says con.insets=new Insets(3,0,3,0); was added and the error
occured. without it there is no error.
the -deprecation option was on
(Review ID: 98756)
======================================================================
Name: skT88420 Date: 12/08/99
java version "1.2.2"
Classic VM build JDK-1.2.2-001, native threads, symcjit
"E:\jdk1.2.2\bin\javaw.exe" -mx50m -classpath "E:\Program
Files\Oracle\JDeveloper 3.0\myclasses;E:\Program Files\Oracle\JDeveloper 3.0
\lib\jdev-rt.zip;E:\Program Files\Oracle\JDeveloper 3.0\jdbc\lib\oracle8.1.5
\classes111.zip;E:\Program Files\Oracle\JDeveloper 3.0
\lib\connectionmanager.zip;E:\Program Files\Oracle\JDeveloper 3.0\java1.2
\jre\lib\rt.jar;E:\JavaBlend\classes\JavaBlend.jar;E:\JavaBlend\project\db2javaOracle\democlass.zip;E:\jdk1.2.2\jre\lib\rt.jar;E:\jdk1.2.2
\jre\lib\i18n.jar;E:\jdk1.2.2\lib\dt.jar" package2.Application1
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'package2/Frame2.LoadTree ()V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
Here is the code that caused the error
void LoadTree()
{
SurveyDemo mySurveyDemo = new SurveyDemo();
DCollection cln;
DCollection cln2;
DCollection cln3;
DCollection cln4;
//general Variables
int i=0;
int j=0;
int k=0;
int l=0;
DefaultMutableTreeNode temp;
DefaultMutableTreeNode temp2;
DefaultMutableTreeNode temp3;
try {
Class driverClass = Class.forName("oracle.jdbc.driver.OracleDriver");
Driver d = (Driver)driverClass.newInstance();
DriverManager.registerDriver(d);
//DriverManager.setLogStream(System.err);
} catch (ClassNotFoundException e) {
System.err.println("Cannot load driver ");
System.err.println("Make sure it is reachable from CLASSPATH");
return;
} catch (Exception e) {
System.err.println("Some other exception occurred while trying to load
driver ");
System.err.println(e.toString());
}
try {
myDatabase = Database.open("jdbc:oracle:thin:@localstl:1521:survey",
"survey", "survey");
}
catch (DatabaseOpenException doe) {
System.out.println("Exception: Database already opened");
}
catch (DatabaseNotFoundException dnf) {
System.out
}
DefaultMutableTreeNode root = new DefaultMutableTreeNode("Survey");
myTreeModel = new DefaultTreeModel(root);
//get the survey
cln = mySurveyDemo.getAllSurvey();
Iterator iter = (Iterator)cln.iterator();
while (iter.hasNext()) {
Survey tmp = (Survey) iter.next();
j=0;
myTreeModel.insertNodeInto(temp = new DefaultMutableTreeNode(
tmp.getName()),root,i);
treeVector1.insertElementAt(tmp.getSurvey_id(),i);
treeVector2[i] = new Vector();
i += 1;
//get the survey question collection
cln2 = tmp.getSurvey_questionForSurveyCollection();
Iterator iter2 = (Iterator)cln2.iterator();
while (iter2.hasNext()) {
//get the question
Survey_question tmp2 = (Survey_question) iter2.next();
k = 0;
Question tmp3 = tmp2.getQuestionForSurvey_question();
myTreeModel.insertNodeInto(temp2 = new DefaultMutableTreeNode(
tmp3.getText()),temp,j);
treeVector2[i].insertElementAt(tmp2.getSurvey_question_id(),j);
treeVector3[j] = new Vector();
j += 1;
//get the survey question answer
cln3 = tmp2.getS_q_answerForSurvey_questionCollection();
Iterator iter3 = (Iterator)cln3.iterator();
while (iter3.hasNext()) {
S_q_answer tmp4 = (S_q_answer) iter3.next();
l=0;
myTreeModel.insertNodeInto(temp3 = new DefaultMutableTreeNode(
tmp4.getAnswerForS_q_answer().getText()),temp2,k);
treeVector3[j].insertElementAt(tmp4.getS_q_answer_id(),k);
treeVector4[k] = new Vector();
k += 1;
//get the survey question answer action
SQAADemo mySqaaDemo = new SQAADemo();
cln4 = mySqaaDemo.getSQAAbySQAId(tmp4.getS_q_answer_id());
Iterator iter4 = (Iterator)cln4.iterator();
while (iter4.hasNext()) {
S_q_a_a tmp5 = (S_q_a_a) iter4.next();
myTreeModel.insertNodeInto(new DefaultMutableTreeNode
(tmp5.getActionForS_q_a_a().getUrl()),temp3,l);
treeVector4[k].insertElementAt(tmp5.getActionForS_q_a_a
().getAction_id(),l);
l += 1;
}
}
}
}
jTree1 = new JTree(myTreeModel);
jTree1.addMouseListener(ml);
jScrollPane1.getViewport().add(jTree1, null);
}
Here are the imports
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.tree.*;
import javax.swing.event.*;
import javax.swing.border.*;
import java.util.*;
//javablend stuff
import com.sun.javablend.*;
import com.sun.javablend.types.*;
import java.util.*;
import java.sql.*; // Only because we register Driver by making new Instance
import java.io.InputStream;
import java.io.IOException;
import java.math.BigDecimal;
import demo.dbo.*;
I am using NT4, SP6, Sun JDK1.2.2, Javablend 2.0 and JDeveloper Version 3
(by the way JDevelopers version 1.2.2 won't run javablend runtime)
(Review ID: 98792)
======================================================================
Name: skT88420 Date: 12/13/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'simwork/base/io/ProjectFile.load ()V': Interpreting method.
Cannot provide the source code.
This error occured when I try to open a file on a nonexistent volume (e.g. d:)
(Review ID: 98950)
======================================================================
Name: krT82822 Date: 12/24/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-001:Fujitsu:11/24/99-12:00,native hreads,symcjit)
If a remote method of server is invoked continuously for 33 times in the
program which connects client and server, JavaVM of client will Abort at 33th
time.
-Dr.Watson's output information
An error occured in JavaVM.
access violation?i0xc0000005?jaddress 0x500b7b95
?@Java.exe - application error -
An order of "0x500b7b95" has referred to memory of "0x3de807e8".
The memory could not become "read".
-subsequent VC debug information
Exception which is not bundle is in java.exe(SYMCJIT.DLL):
0xc0000005?FAccess Violation.
-others
If it is executed without using JIT(java -Djava.compiler=NONE),
the above problem will not occur.
(Review ID: 99333)
======================================================================
Name: krT82822 Date: 12/31/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
JBuilder 3 Foundation
Copyright (c) 1996-1999 Inprise Corporation. All rights reserved.
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/awt/Component.reshape (IIII)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99471)
======================================================================
Name: skT88420 Date: 01/04/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
Here is what appeared in the Apache error log. I can provide you with full
source code for the servlet and accompanying packages and data files in a zip
file, if you wish. Please email me if you wish for me to send such a zip file.
Thanks.
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'EditGentag.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
[Tue Jan 04 09:58:59 2000] [error] forcing termination of child #0 (handle 176)
(Review ID: 99556)
======================================================================
Name: krT82822 Date: 01/05/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
C:\Marcos>cs
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Scanner.xscan ()J': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Parser.parseTerm ()Lsun/tools/tree/Expression;': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99633)
======================================================================
Name: skT88420 Date: 01/05/2000
$ java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
compiling "src/gtri/fvt/FVT.java"
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/SourceClass.addMember (Lsun/tools/java/Environment;Lsun/tools
/java/MemberDefinition;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99645)
======================================================================
Name: skT88420 Date: 01/12/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/tree/NewInstanceExpression.checkValue
(Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/
util/Hashtable;)Lsun/tools/tree/Vset;': Interpreting method.
(Review ID: 99893)
======================================================================
Name: krT82822 Date: 01/17/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
Trying to start NetBeans IDE and received the following error:
Operating System = Windows 95 Version 4.10 Running on x86
Java VM Version = 1.2.2
Java Vendor = Sun Microsystems Inc.
Java Vendor URL = http://java.sun.com/
Java Home = C:\JDK1.2.2\JRE
Java Class Version = 46.0
JIT = Symantec, version 3.10.107(x) for JDK 1.2
Home Dir = C:\WINDOWS
Current Directory = C:\NetBeans\DeveloperX2
NetBeans Home = C:\NETBEANS\DEVELO~1
NetBeans User Home = C:\NETBEANS\DEVELO~1
System Directory = C:\NETBEANS\DEVELO~1\system
CLASSPATH = C:\NETBEANS\DEVELO~1\lib;C:\NETBEANS\DEVELO~1\lib\develop
er.zip;C:\NETBEANS\DEVELO~1\lib\HotJavaBean.jar;C:\NETBEANS\DEVELO~1\lib\TextBea
n.jar;C:\JDK1.2.2\jre\lib\rt.jar;C:\JDK1.2.2\lib\dt.jar;C:\JDK1.2.2\lib\tools.ja
r;C:\JDK1.2.2\jre\lib\i18n.jar
-------------------------------------------------------------------------------
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in
:'com/netbeans/developer/top/presenters/CoronaToolbar.setToolbarContext
(Lcom/netbeans/developer/top/presenters/ToolbarContext;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
EASE of USE Comment: This whole environment stinks!! Especially information
on required paths for integration and Directory structure requirements with
regard to the language and the evironment.
(Review ID: 100051)
======================================================================
Name: skT88420 Date: 01/19/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
I received this error while parsing XML files using IBM's XMLTreeDIFF. I don't
have the source to tool and the XML file is proprietary.
The error message:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occured in :
'com/ibm/xml/parser/Parser.parseAttributeContent
(Lcom/ibm/cml/parser/Token;I)Lorg/w3c/dom/Node;':
Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
The exact platform is Windows Terminal Server 4.0 with SP 4 on a Dual PII 333
with 256 MB RAM.
I was the only one using the system at the time.
(Review ID: 100115)
======================================================================
Name: skT88420 Date: 02/02/2000
[WINDOWS] D:\Java\Asgt1>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
1. Haven't a clue why it happened
3. [WINDOWS] D:\Java\Asgt1>javac Asgt1.java
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/tree/MethodExpression.checkValue (Lsun/tools/java/Environment;Lsun/
tools/tree/Context;Lsun/tools/tree/Vset;Ljava/util/Hashtable;)Lsun/tools/tree/Vs
et;': Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi
(Review ID: 100681)
======================================================================
Name: skT88420 Date: 02/04/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
During the execution of a module test called by
java TerminalKonfigurationsdatenTLV
the program shows the following message:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'TerminalKonfigurationsdatenTLV.updateTag77 (SLjava/lang/String;)I':
Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi
If you need any details please let me know. I can arrange it.
(Review ID: 100818)
======================================================================
Name: skT88420 Date: 02/10/2000
C:\jdk1.2.2\bin>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
import java.net.*;
import java.io.*;
public class UdpClient {
static final int PORT = 6001;
static final int SIZE = 200;
protected String UserId;
protected String Passwd;
public int userValid ;
UdpClient( String id, String passwd ) throws SocketException,
UnknownHostException
{
this.UserId = id;
this.Passwd = passwd;
userValid = 9;
DatagramSocket ds;
DatagramPacket dp;
InetAddress address;
String send,recvResult;
byte[] data,sendData;
address = InetAddress.getLocalHost();
ds = new DatagramSocket();
data = new byte[SIZE];
send = new String(UserId+" "+Passwd);
try {
send.getBytes(0, send.length(), data, 0);
dp = new DatagramPacket(data, send.length(),
address, PORT);
dp.setLength(send.length());
ds.send(dp);
System.out.println("sended data:" + send );
dp.setLength(SIZE);
ds.receive(dp);
recvResult = new String( data, 0, dp.getLength());
System.out.println("received data:" + recvResult );
if( recvResult.trim().equals("0000") ){
userValid =0;
System.out.println("debug true");
}
else if( recvResult.trim().equals("1111") ){
userValid = 1;
System.out.println("debug false");
}
else if( recvResult.trim().equals("7777") ){
userValid = 77;
System.out.println("debug false");
}
else {
userValid = -1;
System.out.println("debug false");
}
} catch (IOException e) {
System.out.println(e);
}/* catch (SocketException e) {
e.printStackTrace();
} catch( UnknownHostException e){
e.printStackTrace();
}*/
}
}
--------------------------- Compiler Output ---------------------------
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'java/net/URL.<init>
(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'sun/tools/java/Scanner.xscan ()J': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
Note: UdpClient.java uses or overrides a deprecated API. Recompile with "-
deprecation" for details.
1 warning
(Review ID: 101057)
======================================================================
Name: krT82822 Date: 06/29/99
When I compile my application using jkd1.2.2:
C:\Level1>javac frmLevel1Main.java
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/net/www/protocol/jar/Handler.parseURL (Ljava/net/URL;Ljava/lang/String;II
)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/ClassDefinition.isInsideLocal ()Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
Note: 10 files use or override a deprecated API. Recompile with "-deprecation"
for details.
1 warning
When I compiled it again javac.exe crashed. When I debugged it, I got following message :
'Unhandled exception in javac.exe(JVM.DLL):0xC0000005:Access Violation'
The files loaded by the debugger were:
Loaded 'C:\jdk1.2.2\bin\javac.exe', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\symcjit.dll', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\zip.dll', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\java.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\SHELL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\hpi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\WINMM.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\jdk1.2.2\jre\bin\classic\jvm.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\MSVCRT.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\KERNEL32.DLL', no matching symbolic information found.
The program 'C:\jdk1.2.2\bin\javac.exe' has exited with code 0 (0x0).
Version of JDK:
C:\Level1>java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-U, native threads, symcjit)
(Review ID: 84968)
======================================================================
Name: skT88420 Date: 10/18/99
I was running a license.java program for my computer class in college, and when i missed typing a period when trying to compile this program, i got alot of weird errors saying
"A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has occurred in : 'sun/tools/asm/ConstantPool.put (Ljava/lang/Objects;)V': Interpreting method.
I dont know if this is big or anything, but i thought that you might want to know about it.
thankyou,
Steve Davis
###@###.###
###@###.###
###@###.###
(Review ID: 96690)
======================================================================
Name: skT88420 Date: 10/19/99
Error:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has occured in 'Server.main ([Ljava/lang/String;)V': Interpreting method.
Server program:
import java.util.*;
import java.net.*;
import java.io.*;
class Server
{
public static void main(String args[]) throws IOException
{ ControlServer control = null;
ServerSocket socket = new ServerSocket(4099);
System.out.println("Server Started");
try
{ while (true)
{ Socket soc = socket.accept();
try
{
control = new ControlServer(soc);
}
catch (Exception e)
{
e.printStackTrace();
soc.close();
}
}
}
finally
{
socket.close();
}
}
}
>java -fullversion
java full version "JDK-1.2.2-W"
(Review ID: 96709)
======================================================================
Name: skT88420 Date: 10/19/99
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has occurred in :
'java/util/jar/Attributes$Name.isAlpha (C)Z': Interpreting method.
I got this message when trying to compile a simple .java script. I also got a message telling me to advise you. I typed in the javac command again and next time there was no problem.
(Review ID: 96736)
======================================================================
Name: krT82822 Date: 11/15/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
I'm sure this is old hat to you guys by now, but: this is what I got during
a compile.
D:\java\chapter3\Primes>javac Primes.java
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Scanner.xscan ()J': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
This is the source I was compiling (Primes.java):
public class Primes
{
public static void main(String[] args)
{
int nValues = 50;
boolean isPrime = true;
for ( int i =2; i <=nValues; i++)
{
isPrime= true;
//Try dividing by 2 to i-1
for(int j=2 ; j <= i; j++)
{
if(i % j == 0)
{
isPrime = false ;
break;
}
}
//We can get her through break or completing loop
if (isPrime)
System.out.println(i);
}
}
}
(Review ID: 97874)
======================================================================
Name: krT82822 Date: 12/07/99
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
here is the output of javac
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/MethodType.typeString
(Ljava/lang/String;ZZ)Ljava/lang/String;': Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi
The source file:
import java.awt.*;
import java.awt.event.*;
public class CustomerFrame extends CFrame{
static final int NORMAL=0;
static final int ADD=1;
static final int EDIT=2;
static final int DELETE=3;
static final int LOCATE=4;
static final int C=GridBagConstraints.CENTER;
static final int N=GridBagConstraints.NORTH;
static final int NW=GridBagConstraints.NORTHWEST;
static final int S=GridBagConstraints.SOUTH;
static final int SW=GridBagConstraints.SOUTHWEST;
static final int E=GridBagConstraints.EAST;
static final int NE=GridBagConstraints.NORTHEAST;
static final int SE=GridBagConstraints.SOUTHEAST;
static final int NO=GridBagConstraints.NONE;
static final int H=GridBagConstraints.HORIZONTAL;
static final int V=GridBagConstraints.VERTICAL;
static final int B=GridBagConstraints.BOTH;
static final int REL=GridBagConstraints.RELATIVE;
static final int REM=GridBagConstraints.REMAINDER;
int curMode;
SQL sql;
Panel fields;
Panel buttons;
Panel notesP;
Button prev;
Button next;
Button locate;
Button add;
Button edit;
Button delete;
Button cancel;
Button ok;
Label CIDL;
TextField CID;
Label nameL;
TextField name;
Label DOFPL;
TextField DOFP;
Label phoneL;
TextField phone;
Label streetL;
TextField street;
Label cityL;
TextField city;
Label stateL;
TextField state;
Label zipL;
TextField zip;
Label notesL;
TextArea notes;
Dimension sizeIt=new Dimension(0,0);
public static void main(String[] args){
new CustomerFrame();
}
public void close(){
System.exit(0);
}
public CustomerFrame(){
setLayout(new GridBagLayout());
makeLabels();
makeFields();
makePanels();
makeButtons();
setMode(NORMAL);
assemblePanels();
sql=new SQL();
fields=new Panel();
setSize(new Dimension(640,480));
this.setVisible(true);
addComponentListener(new ComponentAdapter(){
public void componentResized(ComponentEvent e){
setTitle(getSize(sizeIt).toString());
}
});
}
void makeLabels(){
CIDL=new Label("ID#", Label.RIGHT);
nameL=new Label("Name", Label.RIGHT);
DOFPL=new Label("DOFP", Label.RIGHT);
phoneL=new Label("Phone#", Label.RIGHT);
streetL=new Label("Address", Label.RIGHT);
cityL=new Label("City", Label.RIGHT);
stateL=new Label("State", Label.RIGHT);
zipL=new Label("Zip", Label.RIGHT);
notesL=new Label("Notes:", Label.CENTER);
}
void makeFields(){
CID=new TextField();
name=new TextField();
DOFP=new TextField();
phone=new TextField();
street=new TextField();
city=new TextField();
state=new TextField();
zip=new TextField();
notes=new TextArea("",4,100,TextArea.SCROLLBARS_VERTICAL_ONLY);
}
void makePanels(){
fields=new Panel();
fields.setLayout(new GridBagLayout());
buttons=new Panel();
buttons.setLayout(new GridBagLayout());
notesP=new Panel();
notesP.setLayout(new GridBagLayout());
}
void setMode(int mode){
curMode=mode;
prev.setEnabled(mode==NORMAL);
next.setEnabled(mode==NORMAL);
locate.setEnabled(mode==NORMAL);
add.setEnabled(mode==NORMAL);
edit.setEnabled(mode==NORMAL);
delete.setEnabled(mode==NORMAL);
CID.setEditable(false);
name.setEditable(mode==ADD || mode==EDIT);
DOFP.setEditable(false);
phone.setEditable(mode==ADD || mode==EDIT);
street.setEditable(mode==ADD || mode==EDIT);
city.setEditable(mode==ADD || mode==EDIT);
state.setEditable(mode==ADD || mode==EDIT);
zip.setEditable(mode==ADD || mode==EDIT);
notes.setEditable(mode==ADD || mode==EDIT);
}
void makeButtons(){
prev=new Button("Prev");
prev.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
}
});
next=new Button("Next");
next.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
}
});
locate=new Button("Locate");
locate.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(LOCATE);
setMode(NORMAL);
}
});
add=new Button("Add");
add.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(ADD);
setMode(NORMAL);
}
});
edit=new Button("Edit");
edit.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(EDIT);
}
});
delete=new Button("Delete");
delete.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setMode(DELETE);
setMode(NORMAL);
}
});
cancel=new Button("Cancel");
cancel.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
}
});
ok=new Button("Ok");
ok.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
if(curMode==EDIT){
setMode(NORMAL);
}
}
});
}
GridBagConstraints bag(int a, int b, int c, int d, double e, double f,
int g, int h,
int i, int j, int k, int l, int m, int n){
return new GridBagConstraints(a,b,c,d,e,f,g,h, new
Insets(i,j,k,l), m,n);
}
void assemblePanels(){
GridBagConstraints con=bag(0,0,1,1,0,1,C,NO,0,0,0,0,0,0);
buttons.add(prev, con);
con.gridx=REL;
buttons.add(next, con);
buttons.add(locate, con);
buttons.add(add, con);
buttons.add(edit, con);
buttons.add(delete, con);
buttons.add(cancel, con);
buttons.add(ok, con);
con=bag(0,0,REM,REL,1,0,C,H,0,0,0,0,0,0);
notesP.add(notesL, con);
con.gridy=REL;
con.fill=B;
con.weighty=1;
con.gridheight=REM;
notesP.add(notes, con);
double lw=1;
double fw=50;
con=bag(0,0,1,1,lw,1,C,H,3,3,3,3,0,0);
fields.add(CIDL, con);
con.gridx=REL;
con.weightx=fw;
fields.add(CID, con);
con.weightx=lw;
fields.add(nameL, con);
con.weightx=fw;
con.gridwidth=REM;
fields.add(name, con);
con.gridwidth=1;
con.gridx=0;
con.gridy=1;
con.weightx=lw;
fields.add(DOFPL, con);
con.gridx=REL;
con.weightx=fw;
fields.add(DOFP, con);
con.weightx=lw;
fields.add(phoneL, con);
con.weightx=fw;
con.gridwidth=REM;
fields.add(phone, con);
con.gridwidth=1;
con.gridx=0;
con.gridy=2;
con.weightx=lw;
fields.add(streetL, con);
con.gridx=REL;
con.gridwidth=REM;
con.weightx=fw;
fields.add(street, con);
con.gridx=0;
con.gridy=3;
con.gridwidth=1;
con.weightx=lw;
fields.add(cityL, con);
con.gridx=REL;
con.weightx=fw;
fields.add(city, con);
con.weightx=lw;
fields.add(stateL, con);
con.weightx=fw;
fields.add(state, con);
con.weightx=lw;
fields.add(zipL, con);
con.weightx=fw;
fields.add(zip, con);
con=bag(0,0,REM,1,1,1,C,B,0,0,0,0,0,0);
con.weighty=20;
add(fields, con);
con.gridy=REL;
con.weighty=1;
add(notesP, con);
con.insets=new Insets(3,0,3,0);
add(buttons, con);
}
}
the line that says con.insets=new Insets(3,0,3,0); was added and the error
occured. without it there is no error.
the -deprecation option was on
(Review ID: 98756)
======================================================================
Name: skT88420 Date: 12/08/99
java version "1.2.2"
Classic VM build JDK-1.2.2-001, native threads, symcjit
"E:\jdk1.2.2\bin\javaw.exe" -mx50m -classpath "E:\Program
Files\Oracle\JDeveloper 3.0\myclasses;E:\Program Files\Oracle\JDeveloper 3.0
\lib\jdev-rt.zip;E:\Program Files\Oracle\JDeveloper 3.0\jdbc\lib\oracle8.1.5
\classes111.zip;E:\Program Files\Oracle\JDeveloper 3.0
\lib\connectionmanager.zip;E:\Program Files\Oracle\JDeveloper 3.0\java1.2
\jre\lib\rt.jar;E:\JavaBlend\classes\JavaBlend.jar;E:\JavaBlend\project\db2javaOracle\democlass.zip;E:\jdk1.2.2\jre\lib\rt.jar;E:\jdk1.2.2
\jre\lib\i18n.jar;E:\jdk1.2.2\lib\dt.jar" package2.Application1
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has occurred in :
'package2/Frame2.LoadTree ()V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-
bin/bugreport.cgi
Here is the code that caused the error
void LoadTree()
{
SurveyDemo mySurveyDemo = new SurveyDemo();
DCollection cln;
DCollection cln2;
DCollection cln3;
DCollection cln4;
//general Variables
int i=0;
int j=0;
int k=0;
int l=0;
DefaultMutableTreeNode temp;
DefaultMutableTreeNode temp2;
DefaultMutableTreeNode temp3;
try {
Class driverClass = Class.forName("oracle.jdbc.driver.OracleDriver");
Driver d = (Driver)driverClass.newInstance();
DriverManager.registerDriver(d);
//DriverManager.setLogStream(System.err);
} catch (ClassNotFoundException e) {
System.err.println("Cannot load driver ");
System.err.println("Make sure it is reachable from CLASSPATH");
return;
} catch (Exception e) {
System.err.println("Some other exception occurred while trying to load
driver ");
System.err.println(e.toString());
}
try {
myDatabase = Database.open("jdbc:oracle:thin:@localstl:1521:survey",
"survey", "survey");
}
catch (DatabaseOpenException doe) {
System.out.println("Exception: Database already opened");
}
catch (DatabaseNotFoundException dnf) {
System.out