Thread: [PI] Error - Exception in "main" java.lang.ExceptionInInitializerError

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11  
    Registered Member
    Iwin's Avatar
    Join Date
    Mar 2008
    Age
    27
    Posts
    677
    Thanks given
    12
    Thanks received
    56
    Rep Power
    245
    This error is deffinitly to do with item.cfg;

    Make sure you use tabs, and not spaces. Here is an example
    Code:
    item = ITEMID	ITEMNAME	ITEMEXAMINE	SHOPVALUE LOWALCH HIGHALCH	0	0	0	0	0	0	0	0	0	0	0	0
    [SPOIL]
    [/SPOIL]
    Reply With Quote  
     

  2. #12  
    Registered Member

    Join Date
    Sep 2009
    Age
    24
    Posts
    2,769
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    Post or pm your item.cfg and tell me the last thing you remember editing.
    Reply With Quote  
     

  3. #13  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,472
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    You didn't enter all of the Values for an item. i.e.:
    Code:
    item = 19111	TokHaar-Kal	A_cape_of_fire.	60000	60000	60000	2	2	2	2	2	12	12	12	12	12	8	2
    You need all of the values, you might have forgotten the shopvalue highalch lowalch.
    Reply With Quote  
     

  4. #14  
    Registered Member
    Join Date
    Jun 2014
    Posts
    26
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 17
    at server.world.ItemHandler.loadItemList(ItemHandler. java:522)
    at server.world.ItemHandler.<init>(ItemHandler.java:3 4)
    at server.Server.<clinit>(Server.java:82)
    Press any key to continue . . .


    Everything is perfect, but its not working!!!
    Reply With Quote  
     

  5. #15  
    RSPS Developer
    Jero's Avatar
    Join Date
    Aug 2015
    Posts
    95
    Thanks given
    2
    Thanks received
    5
    Rep Power
    36
    Quote Originally Posted by heatox View Post
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 17
    at server.world.ItemHandler.loadItemList(ItemHandler. java:522)
    at server.world.ItemHandler.<init>(ItemHandler.java:3 4)
    at server.Server.<clinit>(Server.java:82)
    Press any key to continue . . .


    Everything is perfect, but its not working!!!
    I had this same issue, and it was down to using spaces, Do a Ctrl + F for ' ' and see if there are any at all.
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 1
    Last Post: 03-07-2012, 01:41 AM
  2. Replies: 8
    Last Post: 07-03-2011, 09:05 PM
  3. Replies: 10
    Last Post: 11-17-2010, 05:19 PM
  4. Replies: 3
    Last Post: 08-22-2010, 08:29 PM
  5. Replies: 1
    Last Post: 06-13-2010, 11:16 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •