March 25, 20232 yr 1. OSBot Version (do NOT put "current version", be specific) 2.6.64 2. A description of the issue. Include relevant logs. When launching the client with flag -allow lowresource it throws multiple errors in the console and doesn't start. I've tried multiple combinations of flags and never got it to working. JDK 8u202 3. Are you receiving any errors in the client canvas or the logger? Console dump Starting OSBot in low resource mode Starting local script with name: redacted [DEBUG][03/25 05:55:13 am]: Injected 2 field list filters [DEBUG][03/25 05:55:13 am]: Injected 2 field filters [DEBUG][03/25 05:55:13 am]: Injected 2 method list filters [DEBUG][03/25 05:55:13 am]: Injected 0 method filters Starting OSBot in low resource mode In debug mode! Listening for transport dt_socket at address: 5008 WARNING: A terminally deprecated method in java.lang.System has been called WARNING: System::setSecurityManager has been called by org.osbot.BotApplication (file:/<redacted>) WARNING: Please consider reporting this to the maintainers of org.osbot.BotApplication Stealth injection class-filter enabled! WARNING: System::setSecurityManager will be removed in a future release Successfully loaded OSBot! [INFO][03/25 05:55:13 am]: Welcome to OSBot 2.6.64! [ERROR][03/25 05:55:13 am]: Uncaught exception! java.lang.ExceptionInInitializerError at org.osbot.WB.<init>(ix:74) at org.osbot.lpT9.<init>(bz:16) at org.osbot.H.<init>(fw:14) at org.osbot.BotApplication.IiIIIiiIiiI(yv:477) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: java.lang.NullPointerException: Cannot invoke "org.pushingpixels.substance.api.SubstanceSkin.getDisabledColorScheme(org.pushingpixels.substance.api.SubstanceSlices$DecorationAreaType)" because the return value of "org.osbot.lpT4.iiIIIiIiiiI()" is null at org.osbot.lpT4.IIIIIiIIIiI(uy:120) at org.osbot.lpT4.IIIIIiIIIiI(uy:119) at org.osbot.i.<clinit>(ix:238) ... 17 more [ERROR][03/25 05:55:13 am]: Uncaught exception! java.lang.NullPointerException: Cannot invoke "org.osbot.H.revalidate()" because "org.osbot.BotApplication.IIIiiiiiIIi.iiiIIiIIIii" is null at org.osbot.BotApplication.iiiIIiIiIII(yv:540) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [INFO][03/25 05:55:14 am]: Updated injection hooks for client revision : 212! java.lang.reflect.InvocationTargetException [DEBUG][Bot #1][03/25 05:55:14 am]: Initializing stealth injection bot... [INFO][Bot #1][03/25 05:55:14 am]: Downloading latest RS2 old-school client parameters... at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1369) at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1344) at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480) at org.osbot.LpT8.IIIIIiiIIII(rw:235) at org.osbot.Cf.iiIIIiIiiiI(rx:226) at org.osbot.Cf.iiIIIiIiiiI(rx:275) at org.osbot.BotApplication.main(yv:10) Caused by: java.lang.NullPointerException: Cannot invoke "org.osbot.H.iiIIIiIiiiI(org.osbot.rs07.Bot)" because the return value of "org.osbot.BotApplication.iiIIIiIiiiI()" is null at org.osbot.Cf.IIIIIiIIIiI(rx:3) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [ERROR][03/25 05:55:14 am]: Uncaught exception! java.lang.NullPointerException: Cannot invoke "org.osbot.H.iiIIIiIiiiI()" because the return value of "org.osbot.BotApplication.iiIIIiIiiiI()" is null at org.osbot.Cf.iiiIIiIiIII(rx:24) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Getting gamepack from: http://oldschool35.runescape.com/gamepack_4143603.jar Game client successfully downloaded. Validating and saving. Game client successfully validated and saved. Loading game. [DEBUG][Bot #1][03/25 05:55:17 am]: Injected bot reference into client! [DEBUG][Bot #1][03/25 05:55:17 am]: Injected world accessors! [DEBUG][Bot #1][03/25 05:55:17 am]: Injected 38 class and 337 field accessors! [DEBUG][Bot #1][03/25 05:55:17 am]: Injected canvas! [DEBUG][Bot #1][03/25 05:55:20 am]: Loading RS world : 35 Error: bl.<init>() br.af() | SampleModel:127 SinglePixelPackedSampleModel:144 SinglePixelPackedSampleModel:110 PackedColorModel:312 bl:28 br:301 br:341 Thread:833 | java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0 error_game_crash [WARN][Bot #1][03/25 05:55:20 am]: RS Applet tried to access URL: http://oldschool35.runescape.com/error_game_crash.ws [INFO][Bot #1][03/25 05:55:21 am]: Initializing 39 API modules... [INFO][03/25 05:55:21 am]: Started bot #1 [ERROR][03/25 05:55:21 am]: Uncaught exception! java.lang.NullPointerException: Cannot invoke "org.osbot.H.iiIIIiIiiiI()" because the return value of "org.osbot.BotApplication.iiIIIiIiiiI()" is null at org.osbot.BotApplication.main(yv:188) 4. How can you replicate the issue? Launch client with lowresource mode e.g: java -jar "OSBot 2.6.64.jar" -debug 5005 -allow lowresource -login redacted:redacted -bot redacted:redacted:0000 -script redacted:a 5. Has this issue persisted through multiple versions? If so, how far back? Yes, that problem exists for a long time now, i initially quit botting in 2020 and it was an issue back then. Edited March 25, 20232 yr by Sexybeast
June 13, 20232 yr Developer Is this still happening? I tried launching with your arguments and I'm not seeing any errors
June 13, 20232 yr 2 minutes ago, Patrick said: Is this still happening? I tried launching with your arguments and I'm not seeing any errors I use -lowresource in most recent version of OSBot and it works fine for me.