ProjectPact Posted June 22, 2018 Share Posted June 22, 2018 (edited) Version: OSBot 2.5.10 (Mirror Mode v2.62.171) Description of bug: When ran in debug mode, you can see this NPE being thrown. I did not have anything being drawn to the canvas at the time of the error. [ERROR][Bot #1][06/22 08:30:34 AM]: Error drawing canvas! java.lang.NullPointerException at java.lang.String.equalsIgnoreCase(String.java:1106) at org.osbot.rs07.api.util.GraphicUtilities.iiIIIiiIIIII(vo:200) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) at java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1249) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) at org.osbot.rs07.api.util.CachedWidget.cache(gm:18) at org.osbot.rs07.api.util.GraphicUtilities.getMainInterfaceId(vo:26) at org.osbot.rs07.api.ui.Tab.isOpen(dj:1) at org.osbot.rs07.api.Client.onPaint(ti:2) at org.osbot.rs07.canvas.WrappedCanvas.IIiIiiiIIiiI(hi:8) at org.osbot.rs07.canvas.WrappedCanvas.getGraphics(hi:32) at client.Mk.run(Unknown Source) Operating System: Edited June 22, 2018 by ProjectPact 1 Link to comment Share on other sites More sharing options...