Thread: XStream

Results 1 to 7 of 7
  1. #1 XStream 
    Banned
    Join Date
    Aug 2008
    Age
    31
    Posts
    832
    Thanks given
    53
    Thanks received
    62
    Rep Power
    0
    Lately I have been getting problems with this on EVERY server I run. Do I need to replace some jars in the JDK folder or something?

    Code:
    com.thoughtworks.xstream.converters.ConversionException: Cannot construct com.rs2.model.npc.NPCSizes as it does not have a no-args constructor : Cannot construct com.rs2.model.npc.NPCSizes as it does not have a no-args constructor
    ---- Debugging information ----
    message             : Cannot construct com.rs2.model.npc.NPCSizes as it does not have a no-args constructor
    cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
    cause-message       : Cannot construct com.rs2.model.npc.NPCSizes as it does not have a no-args constructor
    class               : java.util.ArrayList
    required-type       : com.rs2.model.npc.NPCSizes
    path                : /list/npc
    line number         : 3
    -------------------------------
    Reply With Quote  
     

  2. #2  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Update to the latest version of XStream. XStream - About XStream
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Aug 2008
    Age
    31
    Posts
    832
    Thanks given
    53
    Thanks received
    62
    Rep Power
    0
    Quote Originally Posted by doors.cfg View Post
    Update to the latest version of XStream. XStream - About XStream
    Do I just replace the jars in my lib folder of the server or something?
    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
    Quote Originally Posted by Trilla View Post
    Do I just replace the jars in my lib folder of the server or something?
    exactly that.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Aug 2008
    Age
    31
    Posts
    832
    Thanks given
    53
    Thanks received
    62
    Rep Power
    0
    Ok, I've done that, yet it still doesn't work. Any further help?
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    read the error message and use the proper syntax

    Code:
    Cannot construct com.rs2.model.npc.NPCSizes as it does not have a no-args constructor



    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Aug 2008
    Age
    31
    Posts
    832
    Thanks given
    53
    Thanks received
    62
    Rep Power
    0
    Quote Originally Posted by Aeterna View Post
    read the error message and use the proper syntax

    Code:
    Cannot construct com.rs2.model.npc.NPCSizes as it does not have a no-args constructor
    An error like this occurs with every Hyperion, Azure and Shard source I use, so it's not anything I have done. I've even tried using a blank version before I started any editing, still does this when I run it.

    EDIT: All fixed now
    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. XStream Help
    By Soulevoker in forum Help
    Replies: 0
    Last Post: 11-23-2009, 10:12 PM
  2. Are there any liabaries like xstream for sql?
    By Ultimate in forum RS2 Server
    Replies: 5
    Last Post: 06-24-2009, 10:37 PM
  3. Loading using XML - xStream
    By Ultimate in forum Tutorials
    Replies: 29
    Last Post: 03-21-2009, 10:54 AM
  4. NPC Drops from XStream(XML)
    By Vastiko in forum Tutorials
    Replies: 24
    Last Post: 01-29-2009, 03:06 AM
  5. XStream Help..
    By Kelvin in forum Help
    Replies: 2
    Last Post: 01-26-2009, 08:19 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
  •