Can't find a solution to this error

Can someone help me in solving this error…

java.lang.RuntimeException: mouseEvent() already added for this instance of interfascia.IFButton
at processing.core.PApplet.die(
at processing.core.PApplet$RegisteredMethods.add(
at processing.core.PApplet.registerWithArgs(
at processing.core.PApplet.registerMethod(
at interfascia.IFButton.initWithParent(Unknown Source)
at interfascia.GUIController.add(Unknown Source)
at rfidReadWrite.checkUIDAlreadyExists(
at rfidReadWrite.draw(
at processing.core.PApplet.handleDraw(
at processing.awt.PSurfaceAWT$12.callDraw(
at processing.core.PSurfaceNone$

Good day Jithin,

It’s a tad hard for us to help you without seeing any code. What I suggest you to do is copying your sketch to a new file, and keep removing parts of code to figure out what code is causing it. Once you’ve got that narrowed down, post that minified version of your sketch :slight_smile:


Also, please do not post the same question three times in the forum. Continue to follow up here, in this thread. If we can help, people will answer here.

1 Like