Jump to content

Archived

This topic is now archived and is closed to further replies.

Matssol

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?

 

Share this post


Link to post
Share on other sites

Hi Matssol,

frist check the version of java i had a problem with 1.6 had to install 1.7 see FAQ
 

Share this post


Link to post
Share on other sites

Matssol,

Also where is your language file resources kept?

Java -jar duckencoder.jar -i DucktInputScript.txt -o inject.bin -l resources/no.properties

Share this post


Link to post
Share on other sites

I have the newest version of java "8 Update 111" . Everything is in the same folder except for the Ducky_Encoder_GUI.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Was this ever solved?

Running WIN 10 with same error

tried solutions form above no avail.

 

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...