# Can't find a solution to this error

**URL:** https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536
**Category:** Libraries
**Created:** [November 16, 2019, 1:39pm UTC](https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536 "2019-11-16T13:39:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jithin1](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jithin1](https://discourse.processing.org/u/jithin1)
#### Post date: [November 16, 2019, 1:39pm UTC](https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536/1 "2019-11-16T13:39:54Z")

</div>

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(PApplet.java:3735)  
> at processing.core.PApplet$RegisteredMethods.add(PApplet.java:1469)  
> at processing.core.PApplet.registerWithArgs(PApplet.java:1586)  
> at processing.core.PApplet.registerMethod(PApplet.java:1540)  
> at interfascia.IFButton.initWithParent(Unknown Source)  
> at interfascia.GUIController.add(Unknown Source)  
> at rfidReadWrite.checkUIDAlreadyExists(rfidReadWrite.java:131)  
> at rfidReadWrite.draw(rfidReadWrite.java:106)  
> at processing.core.PApplet.handleDraw(PApplet.java:2475)  
> at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1547)  
> at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:313)

---

<div class="post-metadata">

### Author: ![Tiemen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tiemen/32/5477_2.png) [@Tiemen](https://discourse.processing.org/u/Tiemen)
#### Post date: [November 16, 2019, 3:08pm UTC](https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536/2 "2019-11-16T15:08:12Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [November 17, 2019, 5:18am UTC](https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536/3 "2019-11-17T05:18:59Z")

</div>

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.
