80 byte By
novasa at 2007-9-28 11:45:07
Can anyone tell me the difference between error and exceptionThanz
Hey I'm pretty new to java and to mandrake (my new os) I have been following an example out of a book for a java applet.When I try to compile it I get an error saying.error: Cannot find type "/com/sun/java.swing.JApplet"I am guessing this is because the libraries locations aren'tproperly ...
Is it possible to run Javadoc with the default settings ie. no -private option but in some way select specific private members in a class to be documented. I have a set of classes that I only wish to generate docs for the public attributes & methods, all private methods AND private ...
Is there a way to provide new documentation of a method inherited from a subclass with out overriding it? The superclass' implementation isfine however the comments are not descriptive enough so I'd like to add more. But I dont' want to idiotically override it like so:/** * new comment ...
949 byte By
greva at 2007-9-28 11:51:45
I /think/ I've identified a bug in javadoc: javadoc will not allow module names which end in ".java". (maybe this is a feature).It seems that javadoc should check for directory status or have some other check other than just string comparison to determine if a file should be parsed or ...
I have copied the DiveLog.java file from the sample applications tutorial and tried compling the same, but it gives the "cannot resolve symbol" error with all the class declared in that.I have tried to set the classpath in several ways but still could not resolve the problem. Here is my ...
530 byte By
boiga at 2007-9-28 11:55:04
when compiling my program I recive this error:-Player.java:1156: unreported exception java.io.IOException; must be caught or declared to be throwni_76_ = U.read();-in the following function:-private final int dispose() {int i = 0;int i_76_;do {i_76_ = U.read();getColor++;i = i << 7 | ...
565 byte By
yannc76a at 2007-9-28 11:58:20
Hi,I successfully installed MIFDoclet/dzbatch and produced all the .MIF and .FM-files. All of them seem to be correct by themselves.Upon opening the generated .book-file and trying to print it (either with dzbatcher or directly in FM), Framemaker7 crashes with weird internal error codes, ...
HiDoes anyone know how to log java errors and events to the Windows Event Log?Brian
2531 byte By
netzrota at 2007-9-28 12:07:34
The application below throws exceptions occasionally and I don't know why. It's an ArrayIndexOutOfBoundsException from the JList which I can't catch. Without the thread there is no exception. Is this a problem of Java ?import javax.swing.UIManager;import javax.swing.*;import ...
1029 byte By
rel4xa at 2007-9-28 12:14:05
I keep getting "C:\Documents and Settings\Michael Cojanu.COJANUCOMP\Desktop\JAVA2\urltest4.java:180: unreported exception java.net.MalformedURLException; must be caught or declared to be thrownstartURL(" http://www.google.com");"when I try to compile my program, despite the fact that the ...
I keep getting this message for some reason, while my program compiles fine.
I'm getting the error message java.lang.NullPointerExceptionThe line is App myWindow = new App ("Practice");What is the error message mean?and what do I need to do?thanks
Hi,i'm currently doing my wireless project using J2ME. but i faced some problems when i compiled HTTP MIDlet. such error pop up,Unable to create MIDlet Loginjava.lang.ClassNotFoundException: Loginat com.sun.midp.midlet.Selector.commandAction(+47)at ...
211 byte By
hsg4a at 2007-9-28 12:32:19
I have created a series of classes and methods and I want them to be added in a style like Forte where the user is presented with a dropdown list of all the avliable methods in the class how do I do this?
My PC Runs on Windows 98, and since upgrading to Internet Explorer6 my Java installation no longer works.I have dowloaded the latest version(s) of JVM during the past six weeks or so and I get the same error when I try to install:UNHANDLED EXCEPTIONError number: 0x80070725Description: ...
Can someone tell me how I can disable Sun Java VM please? I have no idea how I can go about this.Thank you.
726 byte By
Kalisena at 2007-9-28 12:40:15
Hi,I'm working with EJB and a Weblogic application server.I've deployed my ear on the server and call it with my clientthen while doing some computation I received the following stackTrace :java.lang.IncompatibleClassChangeErrorat ...
I've been successfully using the Java Logger since it's release with 1.4, but...The logger prints a timestamp line, then on the next line the log message from my code. How can I get rid of this timestamp line? I've got some peridoc behavior in my code and having every other line from the ...
My error:Exception in thread "main" java.lang.NoClassDefFoundError.I already looked through the forums and tried the class path fix and also made sure my main method was in there. It compiles fine and chances are would work on the systems on campus but lately none of my programs have been ...
3192 byte By
ltu0105a at 2007-9-28 12:45:25
I know that there are a lot of posts with this same error but as i was running through thier code i could fix my own. This is a simple program for my java class but we are on break right now. Im getting the error when i try to get a boolean value from another class. Thank in advance for all the ...
Hello All.We are running a project which includes not just JAVA source, but a lot of associated HTML code.We would like to ensure consistent look-and-feel for our documentation by using JAVAdoc to parse both the .java files and .html files.Has anyone done this? Can you help with the limitations ...
Hi all,I know many have posted about the different version of java plugin will cause some strange behavior of an applet in loading. In my case, it can't load at all. (with plugin version 1.4.1)SO anyone find the final solution?thanks in advance
489 byte By
ldajpca at 2007-9-28 13:01:11
We have a big application (C/S, Swing) with more than 1000 GUI's.When I navigate over 60/70 GUI's, the jvm crash and shows: UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT EXCEPTION UNCAUGHT ...
1659 byte By
boboKa at 2007-9-28 13:06:45
I have a problem here. Ive tried everything (ex. i made sure the class was ok...its in the right place..)Please hel[phere is my code for a simple triangle prgrm.at the bottom is the error im gettingimport KeyboardReader;public class Triangle {public static void main(String args[]) {int side1, ...
Ok, like I said, I'm just a user. I really know squat about Java. I just know that it used to work, now it doesn't. Whenever I enter a chat room, game, or sports ticker (that uses Java), I get an error message in my Java console. I don't know how to fix it or what to do. Here's an example ...
219 byte By
asjfa at 2007-9-28 13:14:21
hi, is there any tool that will generate javadoc html that recognizes keyboard presses? (e.g. in the list of all classes on the left you can press 'J' to jump straight to the Js)thanks,asjf
I'm getting all sorts of nasty looking messages from javadoc since I've moved to 1.4.1Can someone please tell me how to reformat my comments to get rid of these messages.Casu.java:69: warning - The first sentence is interpreted to be:"* <!--[ application() ]--> * output header ending ...
New member who is trying to start an online university course today and cannot access his messages, reply, open a new thread or even post his answers to queations required.Botton left keeps on saying --javascript:void(show message('serve bulletin?Article+ "long #" '))I have Microsoft 2000 ...
Hello,I'm having a very strange problem with little program I'm developing.-- CODE --ObjectInputStream is = new ObjectInputStream(new FileInputStream(file));memory_test = (MemoryTestData)is.readObject();is.close();-At the runtime I'm getting a 'java.lang.IllegalStateException: unread block ...
6425 byte By
ravibha at 2007-9-28 13:30:12
Hi AllI am getting the following error on Weblogic 6.1. I have not been able to reproduce this error.Any clues as to what happened ?Thanks,Ravi.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at ...
hi all,i found a strange error (uncaught exception java.lang.ArrayIndexOutOfBoundsException) every time when i tried to developed a MIDlet and servlet to retrieve data from database. can anyone tell me why this error occur? this is example of MIDlet code:public void checkResult() ...
Hi,I'm trying to use a new doclet for the first time (JUnitDoclet) and I'm getting a NoClassDefFoundError right off the bat which is confounding me (see below).I have the 1.4.0 JDK installed on Windows 2000.Any ...
212 byte By
DcHa at 2007-9-28 13:36:37
slightly OT, I apologise, and I can't see anything anywhere on the web....does anyone know how to produce javadoc style output from well-commented, well-formed javascript?thanksDuncan
My program needs to detect a JVM with Java3D installed. The way this is done is by looking in the registry for the entries of the JRE version and the JDK version. First the JRE JVM is loaded and if the program finds out that some Java3D class cannot be loaded it 'knows' Java3D is not ...
93 byte By
jbalraja at 2007-9-28 13:43:18
Can any one tell me whats the problem .Can any one Tips for handling this error
98 byte By
jbalraja at 2007-9-28 13:43:20
Can any one tell me whats the problem .Can any one give Tips for handling this error
i have a class which contains an inner class, but now how do i call teh methods within the inner class of my Base class from a dervived class of Base? I keep getting compiler errors when i make the call to super from the derived class, but shouldn't my derived class be able to call methods of ...
1818 byte By
wolfca at 2007-9-28 13:45:42
Maybe I'm missing something, what gives?This is my code:src/pkg/UndocumentedActionListener.javapackage pkg;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;public class UndocumentedActionListener implements ActionListener{public void actionPerformed(ActionEvent e){}}With ...
4977 byte By
rype69a at 2007-9-28 13:46:12
The problem: I get exception "access denied (java.io.FilePermission orders.txt write)" when I press the "ok" button in trying and add an "order" to my file orders.txt". The following method is exceuted when I press the "ok" button... if(e.getSource() == okButton){// add to array// read old ...
Hello, when I use javadoc, the index.html file deletes the previous class in the list.By example, if I'm typing "javadoc Stockage.java", the Stockage class appears in the index.htmThen if I'm typing "javadoc Sondage.java", the Sondage class appears in the index file but Stockage has ...
590 byte By
rocjapa at 2007-9-28 13:54:36
Hi!I'm generating Javadocs thanks to Sun One ME, but I encounterthis sort of problems:C:\MobileApplications\sampledir\MyWork\Midlet.java:9: package javax.microedition.midlet does not existimport javax.microedition.midlet.*;I don't encouter problems when I compile my programmneither while ...
2029 byte By
admada at 2007-9-28 14:04:26
i just downloaded and installed j2re1.4.1_02 on Red Hat Linux 8.0. It installed correctly and i also set the path for java in .bash_profile. But when i try to start the java ControlPanel i get the following errorException in thread "main" java.lang.UnsatisfiedLinkError: ...
414 byte By
beaVera at 2007-9-28 14:04:29
I'm not quite sure if this belongs here, but I'll try anyway... I recently installed the j2sdk and jre 1.4.1_02. but, running my applet, I found that the keyListener did not anymore process (or receive?) any events concerning the tab key. I checked most of the rest of the keyboard, but the ...
HI guys, i am having the following problem when running any of my programs. It compiles fine, and then produces the following error message at runtime.Exception in thread "main" java.lang.NoClassDefFoundError: HelloHello is the name of the class that i am writing. Previously had no probles with ...
Hello,I have tomcat running the JSP files for an online application. The error messages I am getting when I try to open a particular jsp file (summary_detail.jsp) is written in the log file of the application, and is as follows:ERR summary_detail.jsp: java.io.InvalidClassException: ...
I am programming on a net work and cannot get it to save as a .java file. the best i can get is a .jav file that the compiler wont recognize. i am on an NT net work so any help would be great
Hi!I'm currently working on a project using IntelliJ Idea. I've been generating Javadocs for quite some time but recently there has been some errors that are making me go crazy.All classes get some kind of parse errors cause the generated files look really strange.There are asterixs placed in ...
I'm experiencing a JVM crash running my webapp on Tomcat 4.1.18 with J2SE 1.4.1_02 on Windows 2000 SP3.When the crash happens I get the following error:****************Another exception has been detected while we were handling last error.Dumping information about last error:ERROR REPORT FILE = ...
1186 byte By
je999a at 2007-9-28 14:23:11
It appears that the main thread is "magic" in some way; after main() dies from an unhandled exception, isAlive() still reports true and join() waits forever for the (now moribund but apparnetly undead) main thread to die.Is there any way to detect (reliably) whether main() is really alive, as ...