Thread: Hyperion was running perfectly fine until my eclipse crashed.

Results 1 to 7 of 7
  1. #1 Hyperion was running perfectly fine until my eclipse crashed. 
    Member
    Join Date
    Jul 2009
    Posts
    117
    Thanks given
    1
    Thanks received
    0
    Rep Power
    0
    Code:
    May 3, 2010 9:35:39 PM org.hyperion.Server main
    INFO: Starting Hyperion...
    May 3, 2010 9:35:39 PM org.hyperion.rs2.model.GameObjectDefinition init
    INFO: Loading definitions...
    May 3, 2010 9:35:40 PM org.hyperion.fileserver.FileServer bind
    INFO: Binding to port : 43595...
    May 3, 2010 9:35:40 PM org.hyperion.fileserver.FileServer bind
    INFO: Binding to port : 8080...
    May 3, 2010 9:35:40 PM org.hyperion.fileserver.FileServer start
    INFO: Ready
    May 3, 2010 9:35:41 PM org.hyperion.rs2.RS2Server bind
    INFO: Binding to port : 43594...
    May 3, 2010 9:35:41 PM org.hyperion.rs2.ScriptManager <init>
    INFO: Loading scripts...
    May 3, 2010 9:35:41 PM org.hyperion.rs2.RS2Server start
    INFO: Waiting for pending background loading tasks...
    May 3, 2010 9:35:43 PM org.hyperion.rs2.model.GameObjectDefinition init
    INFO: Loaded 25374 object definitions.
    May 3, 2010 9:35:43 PM org.hyperion.rs2.model.ObjectManager load
    INFO: Loading definitions...
    May 3, 2010 9:35:44 PM org.hyperion.rs2.model.ObjectManager load
    INFO: Loaded 14974 object definitions.
    May 3, 2010 9:35:44 PM org.hyperion.rs2.model.ObjectManager load
    INFO: Loading map...
    May 3, 2010 9:35:46 PM org.hyperion.rs2.model.ObjectManager load
    INFO: Loaded 1376518 objects.
    May 3, 2010 9:35:46 PM org.hyperion.rs2.model.ItemDefinition init
    INFO: Loading definitions...
    May 3, 2010 9:35:51 PM org.hyperion.rs2.model.ItemDefinition init
    INFO: Loaded 11525 definitions
    May 3, 2010 9:35:54 PM org.hyperion.Server main
    SEVERE: Error starting Hyperion.
    java.util.concurrent.ExecutionException: com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$DuplicateFieldException: npcId
    ---- Debugging information ----
    duplicate-field     : npcId
    class               : java.util.ArrayList
    required-type       : org.hyperion.rs2.content.DialogueLoader
    path                : /list/dialogueLoader[17]/npcId[2]
    line number         : 2546
    -------------------------------
    	at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    	at java.util.concurrent.FutureTask.get(Unknown Source)
    	at org.hyperion.util.BlockingExecutorService.waitForPendingTasks(BlockingExecutorService.java:50)
    	at org.hyperion.rs2.RS2Server.start(RS2Server.java:74)
    	at org.hyperion.Server.main(Server.java:36)
    Caused by: com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$DuplicateFieldException: npcId
    ---- Debugging information ----
    duplicate-field     : npcId
    class               : java.util.ArrayList
    required-type       : org.hyperion.rs2.content.DialogueLoader
    path                : /list/dialogueLoader[17]/npcId[2]
    line number         : 2546
    -------------------------------
    	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$SeenFields.add(AbstractReflectionConverter.java:293)
    	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:222)
    	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
    	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
    	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:77)
    	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:68)
    	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
    	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
    	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142)
    	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
    	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:907)
    	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:893)
    	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
    	at org.hyperion.rs2.content.DialogueLoader.init(DialogueLoader.java:40)
    	at org.hyperion.rs2.model.World$5.call(World.java:146)
    	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    The last thing i can recall doing before this was adding some dialogue (which i removed.. but it still shows this error)
    Reply With Quote  
     

  2. #2  
    Member
    Join Date
    Jul 2009
    Posts
    117
    Thanks given
    1
    Thanks received
    0
    Rep Power
    0
    Also before the error occurred my eclipse crashed... it said the workstation crashed and then terminated the program.
    Reply With Quote  
     

  3. #3  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,871
    Thanks given
    1,854
    Thanks received
    4,745
    Rep Power
    5000
    you have a duplicated npcId on line 2546

    Attached image

    Reply With Quote  
     

  4. #4  
    Member
    Join Date
    Jul 2009
    Posts
    117
    Thanks given
    1
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by S Quare Quxx View Post
    you have a duplicated npcId on line 2546
    Of which class? DialogueLoader only has 374 lines and Dialogues.xml's line 2546 is
    Code:
        <npcId>947</npcId>  <!--Financial Advisor-->
    Reply With Quote  
     

  5. #5  
    Registered Member SwizzY.'s Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    24
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Dup line.
    Reply With Quote  
     

  6. #6  
    Member
    Join Date
    Jul 2009
    Posts
    117
    Thanks given
    1
    Thanks received
    0
    Rep Power
    0
    In which class? I've looked on line 2546 of the Dialogues xml but there's still error.
    Reply With Quote  
     

  7. #7  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,871
    Thanks given
    1,854
    Thanks received
    4,745
    Rep Power
    5000
    Dialogues.xml, the npc 947 is there twice

    Attached image

    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

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