Resolved Weird exception

Discussion in 'Client & Site Support' started by Defeat3d, Jan 16, 2015.

  1. Code (Text):
    1. java.lang.NullPointerException
    2.  at java.util.regex.Matcher.getTextLength(Unknown Source)
    3.  at java.util.regex.Matcher.reset(Unknown Source)
    4.  at java.util.regex.Matcher.(Unknown Source)
    5.  at java.util.regex.Pattern.matcher(Unknown Source)
    6.  at com.runemate.game.api.hybrid.queries.ActorQueryBuilder.accepts(vrb:195)
    7.  at com.runemate.game.api.hybrid.queries.NpcQueryBuilder.accepts(snb:243)
    8.  at com.runemate.game.api.hybrid.queries.NpcQueryBuilder.accepts(snb:255)
    9.  at com.runemate.game.api.hybrid.queries.QueryBuilder.results(bwb:90)
    10.  at productions.coconut.divination.Wisps.getEnriched(Wisps.java:10)
    11.  at productions.coconut.divination.Main.shouldConvert(Main.java:45)
    12.  at productions.coconut.divination.tasks.ConvertXp.validate(ConvertXp.java:29)
    13.  at productions.coconut.api.framework.DTaskScript$$Lambda$360/172984010.test(Unknown Source)
    14.  at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
    15.  at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
    16.  at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
    17.  at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
    18.  at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
    19.  at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
    20.  at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
    21.  at java.util.stream.ReferencePipeline.forEach(Unknown Source)
    22.  at productions.coconut.api.framework.DTaskScript.onLoop(DTaskScript.java:63)
    23.  at com.runemate.game.api.script.framework.LoopingScript.run(rub:211)
    24.  at com.runemate.game.api.script.framework.AbstractScript.start(wxb:265)
    25.  at a.Xi.run(bcb:110)
    @Cloud
     
  2. Another one.

    Code (Text):
    1.  
    2. java.lang.IllegalStateException: Expected a numerical value for Client.minimapState but instead we received null
    3.    at a.RM.else(ojb:62)
    4.    at a.RM.else(ojb:185)
    5.    at a.RM.else(ojb:44)
    6.    at a.mM.else(yvb:77)
    7.    at a.mM.else(yvb:127)
    8.    at com.runemate.game.api.hybrid.Projection.coordinateToMinimap(nvb:168)
    9.    at com.runemate.game.api.hybrid.location.Coordinate$MinimapCoordinate.isVisible(ewb:592)
    10.    at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.getNext(qub:238)
    11.    at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.step(qub:242)
    12.    at com.runemate.game.api.hybrid.location.navigation.Path.step(hob:89)
    13.    at productions.coconut.divination.tasks.HarvestMemories.execute(HarvestMemories.java:21)
    14.    at productions.coconut.api.framework.DTaskScript$$Lambda$407/292185391.accept(Unknown Source)
    15.    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
    16.    at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
    17.    at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
    18.    at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
    19.    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
    20.    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
    21.    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
    22.    at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
    23.    at java.util.stream.ReferencePipeline.forEach(Unknown Source)
    24.    at productions.coconut.api.framework.DTaskScript.onLoop(DTaskScript.java:63)
    25.    at com.runemate.game.api.script.framework.LoopingScript.run(rub:211)
    26.    at com.runemate.game.api.script.framework.AbstractScript.start(wxb:265)
    27.    at a.Xi.run(bcb:110)
    28.  
     
  3. Are you passing in a null argument?
     
  4. Nope, a nullchecked NPC.
     
  5. Can you show me the query that's causing this?
     
  6. Code (Text):
    1. Npcs.newQuery().names(getScript().getData().wispType + " wisp", getScript().getData().wispType + " spring").results().nearest();
    Code (Text):
    1. BresenhamPath.buildTo(wisp).step(true);
     
  7. All the bugs reported in this thread have been resolved.
     

Share This Page

Loading...