473,386 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

What does this exception mean?

41
Hi,

Can anyone help me please?

My code throws this error:

Expand|Select|Wrap|Line Numbers
  1. init:
  2. deps-jar:
  3. compile:
  4. run:
  5. java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
  6.         at java.util.Vector.elementAt(Vector.java:427)
  7.         at camera.jmfexample.main(jmfexample.java:58)
  8. BUILD SUCCESSFUL (total time: 6 seconds)
  9.  
What does this mean?
Nov 20 '07 #1
2 2716
heat84
118 100+
The cause may be that you are trying to reference an array element using an index which is greater than the size of the array.
Nov 21 '07 #2
r035198x
13,262 8TB
Hi,

Can anyone help me please?

My code throws this error:

Expand|Select|Wrap|Line Numbers
  1. init:
  2. deps-jar:
  3. compile:
  4. run:
  5. java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
  6.         at java.util.Vector.elementAt(Vector.java:427)
  7.         at camera.jmfexample.main(jmfexample.java:58)
  8. BUILD SUCCESSFUL (total time: 6 seconds)
  9.  
What does this mean?
... and if you look at that exception trace you'll see the exact line number in your code where that exception was thrown. You can use this to get the array that's being overrun ...
Nov 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
24
by: Steven T. Hatton | last post by:
If I understand correctly, I have no assurance that I can determine the type of a simple class instance thrown as an exception unless I explicitly catch it by name. (non-derived classes having no...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
0
by: Greg | last post by:
In my ASP.NET 1.1 Web application I have an HTTP Module that is a "global exception logger." that logs info about otherwise unhandled exceptions. It has logged the following exception 4 times...
6
by: **Developer** | last post by:
What does this mean: External component has thrown an exception. My program crashes after it leaves a subroutine. What I see during debugging is when I press F11 at the End Sub statement
0
by: **Developer** | last post by:
This is almost the same as a previous post that is still giving me a problem, but with a different slant. I can't seem to find out what is wrong. My program crashes after it leaves an event...
11
by: Howard Kaikow | last post by:
I'm using the code below, but an error is not getting trapped. Where can such errors occur? In another process? Try SomeCode Catch ex As Exception Dim strMsg() As String = Split(ex.ToString,...
4
by: Jorge | last post by:
Iam a newbie. What does this error message mean? A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualBasic.dll
11
by: xz | last post by:
Hi, I am currently switching from Java to C++. When I code in Java, I use the following website to find the specifications of classes and methods: http://java.sun.com/j2se/1.5.0/docs/api/ I...
14
by: Mohamed Mansour | last post by:
Hey there, this will be somewhat a long post, but any response is appreciated! I have done many PInvoke in the past from C++ to C#, but I did PInvoke within C# not C++/CLI. Can someone explain...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.