Thread: Azure loading item def.'s

Results 1 to 7 of 7
  1. #1 Azure loading item def.'s 
    Registered Member HolyTrinity™'s Avatar
    Join Date
    Jul 2011
    Posts
    205
    Thanks given
    10
    Thanks received
    5
    Rep Power
    10
    When I try and run azure i come across an error in itemDefinitions. Im using the version 3. Here it is:

    Starting Azure on localhost/127.0.0.1:43594...
    Loading packets...
    Loaded 42 packets.
    Loading item definitions...
    com.thoughtworks.xstream.converters.ConversionExce ption: Cannot construct com.rs2.model.players.ItemManager$ItemDefinition as it does not have a no-args constructor : Cannot construct com.rs2.model.players.ItemManager$ItemDefinition as it does not have a no-args constructor
    ---- Debugging information ----
    message : Cannot construct com.rs2.model.players.ItemManager$ItemDefinition as it does not have a no-args constructor
    cause-exception : com.thoughtworks.xstream.converters.reflection.Obj ectAccessException
    cause-message : Cannot construct com.rs2.model.players.ItemManager$ItemDefinition as it does not have a no-args constructor
    class : java.util.ArrayList
    required-type : com.rs2.model.players.ItemManager$ItemDefinition
    path : /list/itemDef
    line number : 2
    -------------------------------
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:89)
    at com.thoughtworks.xstream.core.AbstractReferenceUnm arshaller.convert(AbstractReferenceUnmarshaller.ja va:63)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:76)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:60)
    at com.thoughtworks.xstream.converters.collections.Ab stractCollectionConverter.readItem(AbstractCollect ionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:68)
    at com.thoughtworks.xstream.converters.collections.Co llectionConverter.unmarshal(CollectionConverter.ja va:61)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:82)
    at com.thoughtworks.xstream.core.AbstractReferenceUnm arshaller.convert(AbstractReferenceUnmarshaller.ja va:63)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:76)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:60)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.sta rt(TreeUnmarshaller.java:137)
    at com.thoughtworks.xstream.core.AbstractTreeMarshall ingStrategy.unmarshal(AbstractTreeMarshallingStrat egy.java:33)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:923)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:909)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.j ava:861)
    at com.rs2.model.players.ItemManager.loadItemDefiniti ons(ItemManager.java:202)
    at com.rs2.util.XStreamUtil.loadAllFiles(XStreamUtil. java:62)
    at com.rs2.Server.run(Server.java:107)
    at java.lang.Thread.run(Unknown Source)
    Caused by: com.thoughtworks.xstream.converters.reflection.Obj ectAccessException: Cannot construct com.rs2.model.players.ItemManager$ItemDefinition as it does not have a no-args constructor
    at com.thoughtworks.xstream.converters.reflection.Pur eJavaReflectionProvider.newInstance(PureJavaReflec tionProvider.java:71)
    at com.thoughtworks.xstream.converters.reflection.Abs tractReflectionConverter.instantiateNewInstance(Ab stractReflectionConverter.java:308)
    at com.thoughtworks.xstream.converters.reflection.Abs tractReflectionConverter.unmarshal(AbstractReflect ionConverter.java:161)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:82)
    ... 19 more
    Reply With Quote  
     

  2. #2  
    Registered Member HolyTrinity™'s Avatar
    Join Date
    Jul 2011
    Posts
    205
    Thanks given
    10
    Thanks received
    5
    Rep Power
    10
    Bump
    Reply With Quote  
     

  3. #3  
    Registered Member HolyTrinity™'s Avatar
    Join Date
    Jul 2011
    Posts
    205
    Thanks given
    10
    Thanks received
    5
    Rep Power
    10
    nobody can help?
    Reply With Quote  
     

  4. #4  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Update the XStream library.
    Reply With Quote  
     

  5. #5  
    Registered Member HolyTrinity™'s Avatar
    Join Date
    Jul 2011
    Posts
    205
    Thanks given
    10
    Thanks received
    5
    Rep Power
    10
    Ok, thanks ill see if it works.
    Reply With Quote  
     

  6. #6  
    Registered Member Endian's Avatar
    Join Date
    Sep 2011
    Posts
    121
    Thanks given
    21
    Thanks received
    14
    Rep Power
    35
    Need this too! Didn't works for me neither.
    317-377 Cache dumper


    "May the schwartz be with you." - Yoghurt
    Reply With Quote  
     

  7. #7  
    Registered Member HolyTrinity™'s Avatar
    Join Date
    Jul 2011
    Posts
    205
    Thanks given
    10
    Thanks received
    5
    Rep Power
    10
    Nvm fixed. thanks!
    Reply With Quote  
     


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. [Azure] item requirements loaded via XML
    By Satan666 in forum Snippets
    Replies: 7
    Last Post: 02-10-2012, 07:05 PM
  2. [Azure] Item on item packet
    By Ashen Sky in forum Snippets
    Replies: 4
    Last Post: 01-09-2012, 03:24 AM
  3. [Azure/RuneSource] Item Requirements!
    By Rune Sage in forum Tutorials
    Replies: 5
    Last Post: 09-16-2011, 01:33 PM
  4. [Azure] item requirements
    By Satan666 in forum Snippets
    Replies: 4
    Last Post: 04-19-2011, 07:52 PM
  5. Replies: 0
    Last Post: 02-27-2011, 09:13 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •