So last night I went to bed and the game I’m working on worked fine. This morning it won’t run. I keeps giving me this error which I will post below. I don’t understand what it means. It doesn’t even mention any of my classes. I’m using netbeans.
If I comment out most of my code except the setting of the applet size in the init method it still runs. But when I comment everything out after the first Object I create, it gives me another errror telling me that seems to being saying that I’m passing the worng arguments to it’s constructor, I haven’t changed that in a few days.
The ony thing I can think which may have caused a problem, is I copy my source code to my gmail as backup. When selecting all the source files, I accidently made a copy of each one. Then I deleted the copies. Maybe I deleted something important, but I can’t think what.
run:
java.lang.VerifyError: (class: arithbequick/Arithbequick, method: init signature: ()V) Incompatible argument to function
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)