Exception during event processing

1685 byte By BWigdora at 2007-9-29 8:20:15
I have an application which has an "exception catcher" at the bottom that performs some "exit work" that I need done when the program terminates abnormally.In certain places of the program, I automatically have the program quit and exit by dividing by zero to trigger an exception. Up until ...

ERROR:java.lang.NoClassDefFoundError

630 byte By Wizgona at 2007-9-29 8:22:43
Hello to everyone. I have no knowledge of Java and do not know what should be done to correct this problem: System is Gateway, OS/XP pro when I power up and windowsloads I recieve a dialog box which states,( ERROR:java.lang.NoClassDefFoundError ) no other msgs or detailsI then x out of this box ...

Weird problem (invoking a private method)

1153 byte By jonathantauba at 2007-9-29 8:27:01
I ran into something very weird.Consider the following class:public class Cat{ public static void main(String[] args) {Mouse mouse = new Mouse();mouse.squeak(); }}Class Mouse as follows:public class Mouse{ public void squeak() {System.out.println("Mouse.squeak()" + System.currentTimeMillis()); ...

help me

494 byte By twcvideosa at 2007-9-29 8:27:29
i have windows xp and the version of internet explorer that comes with it, and one day, everything java just stopped working, e.g. rollover buttons on websites, and functions like popup windows(this is a problem as i have a popup kind of thing on my website where the enter screen triggers a ...

IOexception in pda

382 byte By Zivzivziva at 2007-9-29 8:30:24
Hey!I have a very strange thing. I have made a network application in client server mode. I can't run the client on my pda. it always get ioexception when i try to open a stream to send data.in my desktop computer I don't get the exception in the same code with the same version of jdk.I use ...

@linkplain

783 byte By kshivapada at 2007-9-29 8:32:30
Could u send me a sample of it? I am not getting any output for this tag.* Constructs the XYZObject..* @linkplain #EFFECTS EFFECTS123* (@linkplain #REQUIRES hhhhhh123}Not getting any output against linkplain tags. Using jdk1.4's javadoc.exe. Do I need to include options while executing ...

Java errors...possible XP related?

566 byte By EvYDa at 2007-9-29 8:40:26
I'm having trouble viewing various webpages on the net. Particularly pages with navigation in frames and flash animations. This piece of code is consistent with all these pages. Any thoughts?Evan<script language="JavaScript"><!--function SymError(){ return true;}window.onerror = ...

NoClassDefFoundError

920 byte By vision12345a at 2007-9-29 8:47:25
HelloI know there are many people talking about this error but I am still not clear with it can anyone please help. I came across this error when I was doing my project and hence started debuging using a simple HelloWorld program. I am using a linux box and here is some output.[root@alpesh ...

hurry,help me!

1077 byte By bug_mina at 2007-9-29 8:48:39
I am a new learner of javadoc ,I just use javadoc test a HelloWorld.java to see how it produce doc file ,I know,the jdk api standard doc file is as follows:the above of the left side is package,the below is classes and if you press the package,then the below display the classes it includeMy ...

Import Problem

2130 byte By Opiumana at 2007-9-29 8:54:04
I made a new ICT with a name of "DrawSquare" and imported the code my teacher gave me./*** DrawSquare This class will create a piece of paper and a pencil,* place the pencil on the paper and then draw a square 100 units on* each side.** @author G. Peck* @created March 23, 2002*/import ...

new to java, help with code

766 byte By hums55a at 2007-9-29 9:02:15
I am trying to understand what this means, can someone give me some insight please?ava.lang.ArrayIndexOutOfBoundsExceptionat Acme.Crypto.CryptoUtils.squashBytesToInts {Unknow Source}at Acme.Crypto.DesCipher.decrypt{Unkown Source}at org.sf.javaemu.util.EncDecHelper.decryptDES{Unkown Source}at ...

New JavaDoc lookup tool

350 byte By walkerjja at 2007-9-29 9:08:11
There is an interesting "master index" to many JavaDoc projects - it lets you drill down to individual packages and classes, so you can get to virtually JavaDoc page, anywhere really quickly.The page says it is "a comprehensive index to the JavaDoc from 56 Java projects. It links to 1521 ...

Anyone can tell me.how to.?

183 byte By choukaa at 2007-9-29 9:08:38
Anyone can tell me how to creat different language version of Javadoc. For Example I want JavaDoc Tools creat English and French doc separately, How do I write comment?

bug with -J flag in new javadoc again?

713 byte By devdova at 2007-9-29 9:09:42
Hi,I want to run javadoc from within another java application with the following:String[] javadocargs= {"-J-version"};com.sun.tools.javadoc.Main.execute(javadocargs); Actually I am trying a bit more compilcated, but the error is the same. Whenn running this I get:javadoc: invalid flag: ...

class should be declared error - but it is declared!

474 byte By oilyjavaa at 2007-9-29 9:13:00
After compilation of my coding i get the following error* but i have declared the class FLowps. Please tell me how it shoud be declared....if code needs to be seen please e-mail at bittsach@yahoo.com and will send the code listing.Thankyou.*test.java:18: class Flowps is public, should be ...

illegal package name?

1081 byte By 0m4ra at 2007-9-29 9:16:05
I'0m developing a package its name is Omar and it has other subpackages inside itself:Omar |- Mail|-Pop3|-Smtp |- util |- ecc eccand I'm using this line of code to build javadoc:javadoc -private -sourcepath Omar\* Omarand I always obtain this error:javadoc: Illegal package name: ...

Taglet error

235 byte By gsmith53a at 2007-9-29 9:17:42
Using this code in a Taglet:ConfigurationStandard config = Standard.configuration();ClassDoc cls = config.currentcd;cls returned is always null. It should be the current ClassDoc. Am I doing something wrong?

OutofMemoryError

277 byte By sanjeevpada at 2007-9-29 9:18:15
Hi,I am trying to run an application that displays mesh, but i get a java.lang.OutofMemoryError <<no stack trace available>>. Is there a way for increasing the memory used by Java Virtual Machine? If so how to go about doing it?Thank you

Surpressing the Standard Err messages

736 byte By ptbernara at 2007-9-29 9:18:55
Is there any way to surpress the Standard err messages from being output to the console window?In the main method of my Java program, I am throwing an exception to alert the JVM of the exception and cause the JVM to exit with an exit code of 1 instead of 0. When the exception is thrown from the ...

NoClassDefFoundError

911 byte By harith80a at 2007-9-29 9:20:55
I have installed J2SDK1.4 and it is compiling & running without any problem JUST when I compile under the same folder. In other word if I want to run a file from another directory like saying:java /root/folder/file.java; it gives me the following error (btw it compiles this way with no ...

cannot resolve symbol

564 byte By melissa_ma at 2007-9-29 9:21:56
Hi, im very new to the java language and im trying to remove 2 errors from my rock paper scissors program which is due tomorrow and i am having a lot of trouble because i cant udnerstand the error messages! if you can help me out i would be very appreciative!these are my error ...

File not found Exception

1493 byte By ergun_Derina at 2007-9-29 9:24:46
can anybody please tell me why i am getting a file not found exception during runtime.I just don't get where the problem might beAny help would be appreciated.Thanks in advance.class OpenFileChooserAction extends AbstractAction{public void actionPerformed(ActionEvent e){int retVal = ...

Unhandled Exeption

222 byte By 51234567895a at 2007-9-29 9:26:38
Hi!I installed Java2 Runtime but can't install it.Programs: IE6,Windows 98.Error number: 0x80070725Description: Incompatible version of the RPC Stub.Setup wil now terminate.Thanks

Socket Error and Windows Error HELP!

360 byte By fierrea at 2007-9-29 9:29:25
hi guys can you tell me whats wrong with this message i always get this messege when i start new program on my windows.i use XP pro and i already donwload SP1 here the messages:ERROR:Cannot connect socket to port 4157Windows error code 10061Cannot open socket for LIME events on port 4157please ...

Java and checked exceptions

1649 byte By nephelesa at 2007-9-29 9:38:12
Java's grand experiment in error-handling, the checked exception, has recently come in for much criticism. Java aficionados and commentators alike, including Bruce Eckel, have come out against them. Two of the most modern languages of today, C# and Python, tout the lack of checked exceptions ...

java.langclass error

273 byte By garand1911a at 2007-9-29 9:44:08
when logging on to a java programed website i get the following error..java.lang.classnotfoundexception: y.ks.0then at the bottom of my window it says..load: class y.ks.0 not foundhow do i fix this and run java properly? thanks in advance

creating XML child elements

1025 byte By jonny99a at 2007-9-29 9:44:58
I'm generating an XML document. I have reached the third hierarchial level i.e.<level_1>. <level_2>..<level_3>. <level_2>..<level_3>. <level_2><level_1>Now I am trying to add <level_3> siblings to the existing <level_3> elements and am ...

NoClassDefFoundError

609 byte By spoboylea at 2007-9-29 9:46:15
Hi guys, i'm having a problem!I have imported one of my own classes into an applet. The applet will compile but produces the above error during run time.As i understand this occours when the compilier can find the appropriate constructor but the JVM cannot.The object is defined as an instance ...

Compiler Error?

1542 byte By shtham82a at 2007-9-29 9:50:16
I've faced this problem when i tried to compile a java file... Does anyone know how to solve this problem? help me please... thanks...java.lang.InternalError: jzentry == 0, jzfile = 2642424, total = 9352, name = C:\j2sdk1.4.2\jre\lib\rt.jar, i = 2832, message = invalid LOC header (bad ...

duplicate class, modifier private not allowed

2191 byte By phlippinga at 2007-9-29 9:52:57
I can't get javadoc to create doc for any class I make, I keep on getting these errorshere is the class:/** * Like Integer, but isn't. * @author Phillip Bradbury */public class Int{ /** the internal value */ private int i; /*** Creates an Int.*/ public Int(int val) {i = val; } /*** Gets the ...

Should be declared abstract.....

9677 byte By hartlbba at 2007-9-29 9:55:09
OK, I am trying to get this app to compile. I am VERY new to java and this is for a class of mine. I amk desperate. I do not understand how to use events in Java quite yet. When I compile the below code, I get the following error message:EmpTmCd should be decalred abstract; it does not define ...

Help, receiving a "NoClassDefFoundError", even though code is compiled

523 byte By JLecha at 2007-9-29 9:56:27
I am currently running JSDK v1.4.2_01 on an XP computer and whenever I go to run my java classes through the command prompt, i get the NoClassDefFound error. My java codes do get compiled, and i can even find the compiled byte code in the same folder that contains the .java file. FYI, i have my ...

How to get the javadoc command working?

441 byte By JMU1337a at 2007-9-29 9:57:58
Yes, I likely sound like an idiot, but I'm attempting to learn UNIX right now and I need help figuring out why I can't run the 'javadoc' command. I do have java installed, as I can compile and run code, but the 'javadoc' command is nowhere to be found. Is there something seperate I need ...

absolutely inaccurate behaviour from javadoc tool

1525 byte By KodinovGa at 2007-9-29 10:02:18
Hi all,I am trying for some time now to document my code with javadoc. This code works for quite some time now and is proved stable.The problem I have is that I can not document the whole package or a few packages together. I am getting an error message on one of my java files. Documenting just ...

Getting Javadoc errors with 1.4.2

849 byte By anish20a at 2007-9-29 10:10:29
Here is the error trace. Any suggestions would be appreciated?C:\j2sdk1.4.2\bin\javadoc.exe -package -splitindex -use -author -version -source 1.4 -classpath ...

Why does returning from finally block discards exceptions?

1380 byte By fedetxfa at 2007-9-29 10:11:13
Form PMD's documentation:Avoid returning from a finally block - this can discard exceptions.Here's an example of code that would trigger this rule:public class Bar { public String bugga() { try {throw new Exception( "My Exception" ); } catch (Exception e) {throw e; } finally {return "A. O. ...

Importing Java Class Question

2299 byte By mary_the_codera at 2007-9-29 10:22:50
Hello,Sorry for such a newbie question and such a long post, I did remember how to do this before but now I can't for the life of me remember. Anyhow, I have a simple question about importing custom-made java classes, from another directory in the windows operating system. I have the classpath ...

NoClassDefFoundError Linux

725 byte By degraffenried13a at 2007-9-29 10:23:36
I wrote a little program in java just to test whether everything was working well since I haven't tried using java with linux before. My program is as follows:import javax.swing.JOptionPane;public class test{public static void main(String args[]){JOptionPane.showMessageDialog(null, ...

RMI Connection Issue

8992 byte By MLerch223a at 2007-9-29 10:23:58
I will be very up front with this; this is a cross-thread i originally posted in Java Programming, but have not had any help in 2 days.i am recieving the message:-java.rmi.UnmarshalException: Return value not found; nested exception is:-java.lang.ClassNotFoundException-at ...

Help please

9092 byte By Papasmurfberrya at 2007-9-29 10:27:58
I keep getting this error on my IE 6.0 when trying to connect to Yahoo.comAn unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d0441ceFunction ...

IE does not found a class

822 byte By Sebastian_Lopeza at 2007-9-29 10:33:52
Hi to everybody.I'm trying to start an applet through IE. The java-codes are compiled in java 1.2, and the code uses the javax library in jre directory.With a previous help I could start the applet in html document withthe appletviewer. But when I open the html file with the IE I see ...

ClassPath Error

1226 byte By CreditSAa at 2007-9-29 10:35:40
I'm a SA trying to get iPlanet 6.0sp5 to work with Servlets.I keep getting this error below when I try to run the servlet. Looking at few other errors on this forum I see its a classpath problem.Question I have is how to figure out what is missing from my classpath so I can get this servlet to ...

java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.

1232 byte By Jenny_Gillmorea at 2007-9-29 10:38:20
Hey Guys,as you can see, I'm having a problem here. When I try to parse a received XML string (received over a HTTPUrlConnection) I get the following exception: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.if I use org.apache.xerces.parsers.DOMParserand ...

Javadoc usage?

1051 byte By quereinsteigera at 2007-9-29 10:41:55
We use Eclipse to create our Javadoc (HTML files) which is really big.Because it is big it takes much time to finish creating Javadoc.I change a few classes and then I need to do the whole Javadoc. Why? Because if I would select the few classes I changed and would do Javadoc for them, then the ...

Is my configuration correct? I keep getting errors :(

12277 byte By cyberslydera at 2007-9-29 10:51:01
Hi all, if someone could help me out with this problem I'm having (below) I swear I'll send you a thankyou note with lots of smiley faces attached :)The Problem:Here's the errors we get every few hours or so which result in jboss unable to accept new connections. The system load is always ...

out of memory error

220 byte By ardonfonuja at 2007-9-29 10:52:08
hi all~i have a applet about graphics information systemwhen i add image to the applet more then 3 picalways catch out of memory errorit's maybe what problemhelp please ~ thanks

jsp.XmlBNFFileWriter Documentation

142 byte By mfigela at 2007-9-29 10:53:41
I can`t find the Documentation for the following class... jsp.XmlBNFFileWriter Can someone help me?Thanks...Martin

Reg HotSpot Virtual Machine Error : 10

473 byte By ravivunnam2003a at 2007-9-29 11:03:14
HotSpot Virtual Machine Error : 10# Error ID : 4F530E43505002CC 01# Please report this error at# http://java.sun.com/cgi-bin/bugreport.cgi## Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)## An error report file has been saved as hs_err_pid1019.log.# Please refer to the file for ...

Couldn't Load Appearance File - Security Exception

152 byte By webtrendsguya at 2007-9-29 11:15:48
Getting this on ANY Java window trying to display within any page. I can find NOTHING about Appearance File errors on here.Any idea folks?

How to use javadoc

307 byte By AndriusBurokasa at 2007-9-29 11:18:52
I want to export ALL information from standard j2se package files.In other words while I produce files I want all files in subdirrectories included, not only the files in current dir.Or maybe there is documentation on java.sun.com about them in one archive or document.Thank ...