-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: java.lang.ArrayIndexOutOfBoundsException: 0 (help pls)
PostPosted: Wed Aug 02, 2006 12:48 am 
Newbie

Joined: Wed Jul 26, 2006 5:19 am
Posts: 3
Dear All,
A help is needed with respect to this issue.i am new to this tech.i got a error while running the java class file

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at EventManager.main(EventManager.java:13)

This is the error..i have created table called events and two fields event_id and event_date

i have followed all the procedures correctly.all other two java files are compiled and this java file is compiled .but during runtime i got error.

help me as soon as possuble.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 1:19 am 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
Oh the vagaries of reading people's requests.

You will need to post agian. This time, include (in code tags):
  • The full exception stack trace
  • The full mappings of revelant classes
  • The query that is being run when this happens
  • The java code that passes parameters to this query
Also, a couple of tips when requesting help:
  1. You don't have to say "help me please", as this is implied by posting a question. If you wanted to post a question but didn't want an answer, that's when you'd add a line like "Don't help me please".
  2. Don't say things like "I have followed all the procedures correctly" when you have an error. It is patently incorrect, as if you had followed everything correctly, you wouldn't have an error.
In summary: when asking questions, less is more. When providing info of use to people trying to answer your questions, more is more.

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.