Khaleesi Posted February 22, 2016 Posted February 22, 2016 Bug reported by one of my users. Mirror client version: Version 2.1 Console output / terminal output Check below Crash report if a crash occurred No crash. Script that you ran Khal AIO crafter Hooks that failed class client.Jj? JVM/Browser bit version (32 / 64) No idea, was posted by a user, I could get the info if required. Error log: ERROR][Bot #1][02/21 08:23:58 PM]: Failed to wrap : class client.Jj java.lang.RuntimeException: Could not initiate wrapper : RS2Widget at org.osbot.core.api.Wrapper.wrap(zf:60) at org.osbot.rs07.api.Widgets.getWidgets(jm:51) at org.osbot.rs07.api.Widgets.get(jm:201) at org.khal.khalcrafter.controller.BattleStavesCrafting.makeStaffs(BattleStavesCrafting.java:65) at org.khal.khalcrafter.controller.BattleStavesCrafting.run(BattleStavesCrafting.java:27) at org.khal.khalcrafter.KhalAIOCrafter.onLoop(KhalAIOCrafter.java:99) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ig:99) at java.lang.Thread.run(Unknown Source) [ERROR][Bot #1][02/21 08:24:24 PM]: Failed to wrap : class client.Jj java.lang.RuntimeException: Could not initiate wrapper : RS2Widget at org.osbot.core.api.Wrapper.wrap(zf:60) at org.osbot.rs07.api.Widgets.getWidgets(jm:51) at org.osbot.rs07.api.Widgets.get(jm:201) at org.khal.khalcrafter.controller.BattleStavesCrafting.makeStaffs(BattleStavesCrafting.java:65) at org.khal.khalcrafter.controller.BattleStavesCrafting.run(BattleStavesCrafting.java:27) at org.khal.khalcrafter.KhalAIOCrafter.onLoop(KhalAIOCrafter.java:99) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ig:99) at java.lang.Thread.run(Unknown Source) Code used: RS2Widget child = script.widgets.get(309, 4) //<-- Error line If you need anything else, let me know! Khaleesi 4
Khaleesi Posted March 2, 2016 Author Posted March 2, 2016 My users are still reporting this issue on a large variety of my scripts. Any possible solution yet?
Solution Posted March 3, 2016 Posted March 3, 2016 My users are still reporting this issue on a large variety of my scripts. Any possible @Solution yet? Fixed that for you. OT: Getting the same error on a private script with widgets#get() 2
Jesse Posted March 5, 2016 Posted March 5, 2016 I have had this issue happen several times to me i believe i reported it but got no reply 1
Khaleesi Posted March 5, 2016 Author Posted March 5, 2016 I have had this issue happen several times to me i believe i reported it but got no reply Still waiting for a dev to see this I guess, I've had over 20 of this reports yet 1
Developer MGI Posted March 10, 2016 Developer Posted March 10, 2016 I need steps to reproduce this bug
Jesse Posted March 10, 2016 Posted March 10, 2016 I need steps to reproduce this bug Mangis it randomly happens so it's hard for these people to tell you how.
Khaleesi Posted March 10, 2016 Author Posted March 10, 2016 I need steps to reproduce this bug What steps ? hmm You basicly just do: RS2Widget ff = getWidgets().get(parent,child); This throws the error randomly, also happends while banking sometimes. probs because the api is using RS2Widgets. Khaleesi
Developer MGI Posted March 10, 2016 Developer Posted March 10, 2016 What steps ? hmm You basicly just do: RS2Widget ff = getWidgets().get(parent,child); This throws the error randomly, also happends while banking sometimes. probs because the api is using RS2Widgets. Khaleesi Will be adding additional debug info on the next build regarding this issue.
Khaleesi Posted March 13, 2016 Author Posted March 13, 2016 Will be adding additional debug info on the next build regarding this issue. Not sure if this is the new debug, but this was a recent error ^^ [ERROR][Bot #1][03/13 12:57:26 PM]: Failed to wrap : class client.vjZg java.lang.RuntimeException: Could not initiate wrapper : RS2Widget at org.osbot.core.api.Wrapper.wrap(yl:8) at org.osbot.rs07.api.Widgets.getWidgets(im:84) at org.osbot.rs07.api.Widgets.isVisible(im:106) at org.osbot.rs07.api.Bank.isOpen(oj:471) at org.osbot.rs07.api.Bank$2.condition(oj:343) at org.osbot.rs07.utility.ConditionalSleep.sleep(kd:95) at org.osbot.rs07.api.Bank.open(oj:320) at org.khal.runecrafter.f.c.con.K(g:277) at org.khal.runecrafter.f.c.con.c(g:253) at org.khal.runecrafter.f.c.con.G(g:109) at org.khal.runecrafter.f.c.con.A(g:32) at org.khal.runecrafter.KhalRunecrafter.onLoop(tb:18) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(yg:194) at java.lang.Thread.run(Unknown Source)
Czar Posted March 14, 2016 Posted March 14, 2016 (edited) java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source ) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.osbot.core.api.Wrapper.wrap(yl:151) at org.osbot.rs07.api.Widgets.getWidgets(im:84) at org.osbot.rs07.api.Widgets.isVisible(im:106) at org.osbot.rs07.api.Bank.isOpen(oj:471) at perfect.scripting.script.module.PresetBank$2.condition(PresetBank.jav a:178) at org.osbot.rs07.utility.ConditionalSleep.sleep(kd:95) at perfect.scripting.script.module.PresetBank.openBank(PresetBank.java:1 84) at perfect.scripting.script.module.PresetBank.openBank(PresetBank.java:3 32) at com.PerfectFisher.onLoop(PerfectFisher.java:169) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(yg:194) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Union object is null or owned by someone else at client.nat.stream.Stream.m22(Native Method) at client.vjZg.getDisplayedTime(Unknown Source) at org.osbot.rs07.api.ui.RS2Widget.<init>(jp:219) ... 15 more Is that part of the new debug for widgets? The conditionalsleep only contains the osbot api method 'getBank().isOpen()' Edited March 14, 2016 by Czar 1