getting errors while executing program

415 byte By kris.deva at 2007-10-1 20:25:32
hi folks,i am new to this grp.i hava some doubts regarding java path setting.i set path JAVA HOME to my java installed dir.After compiling the program successfully, when i run the program i got the following error:java.lang.NoClassDefFoundError: SampleThreadException in thread "main" Why this ...

An unexpected exception has been detected in native code outside the VM

4438 byte By DOUGLAS_JavaHelpa at 2007-10-1 20:32:17
I receive the error below when trying to start an application that uses a database (UltraSQL database PostgreSQL).I have not been able to figure out why this is failing.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION ...

Creating a XML DOM from A Java String

293 byte By DaveFromOhioa at 2007-10-1 20:44:59
I'm am trying to convert a Java String "Jim Test123 Front StreetChicagoFlorida302-945-1717" into a XML DOM. I've been trying to find examples on the net but have not found anything. I'd like to create an XML doc that has Name, Address, City, State and Phone Number. Can any one help?

Exception Handling

2722 byte By Journeymana at 2007-10-1 20:46:37
Hi AllI am trying to make a log table in DB for logging the exception when an user give wrong login credentials. But I am not able to do it.The block diagram is as follows..........try{Exception 1} catch (Exception e){try{JDBC to log the Exception into the DB} catch (Exception ex){The control ...

(something).wait() keeps giving me an error...

1265 byte By aRyan316a at 2007-10-1 20:51:03
Hi, I am a first-time game programmer, so I am kind of new at Java...Basically, I want the player's ship to fire an "absorber" whenever he or she presses the predefined-key.The absorber will go out, then execute 3 explosions 1.5 seconds apart. I have a method explode(), and a method travel(). ...

problems with vectors

1533 byte By cchanga at 2007-10-1 20:55:42
Hi,I'm having problems with priting out my fee in my FeesCard.java. im supposed to charge interest on the first day of each month. But im not sure how. I have a Calendar.java which basically has what i included below. My FeesCard.java extends a AuditedCard.java. I manage to print the ...

invoking from shell script causes NoClassDefFoundError

1064 byte By nyundia at 2007-10-1 20:55:48
Hi, I have a reasonably simple class that I built, that runs perfectly fine when invoked like:java myClass paramsI need it to be invoked through a bash shell script however, so I wrote a real simple one of those, that is kept in the same directory and the .class build of my program.The bash ...

Javadoc Software

383 byte By ahwestricha at 2007-10-1 20:56:57
I want to create javadocs for all my classes, but it seems tedious to go through each method manually and make the proper tags, etc. Do you know of a piece of (free?) software that will automatically find all methods in a java file and let you add the appropriate javadoc tags through a GUI, ...

How do I combine multiple taglets?

266 byte By Miikee_a at 2007-10-1 21:01:09
Hello!I have written 9 taglets. When I want to use them with the JavaDoc tool I have to write one "-taglet" command for each taglet class. Is it possible to put them into one class? So I just have to declare just one class or .jar file?Thanks...

print javadoc to one single file

546 byte By pioklametrioa at 2007-10-1 21:02:21
Hello,I was wondering if it is possible to print the whole javadoc documentation to one single file? The reason why I need this is that I would like print the API-documentation and import it in another document. I have about 600+ classes, so copying the files one by one is really my last resort ...

error in creating triangle object

283 byte By kirk_hamett81a at 2007-10-1 21:03:08
I am getting an error message of " cannot resolve symbol"..when i tried to create an object for the triangle class.It points at the 'Triangle' class itself when the program is compiled.I just hope that I have imported the right package.Can somebody help me with that.

An unexpected error has been detected by HotSpot Virtual Machine

2094 byte By NMCS_Rona at 2007-10-1 21:04:55
On booting up, I noticed a text file on the Desktop which turned out to be an error log. Having not downloaded anything recently except a MSFT Critical Update [Successful Friday, August 12, 2005 Cumulative Security Update for Internet Explorer 6 Service Pack 1 (KB896727) ] and in these days of ...

TCP/IP BufferedReader Hangs on Linux runs fine on Windows

906 byte By dcrowleya at 2007-10-1 21:05:32
We are writting a web application, deployed on a tomcat server, which needs to communicate with an existing Unix box over TCP/IP. The connection uses a proprietary format that uses upper-end hex codes ( 0XF0 , 0XFE) as delimiters.The code works fine when deployed to a windows machine. However ...

Applet notinited

1036 byte By deincolaa at 2007-10-1 21:07:34
Alright, I am truthfully stumped on this one. The only thing I can thing of that would cause this to happen, is the fact that this game I made 2 years ago, which took 2 weeks; I have got to get it back working, was made before the newest update to java was released. I get this error everytime I ...

exception in finally block

485 byte By yesitsgaurava at 2007-10-1 21:08:30
I am getting exception in finally block so how to catch thisthe code is public synchronized Object getValueAt(int row, int col){ try{return attData[row][col];}catch(Exception e){EMCLog.logError("EMCTableModel_getValueAt",e+e.getMessage());}finally{ return attData[row][col]; }}Can anyone give ...

order of elements - how to get position of child ?

758 byte By dschudiea at 2007-10-1 21:10:12
Hi,I would like to check, if the name of the second element of root is "youngestSon". Is it possible to query this with xpath (I use xquery with xpath-expressions, in fact I already know the name of the element but want to get sure with an exist-statement, that the element's position is 2) ...

BlueJ won't create a new object for me

1583 byte By MarcLister83a at 2007-10-1 21:12:37
I'm using BlueJ 2.0.5 with Java 1.5.0 Update 4 and when I try to create an object from the BlueJ CD examples folder, the program says "Creating object...", but doesn't create the object and the "Creating object..." only disappears if I click somewhere in the screen.I also found an error ...

EOFException with Server

4285 byte By halfpeawa at 2007-10-1 21:12:42
I抦 a currently creating a client server program at work that passes a several different types of MessageObjects back and forth. All of my different messages extend MessageObjects and implement serializable. The problem I am having is that when I try to pass certain messages from the server to ...

Strange issue with imports compiling jsp

1531 byte By Pvblivsa at 2007-10-1 21:12:48
Hi,compiling the following jsp:<%@ page import="pvblivs.tool.admin.common.*" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>...I get the ...

Unable to use javaxcomm api

670 byte By bhatdinua at 2007-10-1 21:13:49
Hello all,I have a TINI board connected to the serial port of the PC. I have a program that sends data to the PC. I wrote a program that prints the data coming onto the serial port using comm.jar. However, when I run the program it says,Opening port COM5javax.comm.NoSuchPortExceptionat ...

am getting an error while compiling for StdG variable

432 byte By kirk_hamett81a at 2007-10-1 21:13:53
when I am compiling a program am getting an error for a vairable used called StdG..I could not get much information about it on the net.heres the actual error:.\test.java:86: cannot resolve symbolsymbol : variable StdGlocation: class testdouble t_x = StdG.s(k.t - l);^The pointer for error iis ...

java.lang.NullPointerException component argument pData

16755 byte By MrShadow7a at 2007-10-1 21:14:48
I've been searching all sources possible to find out where a chain of errors ending in "NullPointerException: component argument pData" comes from and have found nothing that can help solve my problem. My code runs but ends with a series of errors that occasionally freezes my computer when the ...

java.security.AccessControlException

2121 byte By rajeshnr@mailb0x.coma at 2007-10-1 21:28:04
Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)at java.security.AccessControlContext.checkPermission(Unknown Source)at java.security.AccessController.checkPermission(Unknown Source)at ...

Tagging code fragments/examples

370 byte By luanoa at 2007-10-1 21:29:35
Is there any way to tag fragments of code for inclusion as examples in another document. I want to tag some Java code so that it can be used automatically update the code fragments used as examples in Framemaker. I've seen the MIF doclet mentioned but it I can't see how it might be used with ...

language display problem

334 byte By kasoa at 2007-10-1 21:32:22
the runtime environment:jdk 1.5.0_04windows2000 sp4(English edition).we has installed the language package,but java display Chinese is wrong.and we also can't get the correct result to displaying Korean in Chinese edition windows2000 sp4,but it can display Japanese.How can we resolve this ...

compiling errors

256 byte By uthater3a at 2007-10-1 21:35:26
I am trying to us a jar package that was given to me by my instructor. However, when I go to import the program I get the error message that the package does not exist. I have set the classpath to the lib folder where the jar package is. Please help

java applet error

2309 byte By mark_eba at 2007-10-1 21:42:51
Hi, hope someone can help me.when trying to access some sites i get red cross in the corner of the screen. with the error, null pointer exception and failed java applet.The web site tring to acces is https://the.co-operativebank.co.uk/coop.htmlthe code form the sun console isload: class ...

Unkown Source

393 byte By saravana_kuttia at 2007-10-1 21:43:01
I get an "Unknown source" message in my stack trace. The point where the message comes up is in fact MY code, whose class files are present in a different jar file from the one i exceute. I want java to report the correct line number where the exception occured. Please provide some ...

memory out of bounds

1594 byte By jith911a at 2007-10-1 21:45:11
Hi, I am a newbie.I am not sure wheter this is the place to write tis...when i tried to deploy an ear file in jonas app server..memory out of bounds error showed up..but when i checkd using free -m it showd like[oss@ctsintdlts5 JONAS_4_5_0]$ free -m totalusedfreesharedbufferscachedMem: ...

FindClass() throws java.lang.UnsatisfiedLinkError exception

3913 byte By showmenexta at 2007-10-1 21:47:06
Hi All,I am using a JNI to make my C program to communicate with the GUI developed in Java Swings. In my C program I have used FindClass() method to find the java class. While exececuting my C program, I got the following exception,Exception in thread "main" java.lang.UnsatisfiedLinkError: ...

Run main project error

280 byte By rickywooa at 2007-10-1 21:51:27
I'm using netbeans but i do not get any compiling errors just a error when i build my project.java.lang.NullPointerExceptionat Flights.<init>(Flights.java:25)at Flights.main(Flights.java:29)Exception in thread "main" Java Result: 1

ClassCast Exception

522 byte By EverteMaxa at 2007-10-1 21:51:44
I have the following error...I'm working on someone else's project (improvement) so I met a lot of bottlenecks...this is one of them:chatObj = (ChatObj) in.readObject();when I run the whole project, it flags a classcastexception at this line.in case u guys are wondering what chatObj is, the ...

Run main project error

478 byte By rickywooa at 2007-10-1 21:54:21
coming bk to the same problemjava.lang.NullPointerExceptionat Flights.<init>(Flights.java:25)at Flights.main(Flights.java:29)Exception in thread "main" Java Result: 1This is my line 25:File file = new File(new File(getClass().getResource("Data").getFile()),"Data.txt");Line 28-29:public ...

Deleting Java Objects in Internet Explorer

718 byte By pitsnipea at 2007-10-1 21:57:35
I work for a help desk (I am Tier I) and there seems to be confusion regarding the handling of java objects in Internet Explorer.I have asked everyone i can think to ask, and i get different answers.My question is twofold:1) How do you tell a bad java object (internet ...

Javadoc with Ant

591 byte By lkanga at 2007-10-1 21:57:40
I need to generate javadoc with Ant, however I'm just learning to use both. I am compiling with a root build.xml that antcalls to other build.xmls in child directories and so on until the lowest level is tasked to compile the source in its directory. Is there a way to handle this for javadoc? ...

Error: "Unable to compile class for JSP"

4232 byte By Zkou79a at 2007-10-1 21:58:24
Hi folk,I got some wired problem. When I tried to test some jsp files, I got errors like:2005-08-24 18:33:53 StandardWrapperValve[jsp]: Servlet.service() for servletjsp threw exceptionorg.apache.jasper.JasperException: Unable to compile class for JSPGenerated servlet ...

java.lang.nullpointerException error

2553 byte By mark_eba at 2007-10-1 22:03:48
when trying to load a certain website https://the.co-operativebank.co.uk/coop.htmlIm always getting the Em"java.lang.nullpointerException"The pc is running xp pro 2002 ,service pack 2 with the latest update java, Java Plug-in 1.5.0_04Using JRE version 1.5.0_04 Java HotSpot(TM) Client VMhowever ...

Connection reset by peer: JVM_recv in socket input stream read

410 byte By akhil_guptaa at 2007-10-1 22:07:22
Dear All,We are facing a very unusual problem. In our application, there is a functionality to transfer files to a FTP server using java FTPClient.Now while transferring set of files, few times it throws the error:Connection reset by peer: JVM_recv in socket input stream readThis error comes ...

Java(TM) Plug-in Fatal Error

461 byte By rajeshnr@mailb0x.coma at 2007-10-1 22:08:12
Java(TM) Plug-in Fatal ErrorCannot load class sun/plugin javaRunTime.The Bridge was installes at <C:\PROGRA~1\Java\JRE15~1.0_0> but the class is not there Modify the registry key to reflect the new bridge location the key is HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in or change your ...

classpath problem

420 byte By maxlianga at 2007-10-1 22:08:28
Here's my errorC:\Production\registration\WEB-INF\src\InternationalAction.java:31: package edu.globe.online.registration.form does not existimport edu.globe.online.registration.form.InternationalForm;But i add the right path inclasspath in my javac command.javac -classpath ...

Try-Catch

965 byte By ramrod1460a at 2007-10-1 22:09:04
Assume I have 3 Strings which potentially contain numeric values ...I intend to convert these Strings to a BigDecimal. If, for some reason one or more of the Strings do not contain a valid numeric value, I want to substitute a zero value....and then continue on processing the next ...

Help Java error

6629 byte By claypa at 2007-10-1 22:11:48
Dont know if this is the right place for this.Getting this error message in the game folder for il2 Strumovik Forgotten Battles..Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d4603f2Function name=JVM_FindSignalLibrary=C:\Program Files\Ubi Soft\IL2 Strumovick Forgotten ...

jre1.5.0_02 jvm.cfg help needed

77 byte By UNSCODSTa at 2007-10-1 22:12:53
i need help getting the jvm.cfg for jre1.5.0_02 could someone help me.

Help linking to J2EE API

612 byte By Jeremy_Sa at 2007-10-1 22:24:32
I'm having a problem linking my Javadoc to the J2EE API. I don't get an error that it cannot find the package-list at the -link I use, but I get warnings about anything contained in the J2EE API not being found. The link for the J2SE API works fine. Here is the batch file I use to run the ...

Please Help Me I am stoped at this point

842 byte By aghayesinaa at 2007-10-1 22:24:46
I am a beginner here is my simple code:import java.awt.*;public class RootApplet extends com.sun.java.swing.JApplet {int number;public void init() {number = 225;}public void paint(Graphics screen) {super.paint (screen);Graphics2D screen2D = (Graphics2D) screen;screen2D.drawString("The square ...

Help with a JAVA download

321 byte By medjavaa at 2007-10-1 22:25:08
I have a user whom we are trying to download JAVA to his machine. When it tries to install I get a 1708 error that it cannot find a file and it is looking for the file in a folder for IE 5.5 - He is currently on IE 6.0 so this folder does not exist. Has anyone seen this and can you help?Thanks ...

Method not found

544 byte By vshah007a at 2007-10-1 22:25:45
I have Oracle 9i App server and I am using jdev as IDE. I did the following1. Update java file (added 2 new methods) compiled and created class file2. Opened the class file through DJ decompiler and made sure that those 2 methods are created in the new class3. Updated jsp page and used these 2 ...

StackOverflowError

142 byte By panik100a at 2007-10-1 22:32:54
Hi,I am getting stackoverflow error when trying to create an instance of inner class within inner class. Please adviceNik

Browser crashing, jvm.dll = error

656 byte By Mark_kulaa at 2007-10-1 22:38:18
hi, im not sure on the details and all that, all i know is that over the last year i have been playing runescape on my pc fine. recently i had to reboot my pc to clear alot of the junk off it, upon reinstalling java for runescape i have started getting error messages. I use bt yahoo browser and ...

MyApp + Swin2.0 + JRE 1.5 + XPSp2 = Error in HotSpot Virtual Machine

442 byte By Daij-Djana at 2007-10-1 22:38:39
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6ca9da, pid=2552, tid=1356## Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)# Problematic frame:# V [jvm.dll+0x8a9da]Now, I guess that wont help much, would it?Does SWIN ALWAYS fail to work with the JRE 1.5 on XP?Is there a ...