Thread: [Valius] Source Console Errors Helo

Results 1 to 4 of 4
  1. #1 [Valius] Source Console Errors Helo 
    Registered Member Chicagorilla's Avatar
    Join Date
    Aug 2021
    Posts
    28
    Thanks given
    7
    Thanks received
    0
    Rep Power
    11
    Solved Fix Issue!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2013
    Posts
    419
    Thanks given
    127
    Thanks received
    85
    Rep Power
    349
    It doesn't look like a xstream library but rather xmlpull, remember how package naming conventions are done.

    Add the xmlpull library to your application as that's a dependency for xstream.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Alunity317 - Founder/Developer

    Join Date
    Oct 2018
    Posts
    68
    Thanks given
    6
    Thanks received
    16
    Rep Power
    0
    Quote Originally Posted by Chicagorilla View Post
    Code:
    Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
    Aug 14, 2021 10:06:38 AM com.mayhem.Server main
    INFO: Development mode: Offline.
    Aug 14, 2021 10:06:38 AM com.mayhem.Server main
    INFO: Staff mode: Offline.
    Aug 14, 2021 10:06:38 AM com.mayhem.core.GameThread startup
    INFO: Launching Valius..
    Aug 14, 2021 10:06:38 AM com.mayhem.core.GameThread startup
    INFO: Loading game data..
    Aug 14, 2021 10:06:39 AM com.mayhem.core.util.GameDefinitionLoader declare
    INFO: All GameDefinitions have been loaded.
    Aug 14, 2021 10:06:39 AM com.mayhem.rs2.content.GlobalMessages declare
    INFO: 45 Announcements have been loaded successfully.
    Aug 14, 2021 10:06:39 AM com.mayhem.rs2.content.mayhembot.MayhemBot declare
    INFO: Loaded 61 ValiusBot questions.
    Aug 14, 2021 10:06:39 AM com.mayhem.core.cache.map.ObjectDef loadConfig
    INFO: 30,107 Objects have been loaded successfully.
    Aug 14, 2021 10:06:39 AM com.mayhem.core.cache.map.RSInterface unpack
    INFO: All interfaces have been loaded successfully.
    [2021-08-14 10:06:39] Exception in thread "main" [2021-08-14 10:06:39] java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactory
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.XppDriver.createDefaultParser(XppDriver.java:62)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.XppDriver.createParser(XppDriver.java:68)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1277)
    [2021-08-14 10:06:39] 	at com.mayhem.core.util.GameDefinitionLoader.loadNpcDefinitions(GameDefinitionLoader.java:483)
    [2021-08-14 10:06:39] 	at com.mayhem.GameDataLoader.load(GameDataLoader.java:117)
    [2021-08-14 10:06:39] 	at com.mayhem.core.GameThread.startup(GameThread.java:72)
    [2021-08-14 10:06:39] 	at com.mayhem.core.GameThread.init(GameThread.java:37)
    [2021-08-14 10:06:39] 	at com.mayhem.Server.main(Server.java:102)
    [2021-08-14 10:06:39] Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParserFactory
    [2021-08-14 10:06:39] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636)
    [2021-08-14 10:06:39] 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
    [2021-08-14 10:06:39] 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
    [2021-08-14 10:06:39] 	... 10 more
    Aug 14, 2021 10:06:44 AM com.mayhem.core.cache.map.MapLoading load
    INFO: 1,498 Maps have been loaded successfully.
    Aug 14, 2021 10:06:44 AM com.mayhem.core.util.GameDefinitionLoader loadAlternateIds
    INFO: All alternative objects have been loaded.
    Aug 14, 2021 10:06:44 AM com.mayhem.core.cache.map.MapLoading processDoors
    INFO: 13,449 Doors have been loaded successfully.
    Aug 14, 2021 10:06:44 AM com.mayhem.rs2.entity.object.ObjectManager declare
    INFO: All object spawns have been loaded successfully.
    Aug 14, 2021 10:06:44 AM com.mayhem.rs2.entity.item.impl.GlobalItemHandler spawnGroundItems
    INFO: Successfully loaded 1 global ground items.
    [2021-08-14 10:06:44] java.lang.NullPointerException: Cannot invoke "com.mayhem.core.definitions.NpcDefinition.getSize()" because the return value of "com.mayhem.rs2.entity.mob.Mob.getDefinition()" is null
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.Mob.<init>(Mob.java:210)
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.Mob.<init>(Mob.java:174)
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.impl.CorporealBeast.<init>(CorporealBeast.java:12)
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.Mob.spawnBosses(Mob.java:78)
    [2021-08-14 10:06:44] 	at com.mayhem.GameDataLoader$1.run(GameDataLoader.java:103)
    Code:
    [2021-08-14 10:06:39] Exception in thread "main" [2021-08-14 10:06:39] java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactory
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.XppDriver.createDefaultParser(XppDriver.java:62)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.XppDriver.createParser(XppDriver.java:68)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65)
    [2021-08-14 10:06:39] 	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1277)
    [2021-08-14 10:06:39] 	at com.mayhem.core.util.GameDefinitionLoader.loadNpcDefinitions(GameDefinitionLoader.java:483)
    [2021-08-14 10:06:39] 	at com.mayhem.GameDataLoader.load(GameDataLoader.java:117)
    [2021-08-14 10:06:39] 	at com.mayhem.core.GameThread.startup(GameThread.java:72)
    [2021-08-14 10:06:39] 	at com.mayhem.core.GameThread.init(GameThread.java:37)
    [2021-08-14 10:06:39] 	at com.mayhem.Server.main(Server.java:102)
    [2021-08-14 10:06:39] Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParserFactory
    [2021-08-14 10:06:39] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636)
    [2021-08-14 10:06:39] 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
    [2021-08-14 10:06:39] 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
    [2021-08-14 10:06:39] 	... 10 more
    Code:
    [2021-08-14 10:06:44] java.lang.NullPointerException: Cannot invoke "com.mayhem.core.definitions.NpcDefinition.getSize()" because the return value of "com.mayhem.rs2.entity.mob.Mob.getDefinition()" is null
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.Mob.<init>(Mob.java:210)
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.Mob.<init>(Mob.java:174)
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.impl.CorporealBeast.<init>(CorporealBeast.java:12)
    [2021-08-14 10:06:44] 	at com.mayhem.rs2.entity.mob.Mob.spawnBosses(Mob.java:78)
    [2021-08-14 10:06:44] 	at com.mayhem.GameDataLoader$1.run(GameDataLoader.java:103)
    Was wondering if anyone can help me diagnose some console errors or maybe lmk what I'm doing wrong.

    Really haven't changed much on the package, just cleaned/compiled and ran. Client seems to be working just fine with cache.
    I've also use these versions of XStream 1.4.13, 1.4.7, 1.4.2

    Chicagorilla#4506 dm if you know a solution on my fix
    Offered me $5 for fixing no one fix that for you its not worth good luck
    Reply With Quote  
     

  5. #4  
    Registered Member Chicagorilla's Avatar
    Join Date
    Aug 2021
    Posts
    28
    Thanks given
    7
    Thanks received
    0
    Rep Power
    11
    xmlpull-1.1.3.1.jar added to library, cleaned/compiled.. Works great!
    @Kiissmyswagb add me on discord, I gotchu.

    Code:
    INFO: Server successfully launched. [Took 6 seconds]
    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. Replies: 1
    Last Post: 05-18-2019, 11:41 PM
  2. Eclipse Errors (Valius Source)
    By bannedfromrs in forum Help
    Replies: 11
    Last Post: 06-22-2018, 04:08 AM
  3. Replies: 19
    Last Post: 12-29-2009, 01:08 AM
  4. Espeon damn console error
    By besho1 in forum Help
    Replies: 2
    Last Post: 10-21-2009, 04:58 PM
  5. "%1" Console Error -- Read.
    By Arkadian in forum Help
    Replies: 13
    Last Post: 01-24-2009, 07:01 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
  •