September 9, 201510 yr Can anyone explain what this stacktrace actually means? [ERROR][09/09 05:21:38 PM]: Uncaught exception! java.lang.NoSuchMethodError: core.Node.<init>(Lcore/Fletcher;)V at nodes.cut.OpenBank.<init>(OpenBank.java:12) at core.Fletcher.onStart(Fletcher.java:85) at org.osbot.rs07.event.ScriptExecutor.onStart(ni:197) at org.osbot.rs07.event.ScriptExecutor.start(ni:46) at org.osbot.com2.run(dn:246) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) My script was working fine, and compiles fine, but now even if I make a new project in eclipse and copy over .java files which i know are fine and run the jar I get this error, even when I use the same .java files which are used in the script on the sdn (and the sdn script works). Edited September 9, 201510 yr by Chicken Wing
September 9, 201510 yr Are you compiling against the most recent OSBot version? Are you sure you're using all packages correctly?
September 9, 201510 yr Rename all your class files (or atleast the one being pointed to by this)... see if that changes anything. apa
September 9, 201510 yr Author Are you compiling against the most recent OSBot version? Are you sure you're using all packages correctly? Show us your package structure. Im using version 2.3.110, Edited September 9, 201510 yr by Chicken Wing
September 9, 201510 yr Im using version 2.3.110, Refactor node to something like _Node, it's a problem because osbot thinks you're trying to initalise an OSBot node. You could also specify it's a core.Node rather than just a Node
September 9, 201510 yr Ever try "cleaning" your workspace? Aka deleting all the binaries and recompiling?
September 9, 201510 yr Author Refactor node to something like _Node, it's a problem because osbot thinks you're trying to initalise an OSBot node. You could also specify it's a core.Node rather than just a Node Refactoring does nothing, as I said the script was working with the exact same code I have right now, I think its some sort of build path error Ever try "cleaning" your workspace? Aka deleting all the binaries and recompiling? Yes, I did that twice, I even deleted the whole project, made a new one and copied over .java files which were uploaded to the sdn EDIT: I FIXED IT, NVM GUYS Edited September 9, 201510 yr by Chicken Wing
Create an account or sign in to comment