Jump to content

Error with input file!


Recommended Posts

Im trying to encode a script, i have put the jar and the script in the same folder. Here is the command im running Java -jar duckencoder.jar -i Code.txt -o Script.txt -l no    

I get this back "Error with input file!
Exception in thread "main" java.lang.NullPointerException
        at Encoder.main(Encoder.java:125)"


What am i doing wrong?


Link to comment
Share on other sites

You could try running from source in the src/ folder you should have something like Encoder.java
from the command line type:

javac -g Encoder.java

this will generate a class file then type:

java Encoder

and in should print out the help, then use like the jar (just without the -jar):

java Encoder -i input.txt -o inject.bin -l no.properties

Link to comment
Share on other sites

  • 1 month later...
  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...