March 11, 20178 yr I sometimes get this error when launching the client with cli. It doesn't happen too often - maybe 1 in 50-60 launches [DEBUG][03/11 02:13:04 PM]: OSBot is now ready! [INFO][03/11 02:13:05 PM]: Loaded 3 RS accounts! [ERROR][03/11 02:13:05 PM]: Uncaught exception! java.lang.NullPointerException at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:903) at javax.swing.JComponent.getPreferredSize(JComponent.java:1662) at javax.swing.JTextField.getPreferredSize(JTextField.java:424) at javax.swing.Spring$WidthSpring.getPreferredValue(Spring.java:352) at javax.swing.Spring$AbstractSpring.getValue(Spring.java:210) at javax.swing.SpringLayout.layoutContainer(SpringLayout.java:1228) at java.awt.Container.layout(Container.java:1510) at java.awt.Container.doLayout(Container.java:1499) at java.awt.Container.validateTree(Container.java:1695) at java.awt.Container.validateTree(Container.java:1704) at java.awt.Container.validateTree(Container.java:1704) at java.awt.Container.validateTree(Container.java:1704) at java.awt.Container.validate(Container.java:1630) at java.awt.Container.validateUnconditionally(Container.java:1667) at java.awt.Window.pack(Window.java:818) at org.osbot.ub.<init>(wx:43) at org.osbot.BotApplication.IIiIIiiiIiii(gz:612) at org.osbot.BotApplication.main(gz:51)
March 11, 20178 yr Author 34 minutes ago, Alek said: What were the parameters? java -jar "osbot 2.4.118.jar" -login user:pass -mem 1024 -debug 5015 -allow lowcpu,norandoms -bot botlogin:botpass:0000 -script FreshTrainer:FreshAccount-4965-N Btw, it was happening before, not only on 2.4.118 release. Edited March 11, 20178 yr by nosepicker
May 5, 20178 yr Author Thanks, I don't get this error anymore with lowresource. Though sadly I still need the paint on my scripts. Is there any other workaround?
May 5, 20178 yr 6 hours ago, nosepicker said: Thanks, I don't get this error anymore with lowresource. Though sadly I still need the paint on my scripts. Is there any other workaround? Seems to be an issue with the UI on some machines through setlookandfeel. What operating system are you on?
May 5, 20178 yr Author 2 hours ago, Alek said: Seems to be an issue with the UI on some machines through setlookandfeel. What operating system are you on? This happens on Ubuntu 16.10 64 bit (has Oracle java), though if I remember correctly, I saw this happening on Windows 10 as well. Thanks for the heads up, will check if my Linux system isn't missing anything