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

Always return null #1

Closed
chemo-baza opened this issue Apr 7, 2017 · 5 comments
Closed

Always return null #1

chemo-baza opened this issue Apr 7, 2017 · 5 comments

Comments

@chemo-baza
Copy link

I´am trying to run any command and always return this:

source:
null
Run with '-debug' parameter to get additional information.

@patrickfav
Copy link
Owner

Please add --debug to your command and post the command and result.

@chemo-baza
Copy link
Author

I'm sorry. Everything is fine. My mistake!!!

@alouanemed
Copy link

s
$ java -jar signer.jar -a appk.apk --ks akeytool.jks --ksAlias skiralias -                                                                                   debug
source:
null
java.lang.NullPointerException
        at at.favre.tools.apksigner.ui.FileArgParser.lambda$getDirSummary$0(File                                                                                   ArgParser.java:59)
        at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
        at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
        at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source                                                                                   )
        at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
        at java.util.stream.ReferencePipeline.collect(Unknown Source)
        at at.favre.tools.apksigner.ui.FileArgParser.getDirSummary(FileArgParser                                                                                   .java:63)
        at at.favre.tools.apksigner.SignTool.execute(SignTool.java:64)
        at at.favre.tools.apksigner.SignTool.mainExecute(SignTool.java:41)
        at at.favre.tools.apksigner.SignTool.main(SignTool.java:29)

Cmd history for debugging purpose:
-----------------------

@patrickfav
Copy link
Owner

It's probably app.apk not appk.apk?

@dhruv2601
Copy link

@alouanemed any luck with that error?

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

4 participants