642 byte By
danvora at 2007-11-26 22:01:34
To get objects allocated during runtime, I use byecode intrumentation, JNI function interception, and VM Object Allocation Event of TI. But I still miss the allocation of many objects, about 15% of all the heap objects. why this happens, the objects missed are "[I", ...
23901 byte By
js04a at 2007-11-26 22:04:22
Hi, not sure what is wrong with my codes....this is how i want it to work:--the user enters their details and item details--when the user clicks on "FindCustomerAndPlaceBid" button, the users details and item details should be displayed.the error: NullPointerException ItemPD.javaimport ...
643 byte By
JanDa at 2007-11-26 22:21:19
Hey guys I'm using Java JDK v1.6.0 or dr Java(not really sure since I just downloaded it). I have a school assignment to do and I can't figure out what to do about this error. 1 error found:File: (no associated file) [line: (no source location)]Error: Compile exception: ...
342 byte By
JRubioa at 2007-11-26 22:27:43
Hi,How can I write html code without be interpreted. I want to write a header like: /** * * @param html A text like <div>hello</div> * **/and I want that JavaDoc doen't interprets <div> as HTML.How can I do it?Thanks a lot for helping me ...
332 byte By
chapara at 2007-11-26 22:29:18
Hello,I am not a Java expert but my application is using java to generate some reports. I am getting the above error when I try to generate some graphical reports. I am not sure where to start looking at this problem, can someone provide me with some insight...I am running Sun OS 9.0Database - ...
1382 byte By
Grubbsya at 2007-11-26 22:43:00
We have an internal controller for our HVAC systems. Members of our maintenance dept can access the controller through a web portal. When we try to access the site, we get the following error:load: class com.jci.metasys.ui.applet.MetasysApplet.class not found.java.lang.ClassNotFoundException: ...
212 byte By
Del2a at 2007-11-26 22:49:56
What I need for generation javadoc in eclipse, maybe I must download some tools ? I press project / generate javadoc..and dialog say that I must enter Javadoc Command ? "Specify the Javadoc command"
716 byte By
pelakha at 2007-11-26 23:24:11
I have a method that logs on entry (based on a flag), and I would liketo be able to identify the caller in the trace. Now, I can useThread.getStackTrace() to get the static thread stack, from which Ican get the invoking class and method. However, I would like to gethold of the 'this' object ...
Hi, I'm fairly new to java...was wondering if anyone could tell me why i'm getting a null pointer exception on the length = list.length; line...list is an array that has both been declared and initialized:public String toString(){length= 0;index=0;length = ...
when I generate my javadocs im having a problem in that the return and parameter Objects are not links. It will list the name of the class but its plain text only.This is an example what im talking about http://java.sun.com/j2se/1.4.2/docs/api/java/util/Observer.htmlThe 2 parameters for the ...
666 byte By
JaySima at 2007-11-27 0:16:48
Hi,I think this has been talked about a million times, but I just want to be sure I have it right. Basically I want to use the Standard doclet, but just tweak it a little. The Sun site says to either modify a copy of the source directly, or to subclass Standard and other "appropriate" ...
748 byte By
mogga at 2007-11-27 0:26:07
hi all,i have a problem with toString() method. i wrote an extending class for Hashtable, named OrderedHashtable. When i start the program toString method gives the following error messagecom.sun.jdi.InvocationException occurred invoking method.my extended class looks like thispublic class ...
176 byte By
RaviDa at 2007-11-27 0:41:24
hi,i am trying to do documetation for jsp pages, but i am not successed.can someone clear this up for me? thanks!Message was edited by: RaviD
i've been splitting my hairs at this all night.any help would be great!need answers quick...i'm getting a compile error:E:\java\Methods.java:36: getValidMaxNum() in Methods cannot be applied to (int)userNum = getValidMaxNum( userNum );^E:\java\Methods.java:38: cannot find symbolsymbol : ...
Hello :) My friend is doing his thesis & he's stuck with this program. Apparently it's not compiling. Unfortunately I don't have Java installed on this comp (in work) so I'm not much use but I was hoping someone here could point him in the right direction. Here ...
Just updated my java today - waste of time.Tried to play some games on Pogo and the updated java froze Firefox and IE each time. Restarted the machine just to make sure but the browsers just kept freezing.Uninstalled the update and the games worked no problem.
Hi all,we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows event viewer, application logs. Please help me on how to do this.do we have any specific API for this ?thanks in ...
517 byte By
tlrochea at 2007-11-27 1:15:14
I'm running a Java app from ant on linux. When I run the app from thecommandline, it seems to run OK, but from ant I'm getting> BUILD FAILED> /foo/bar/build.xml:140: exec returned: 13and I have no idea what errorcode=13 means. Is there a list ofcommandline error codes somewhere that I ...
535 byte By
Stanea at 2007-11-27 1:17:01
Hi everybody :-)Is there a way to do this:public void someMethod(int var1, int var2){ /** * I want this piece of comment included in JavaDoc. Here I will describethis small part of code. */ int var3 = var1 + ...
363 byte By
Bartelda at 2007-11-27 1:19:07
Hi, I am getting a lot of SQLExceptions in my project, and I am fed up with try/catches everywhere in my project. I am doing exactly the same in every catch.So I was wondering if there is any way of default error handling, so if noone catches this exception, this will catch it.I know it excists ...
205 byte By
Anumehaa at 2007-11-27 1:33:49
hi friends, if any one of u have a technical specification document for any java development project then plaese avail me with it as soon as possible , i need one very urgently!thanks!
30032 byte By
Jhay_area at 2007-11-27 1:43:53
I need Help, im encountering this Exception and i dont know what to do, can any Help me to resolve this problem.... Any help is greatly appreciated/HERE'S MY CODE--String fileName = "Sample";System.out.println("Download Word Document");System.out.println(session.getAttribute("data"));// set ...
531 byte By
Javadoca at 2007-11-27 1:56:17
My custom taglet works on information that is constructed based on RootDoc in my custom Doclet. I store this info in a static class. I notice that Taglet cannot access this info as it being loaded by different ClassLoader. Instead of constructing the info in Custom Doclet, I would like to ...
class Thread1 extends Thread{public void run(){try{ String[] devices=Jpcap.getDeviceList();String val="";for(int j=0;j<50;j++){System.out.println(devices[j]);val=val+devices[j];}Jpcap jpcap=Jpcap.openDevice(val,10000,false,20);jpcap.loopPacket(-1,new PacketSniff());}catch(Exception ...
2328 byte By
spva at 2007-11-27 2:31:27
HiI am using Netbeans 5.0 with bundled Tomcat 5.5.9.I have both jdk1.4 and jdk1.5 installed.Previously it was jdk1.4 selected as default platform. Then i changed it to jdk1.5.From then on, i wasn't able to run servlets. Before that i was able to run servlets.The error that i got was ...
9038 byte By
arunkva at 2007-11-27 2:31:36
While running JavaDoc (from Java 6) on some files, I see this exception:java.lang.StringIndexOutOfBoundsException: String index out of range: -1resulting in a DocletAbortException. I am unable to figure out what might be causing it (or even which of my files is triggering it). Here's the ...
Hi,have creted the logger and the code is below.... when i log something using subscriberLogger it writes both on console and as well file.I badly need to supress the logs which is written on console... and someone help me in this reagards.subscriberLogger = ...
I get this error when I pass a string of sql query to JDBC to retrieve data..Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 5 >= 122at java.util.Vector.elementAt(Vector.java:432)23at sportsapp2.SportsMDIApp2.showNextMatch(SportsMDIApp2.java:46)2425at ...
Hi im a newbie at this ^^;I get the error message "non-static method cannot be referenced from a static context" when i try to compile my Asteroids class. Im trying to access an arraylist from my spaceRock class.package Asteroids;import java.awt.Color;import java.awt.Font;import ...
Hello.Sorry, this is a cross-post from the jpda forum, but as i had no anwser in weeks i had to try here too.Here is the description of my problematic:For one of my projects, swash, ( https://swash.dev.java.net ) which is an animation package for swing, i am confronted to problems during ...
2203 byte By
kode128a at 2007-11-27 3:00:11
Hello everyone, maybe someone knows how to solve this or where the problem is? Tnx!Exception in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionat org.jdesktop.layout.GroupLayout$ComponentSpring.installIfNecessary(GroupLayout.java:2216)at ...
Hi all,Is there a way that I can embed the source of each function in the javadoc html pages. Function descriptions in that case may have a small + sign next to them, clicking on which displays the source for that function.This functionality will be really useful as many a times reading the ...
257 byte By
cheynnea at 2007-11-27 3:12:06
Hi,I encountered error below in 10g database.The same application worksfine in 9i database. Any idea the cause the of the problem?org.hibernate.ObjectNotFoundException: No row with the given identifier exists:Thanks a lot.
Anyone here knows why JAR libraries we get for open source or other projects do not contain Javadoc?That way, it would be very easy to show context sensitive help in IDE's...
Im working with eclipse at the moment and I just generated a JavadocI need to get purpose, preconditions and postconditions written for my methods.I doubt it but is there a way for it to get automatically generated in the methods for me?If I have to do it manually, is there any guide one can ...
i implemented chat by establishing the connection using sockets.. the application works fine when running on a single machine but exits after somewhile when two remote machines are connected.the time after which the error occurs is random not dependent on number of messages exchanged or the ...
4663 byte By
Pnolana at 2007-11-27 3:27:00
Hello there,I'm brand new to Java and have. I'm taking my 2nd Java class at school and I'm pretty lost at this point. I realize there are other postings regarding this topic and I have looked through them but have not been able to get an answer to my problem.The main problem I'm having ...
Hi everybody,I am getting "Exception in thread "main" java.lang.NullPointerException" when I try to run the code. The pointed lines for the error are all related to searchDB method. Please, anyone can help figuring out what's wrong?package onlineshopping;import javax.swing.*; //for frame ...
577 byte By
frusteda at 2007-11-27 3:29:37
My newer XP, IE7, serv. pack2 computer brings up "Sorry, your browser doesn't support Java" on my WWW site at my provider. I can bring up java programs from other sites on this computer. I have removed and reloaded IE7 without solving to the problem. I have also removed and reloaded the latest ...
When rolling over the submenu of www.mweyecenter.com that i made the site, on an APPLE operating platform the cursor on the submenu images turns into a cursor vs. the finger pointer, which makes it hard to click on for the user.HELP ;)
638 byte By
roamera at 2007-11-27 3:54:42
I have a java file which requires the following class to be imported.import java.io.*;import java.net.*;import java.util.*;import java.text.*;import javax.servlet.*;import javax.servlet.http.*;import org.apache.commons.fileupload.*;import ...
I have found one interface in one pdf .i dont know what actually this interface will do,plz help mepackage javax.servlet;// // Approximate Source Imports// public abstract interface Servlet{// // Fields// // // Constructors// // // Methods// void init(javax.servlet.ServletConfig param1){} ...
Hi,how can i write multilingual javadoc for my java source code?for instance:/** * <div lang="en">bla bla bla </div> * <div lang="tr">bla bla bla </div> */
Dear sirI am implemention an application called CRV in that i am facing error as:" exception occured in CRV.java.lang.ClassNotFound exception com infy.bbu.crv. CRV error type"Kindly explain the cause and solution for the same
16772 byte By
Mdoga at 2007-11-27 4:29:13
Ok, i made my own java compiler (well my friend made it for me), and I got this error when i ran the program.....[URL= http://imageshack.us][IMG] http://img510.imageshack.us/img510/9672/hellojavacompilerss4.gif[/IMG][/URL]Here is the code in my compiler if you want to take a look at it.@echo ...
I am having a problem with these line of code:TestDataManager f_TestDataManager= new TestDataManager();Hashtable f_Parameters= new Hashtable();f_Parameters.put("ipaddress", str[0]);f_Parameters.put("port", "2101");f_Parameters.put("type", "socket");DataManager f_Manager;f_Manager = new ...
1534 byte By
noobboya at 2007-11-27 4:30:51
I have got this message after trying to compile the java servlet file HelloWorldExample.java. May I know what is the reason and how to resolve it. Thanks! Below is the code.import java.io.*;import java.text.*;import java.util.*;import javax.servlet.*;import javax.servlet.http.*;public class ...
Hi,Please help me out in the following exception:If you see this exception closely, there is no classpath which throwing error. This is not with this particular exception, in every exception its not showing the classpath. Please go through it and advice.java.lang.NoClassDefFoundErrorat ...
When I generated a javaDoc for my project I received the following Warning: Leaving out empty argument '-windowtitle'Could someone please explain to me what is that warning and how to fix it?Thanks in advance
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