Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui] java.lang.NullPointerException when saving as gradle project #2392

Open
1 of 3 tasks
c1tru55 opened this issue Jan 12, 2025 · 2 comments
Open
1 of 3 tasks

[gui] java.lang.NullPointerException when saving as gradle project #2392

c1tru55 opened this issue Jan 12, 2025 · 2 comments

Comments

@c1tru55
Copy link

c1tru55 commented Jan 12, 2025

Issue details

Jadx version : 1.5.1
Java version : 11.0.25
Java VM : Ubuntu OpenJDK 64-Bit Server VM
Platform : Linux (6.8.0-51-generic amd64)
Max heap size: 22408 MB
Program args : -Xms128M -XX:MaxRAMPercentage=70.0 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Djava.util.Arrays.useLegacyMergeSort=true -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED -Dsun.java2d.noddraw=true -Dsun.java2d.d3d=false -Dsun.java2d.ddforcevram=true -Dsun.java2d.ddblit=false -Dswing.useflipBufferStrategy=True

java.lang.NullPointerException
	at jadx.core.utils.android.AndroidManifestParser.parseAttributes(AndroidManifestParser.java:76)
	at jadx.core.utils.android.AndroidManifestParser.parse(AndroidManifestParser.java:57)
	at jadx.core.export.ExportGradleProject.getApplicationParams(ExportGradleProject.java:100)
	at jadx.core.export.ExportGradleProject.<init>(ExportGradleProject.java:30)
	at jadx.core.export.ExportGradleTask.run(ExportGradleTask.java:59)
	at jadx.core.utils.tasks.TaskExecutor.wrapTask(TaskExecutor.java:166)
	at jadx.core.utils.tasks.TaskExecutor.runStages(TaskExecutor.java:142)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Jadx version

1.5.1

Java version

11.0.25

OS

  • Windows
  • Linux
  • macOS
@c1tru55 c1tru55 added bug GUI Issues in jadx-gui module labels Jan 12, 2025
@MrIkso
Copy link
Contributor

MrIkso commented Jan 12, 2025

Hi, show your AndroidManifest.xml

@skylot
Copy link
Owner

skylot commented Jan 13, 2025

I applied a simple check to prevent NPE, but it will be nice to have a sample and verify that export will perform fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants