CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    Posts
    32

    Can't debug Webstart Program

    Hi, I want to debug a program but it is complicated by the fact that it is webstart. But AFAIK the jar files of interest are executed locally. Whenever I try to start debugging in eclipse it gives me this error.

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
    at ChipSeqToolSet.main(ChipSeqToolSet.java:145)

    which corresponds to this bit of code

    Code:
    	public static void main(String args[]) {
    		String cgiURL = args[0];
    		String mode = args[1];		
    		Configurator.initialize();
    		Configurator.setCGIURL(cgiURL);
    		Configurator.setMode(mode);
    Any idea what the problem is and the best way to proceed

  2. #2
    Join Date
    May 2002
    Location
    Lindenhurst, NY
    Posts
    867

    Re: Can't debug Webstart Program

    Have you googled or looked at the java api doc for ArrayIndexOutOfBoundsException?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured