I'm working on a simulator that can run pretty slow at times due to it's massive size. There have been complaints made that sometimes when a user presses a button on the hmi, nothing seems to happen and they have to press it again. Do you guys have any incite into what could be causing this? ...
there is an error error message telling me that nonstatic method cannot be referenced to a context one... pls help me... i'm new in java and i'm still a student... it's my first time in java... thanks a lot... i really want to learn...here are my codes...package com.mybank.domain;public class ...
Using jdb I am able to stop by "stop at $Oracle.Procedure.DTP.PROCEDURE1:5" as seen below>main[1] stop at $Oracle.Procedure.DTP.PROCEDURE1:5Set breakpoint $Oracle.Procedure.DTP.PROCEDURE1:5main[1] cont>Breakpoint hit: "thread=main", $Oracle.Procedure.DTP.PROCEDURE1.PROCEDURE1(), line=5 bci=5what ...
283 byte By
PKDemona at 2007-11-27 11:35:57
<p>i am making a game server and i am using java nad when i go to use my compiler to compile every this comes up</p><p>This application has failed to start because jli.dll was not found. Re-install the application may fix this problem</p><p>can someone tell me when i done wrong?</p>
972 byte By
Ievaa at 2007-11-27 11:32:21
Hi,I am sure that most of us is developing applications using Eclipse and JCOP tools (or without that plug-in) and then come to the API javadoc generation.The problem is, that i am trying to generate my on-card package Javadoc. Everything is fine, but it doesn't find eclipse javadoc for jc221, ...
Hi guys, My app is mainly a wordlist crunching program. Its a swing app. There are two flat files about 10 MB each. The first part of the app is supposed to read all that data from the two sperate flatfiles and put them into two seperate Hashtables.The first first file get loaded fine into the ...
I don't know if this deals with my problem but I play a game that uses Java of course but whenever I'm on it, a few minutes later the client will close itself and I have to load it back up and sometimes the problem persists... I'm using the runtime env. 5 update 2 and and env. 6 update 2.... ...
266 byte By
Ievaa at 2007-11-27 11:10:27
<p>Hi,</p><p>I am new to javadoc mif doclet. I have already installed dzbatcher, but it doens't find a framemaker. I read, that versionb 5.5.x or 6.0.x has to be donloaded, but ha couldn't find it.</p><p>Coould you post me a link?</p><p>Best regards,</p><p>Eve</p>
3072 byte By
Meepa at 2007-11-27 10:51:20
The problem is 'throw new ClientException(e.getMessage());' the error message kept stating to be in try/catch but it's already in try bracklet. I tried placing the exception in other bracklet but it defeats the purpose of showing the exception in this specific bracklet. I'm not sure what's the ...
I have a C application which embeds a JVM (of course JNI). I'm trying to do some profiling with JVMTI. Is there any reason Agent_OnLoad would be called twice during the start of the JVM? I'm only calling JNI_CreateJavaVM once in the application I am attempting to profile using JVMTI but the code ...
1350 byte By
tx_vlba at 2007-11-27 10:37:23
I'm having a problem with connecting to www.AmericanGreetings.com without getting the following errors....and I don't know if these errors are Java errors or not....I have not been able to locate where these errors are coming from.....here are the errors I receive: Object doesn't support this ...
503 byte By
gj89a at 2007-11-27 10:37:00
Dear All,I am trying to build a small chat program that connect two computers on a LAN.As I'm not good with Java, I'm using the programs I found on this site: http://pirate.shu.edu/~wachsmut/Teaching/CSAS2214/Virtual/Lectures/chat-client-server.html Whenever I compile any of the programs, server ...
I'm running Mozilla 1.7.11 on Windows NT. In the last few days, Mozilla will crash any time I visit a site that uses certain types of javascript.The error message that pops up before crashing has the title "mozilla.exe - Unable to Locate DLL" and reads " The dynamic link library verify.dll could ...
Hi,i want to get the size of the heap before and after each gc.The code is below. However, at run time, I get the followingAttachCurrentThread:0ERROR: JVMTI: 115(Unknown): the first line shows the return value from the attachcurrentthread call, which seems to work ok. the next line is the error ...
I'm looking at the doc located here: http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#jniInterceptThe code sample is also a part of the Java 5 JVMTI doc. Is this code correct? It won't compile the way it is, even when the obvious ommissions are coded back in.//JNIEnv ...
Hi,This is fairly high level question about the use of the above method, and indeed any timers in jvmti. Generally speaking the timers return time in nanoseconds set in jlong, which are signed. This means that the time returned by this method "wraps" every 2.147483647 secs. This is because jlong ...
Please help me!!! I am new in java and I tried the next programm:import javax.swing.JOptionPane;class My_programm {int a;int b;int S;public static void main( String args[]) {{a = Integer.parseInt(JOptionPane.showInputDialog("First num"));b = Integer.parseInt(JOptionPane.showInputDialog("Second ...
14306 byte By
kvn07a at 2007-11-27 10:01:15
Hi,Whenever i try to enter the login page, it auto close the browser. Pls help. thanks.## An unexpected error has been detected by Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x06c306ca, pid=3700, tid=3408## Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed ...
2027 byte By
Yoela at 2007-11-27 9:38:08
Helllo everybody,I'm trying MIF Doclet to generate a pdf report (I use java 6).I ve this error : Loading source files for package type...Constructing Javadoc information...javadoc: warning - Multiple sources of package comments found for package "type"MIF Doclet version 1.2 beta 2 (build date: ...
I wrote an application that opens up a series of large data files, jumps through the files to determine if they are of correct format and output any errors associated with the data contained within the files. To speed up execution of the program, I designed the program to open up each folder as ...
564 byte By
pkishora at 2007-11-27 9:13:56
Hi We have developed one tool, which conencts to SAP server and extracts data from SAP tables. This tool is working fine, but for some servers we are geting following error. Appreciate you help. Thanks Exception in thread "Thread-2" java.lang.OutOfMemoryError: out of memoryat ...
Hi to all! I made one application in which i can choose stuffs for printing, and maximum number of that stuffs is 15. Problem is that when I click on the button for adding stuffs all Forms have just closed and I got only log file with error. But sometimes I can add all 15 stuffs without error, ...
1865 byte By
shamexa at 2007-11-27 9:06:41
I keep getting Unhandled NullPointerException although the loginID is not null.public Secuser[] getBulkUserLoginID(String loginID){ Secuser[] user = null; try {String sql = "SELECT * FROM " + Constant.DB_REPORTCONFIG+ ".secuser s WHERE s.parent_login like '" + loginID + ...
Hi!I'm writting a very simple profiler using JVMPI. I intended to pause/continue it by sending signal, like kill -SIGUSR2 PID, to it, but whenever I did this, the java program that ran with the profiler stopped running, however the profiler kept running properly.Here's the code of the simple ...
5474 byte By
Exekyela at 2007-11-27 8:50:07
look guys im new on this of JAVA im starting a career on this but i have a lot of questions, the only one who can resolve this is somebody and not a manual xDis simple i just need an alternative(im sorry for my english but i cannot speak much english)the code have comments in spanish dont read ...
Hi,Can anyone let me know how can i handle exception tht r thrown from the method.With try and catch i dont have any problem but when i try to use errorpage and comment all try catch blocks in the page the block of code into method declaration throws exception which i m not able to ...
436 byte By
bspikea at 2007-11-27 8:25:54
I have a DLL that serves as both PI and TI library. When using PI, I can specify -XmsNNNNm -XmxNNNNm but the same setting would not work when switching to TI. I must lower the heap setting by as much as 725M on a Windows box. On UNIX, I only need to lower it by 5-20M depending on machines. It ...
12034 byte By
kandilxa at 2007-11-27 8:20:20
exception java.io.IOException is never thrown in body of corresponding try statementimport java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.text.*;import java.util.Date;import java.io.*; public class SampleIO2 {int[] u= new int[27];JFrame f;String s1,s2;int ...
1401 byte By
Chadhaa at 2007-11-27 7:44:50
I am using jdk1.5.0_06's version of tools.jar. I have attached the code that I am using in a custom doclet but still I am not able to view generics.The output is java.util.List instead of the complete type. Am I missing something? public static boolean start(RootDoc root) throws ...
111 byte By
noobboya at 2007-11-27 7:40:16
Hi, may I know whether is there any way to print the error messages to a log file? Thanks for your help!
Hi I've been workin on a project, and it seems something is wrong with this code... i honestly cannot figure it out...here it is :Uses the following methods:public static boolean areEquivalent (String word1, String word2)This method reutrns true or false depending on whether the two input ...
i have a jad file d2link and i get this error msg [unable to verify digital signature ] can any one help its on a 8525 phone with wm5 on it with the java program 6.1 i have downloaded opera it seem to work fine plus the golf tracker and gmail and them seem to work fine or is there any way to ...
I'm relatively new to Java, since I've been programming since March. I have to do a task for a course I磎 taking on the university, but I can't find the source of an error that appears when I try to compile.My code is the following, for class Polinomio1:import java.io.*;class Polinomio1 ...
How do I do hot code replacement in Eclipse? I tried to write another line while debugging the code, but I got the warning message about the obsolete methods in stack.
Please help me out with this, I'm new to Java and I can not figure this one out. I also tried it by including throw Exception after the args statement and it was able to create the file but nothing printed in it.ThanksError:unreported exception java.io.FileNotFOundException; must be caught or ...
1096 byte By
nrupesha at 2007-11-27 6:08:40
Hi,I'm trying to run a ant script to create javadoc. I'm using JDK 1.5 for the same. But I'm getting following error.Can anybody give me some suggestion what could be wrong there. I'm not getting any files written after this error, and build is failing due to this.javadoc: error - In doclet ...
All, BACKGROUND:I have a simple Struts application that is connected to MySQL. In one of my Actions that calls a method that accesses the database, I'm handling the SQLExceptions by catching the exception and storing (as strings) the error code and message into two bean properties (both ...
244 byte By
Bassedaa at 2007-11-27 5:41:35
I would like to run specificaly one thread in the debugging mode but I don't want to run whole program in the debugging mode. Beside, I also want not change virtual machine settings in the debugging mode. Is there any suggestion?
When I want to add pictures to my facebook account, this error appears:sun.plugin.cache.JarCacheVersionException: Number of attributesspescified in the 'cache_archive' doesn't match those in 'cache_version'After that message and I have pressed OK, this one appears:The publisher cannot be ...
I think Netbeans (or Java itself?) has a major flaw in its compiler design.Explain to me why the following code is not compilable. Specifically, why it should complain about line 8:cannot find symbolsymbol : variable SelectedWhen I clearly declared it a couple lines above it!Now the fact that ...
907 byte By
wes68a at 2007-11-27 5:22:51
Hi, I try to run code below but it show me the error :public class JClientDemo { public static void main (String [] args) { JClientDemo demo = new JClientDemo (); demo.testClientApi (args); } public void testClientApi (String [] args) {System.out.println("Test Client API starts"); if (args[0] ...
Hi,After writting the Java code using native method, Likepackage jni;public class jniFile {static{System.loadLibrary("jniFile");}public jniFile() {System.out.println("Inside constructor ");}private native void printMessage(String msg);public static void main(String[] args) {jniFile m= new ...
Hi i am new in struts When i want to connect the database using the method getDataSource(request)The compiler will give error that cannot find the method The code i have written is given belowDataSource datasource = null;datasource = getDataSource(request);Pleaase ...
1016 byte By
JustRana at 2007-11-27 5:06:28
Hi all,I want to generate javadoc for few classes, including all private nested classes.I ran javadoc from an ant file and got the following error - [javadoc] javadoc: More than one of -public, -private, -package, or -protected specified.Here is the ant target I used for javadoc ...
660 byte By
buliwyfa at 2007-11-27 5:06:16
Hello!JavaDoc works very fine but there is one little thing that troubles me. In the standard Java 5 API every class and it's packages are represented as links (e.g. java.io.File is displayed as File). Regretfully I did not find a possibility how this works on my documents. Someone told me to ...
1390 byte By
noobboya at 2007-11-27 5:03:30
Hi, currently I am trying to run the servlet through TCPMon, and the result is: HTTP/1.1 200 OKContent-Length: 0Date: Tue, 22 May 2007 01:57:15 GMTServer: Apache-Coyote/1.1May I know why is it not working? Thanks(Below is the codes)import java.io.*;import javax.servlet.*;import ...
Application error occurs during processing the request. Details: java.lang.NullPointerExceptionat sit.fypj.hrms.beans.MedicalClaimBean.retrieveUserMedicalClaim(MedicalClaimBean.java:319)at sit.fypj.hrms.servlet.MedicalClaimServlet.processViewRequest(MedicalClaimServlet.java:49)at ...
1802 byte By
Garva at 2007-11-27 4:56:45
Hello,I'm a newbie in java and struts, i was trying a simple struts application given in "struts complete reference".This is my code of its Controller class(Action class):-package com.jamesholmes.struts;import java.util.ArrayList;import javax.servlet.http.HttpServletRequest;import ...
432 byte By
kotmfua at 2007-11-27 4:53:16
i am trying to use javadoc to document my program (as you do) and i have 4 function in one class, one of these is main.javadoc will only read main tho and leave the other 3 with nothing.i tried sticking the main at the bottom of the code to and that doesnt work eitheranyone have any ideas?(i'm ...
210 byte By
brufusa at 2007-11-27 4:49:08
Hi everybody!Does anybody know if exist any kind of patch o pluging to generate Javadoc in other language (different of English).How could I find it?Thank you very much!brufus