[ParrotOS] Wrong decompilaton causes runtime errors while modifying something
See original GitHub issueI installed latest release of the program and begin to edit my apps variable names etc. While program decompile the jar file with any decompiler it converts some variable types to wrong types like int -> ınt
. So program throws errors like this:
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: Unknown primitive type field 'ınt'
at me.coley.recaf.util.JavaParserUtil.primTypeToDesc(JavaParserUtil.java:674)
at me.coley.recaf.util.JavaParserUtil.primTypeToDesc(JavaParserUtil.java:635)
at me.coley.recaf.util.JavaParserUtil.getDescriptor(JavaParserUtil.java:457)
at me.coley.recaf.util.JavaParserUtil.getDescriptor(JavaParserUtil.java:416)
at me.coley.recaf.util.JavaParserUtil.getDescriptor(JavaParserUtil.java:338)
at me.coley.recaf.util.JavaParserUtil.checkForDeclaredSelection(JavaParserUtil.java:200)
at me.coley.recaf.util.JavaParserUtil.getSelection(JavaParserUtil.java:133)
at me.coley.recaf.ui.controls.text.JavaContextHandling.getSelection(JavaContextHandling.java:51)
at me.coley.recaf.ui.controls.text.ContextHandling.lambda$new$0(ContextHandling.java:50)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3851)
at javafx.scene.Scene$MouseHandler.access$1200(Scene.java:3579)
at javafx.scene.Scene.processMouseEvent(Scene.java:1849)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2588)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:390)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433)
at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
at com.sun.glass.ui.View.notifyMouse(View.java:942)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
at java.base/java.lang.Thread.run(Thread.java:829)
Is there any way or something to fix that? Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Runtime Error: What It Is and How to Fix It - Lifewire
Runtime errors prevent a program from working properly. Here's how to fix runtime errors caused my memory issues, unpatched bugs, and more.
Read more >Runtime Errors
Run time errors generally occur when there is something logically incorrect with your code. This document will explain how to read and fix...
Read more >Resolving runtime errors for a business rule data connection
You can troubleshoot the error by identifying missing parameters as the cause of the error, then modifying the data connection information and updating...
Read more >How to Solve the Most Common Runtime Errors in Java | Rollbar
A runtime error occurs when a program is syntactically correct but contains an issue that is only detected during program execution. These ...
Read more >Runtime Errors - GeeksforGeeks
Runtime Errors : A runtime error in a program is an error that occurs while the program is running after being successfully compiled....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding a fix for this in the next release by changing the default Locale. Since we don’t really use the locale system anyways it shouldn’t be an issue to change it so this doesn’t occur.
@DJtheRedstoner I set my system locale to english and error fixed 😄 Thank you so much 😃