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

Can't decode the license file #8

Closed
epris opened this issue Nov 6, 2014 · 0 comments
Closed

Can't decode the license file #8

epris opened this issue Nov 6, 2014 · 0 comments

Comments

@epris
Copy link

epris commented Nov 6, 2014

Dear all,
It's my first time with License3j. I 'm following the tutorial "http://verhas.github.io/License3j/tuto.html" but I have a problem in the last step.
If i write
license3j.bat decode --license-file=license.out --keyring-file="C:\Users\Utente\AppData\Roaming\gnupg\pubring.gpg"
the following error is reported
log4j:WARN No appenders could be found for logger (com.verhas.licensor.License).

log4j:WARN Please initialize the log4j system properly.
Usage: java -cp license3j.jar License3j decode options
mandatory options are:
--license-file, --keyring-file, [ --output ] [--charset]
Exception in thread "main" java.lang.NullPointerException
at java.io.ByteArrayInputStream.(ByteArrayInputStream.java:106)
at com.verhas.licensor.License.setLicenseEncoded(License.java:543)
at com.verhas.licensor.License.setLicenseEncoded(License.java:508)
at com.verhas.licensor.License.setLicenseEncodedFromFile(License.java:48
9)
at License3j.decode(License3j.java:102)
at License3j.main(License3j.java:173)
"cmd" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

Can you help me?

@epris epris closed this as completed Nov 6, 2014
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