Comments (6)
If you try with versions 2.X, it will work
from recaf.
The mappings provided do not throw the NPE you'be listed with the class file you've given in 4.X
I assume some other class is causing the problem to occur. What game version are you targeting?
from recaf.
the game is runned in java 8
from recaf.
and i am using the newest github dev branch, could it be the issue with that?
here is a small video of me applying it, am i doing it right?
also here is the class file with the mappings
stuff.zip
2024-05-09.22-33-04.mp4
mabye its my issue with the branch or its a generic issue?
from recaf.
I'm not sure why I don't see the same issue on dev4
with the files you've originally provided but I did notice the field names weren't being applied. I'll push up the fix for that in a bit and it may also solve this NPE problem as well.
The gist is the mapping applier assumes all formats have fields declare what type they are, but SRG does not. Making the applier aware of this instead of assuming they all support it should work.
from recaf.
Going to close with the changes made to the mapping applier. If this still happens please re-open the ticket with a sample that reproduces the problem with the latest commit.
from recaf.
Related Issues (20)
- 4.X primary TODO list.
- Export files as-is from Recaf to outside HOT 1
- can not running on mac os HOT 1
- How can I disable decompiling with Recaf? HOT 5
- ERROR: Failed to analyze phantom references for primary resource java.lang.IllegalStateException: null HOT 2
- Variable exception after modifying bytecode HOT 4
- Recaf deadlock changing recompilation target version from class view popup HOT 3
- Index out of range error with unmodified assembly listing of class HOT 2
- Allow MappingGenerator to keep the same name for method bridges
- The decompiler configuration options are not working HOT 6
- Add support for prettify of certain resource files, such as xml, json, etc.
- After closing a workspace, you cannot open any jar/class by dragging it. HOT 1
- IOException: Cannot run program "C:\Users\hoang\Desktop\GAME\L10\UP BOT s20.jar": CreateProcess error=193, %1 is not a valid Win32 application
- Adapt all Dependent injections in Application/Workspace scoped types
- error in Recaf HOT 10
- Misidentified file type HOT 4
- WARNING: Timeout while waiting for app reactivation HOT 3
- Highlight occurrences of the same word in decompilation when selected
- "Failed to analyze phantom references for primary resource java.lang.IllegalStateException: null" with v14 but works with v13 HOT 4
- Uncaught exception when trying to open assembler panel for method HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recaf.