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

Exception in thread "main" brut.androlib.AndrolibException: java.util.concurrent.ExecutionException: java.lang.NullPointerException #148

Open
LetrixX opened this issue Sep 6, 2017 · 0 comments

Comments

@LetrixX
Copy link

LetrixX commented Sep 6, 2017

Hi, i have problem, I apply patches (make firstpatch and make secondpatch) and resolve rejects, then I enter make fullota and on framework.jar I have this problem, how to fix it?

/home/olexandr1712/miui/tools/apktool --quiet b out/framework -o out/framework.jar
Exception in thread "main" brut.androlib.AndrolibException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:129)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:69)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:376)
at brut.androlib.Androlib.buildSources(Androlib.java:335)
at brut.androlib.Androlib.build(Androlib.java:292)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:124)
... 7 more
Caused by: java.lang.NullPointerException
at org.jf.dexlib2.writer.pool.PoolClassDef.(PoolClassDef.java:59)
at org.jf.dexlib2.writer.pool.ClassPool.intern(ClassPool.java:88)
at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:116)
at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:94)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:748)

P.S. base - LineageOS 13.0 20170905
Device - LG G3s D724

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

No branches or pull requests

1 participant