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

null pointer when launching interpretter from the command line #12

Open
nitrocode opened this issue Oct 19, 2016 · 5 comments
Open

null pointer when launching interpretter from the command line #12

nitrocode opened this issue Oct 19, 2016 · 5 comments

Comments

@nitrocode
Copy link
Contributor

Command:

java -Xmx1g -jar ..\..\Downloads\jython-standalone-2.7.0.jar -Dpython.path=Lib/ run.py -i -d -B ..\..\Downloads\burp_suite_pro.jar

Then when Burp loads I select to use a temporary project and use Burp defaults. After I click on Start Burp that's when it shows me:

An error occurred when starting a project with the selected options.

Failed to create Burp project: NullPointerException

Nothing else is outputted but this seems to be a good workaround:

  1. Load Burp

    java -Xmx1g -jar ..\..\Downloads\burp_suite_pro.jar
    
  2. Navigate to Extender and manually load Lib/burp_extender.py

@nitrocode
Copy link
Contributor Author

@mwielgoszewski please could you weigh in on this?

@mwielgoszewski
Copy link
Owner

The old run.py script was for versions of Burp before the new Extender API was introduced, where you had to manually specify arguments on the command line. The latter approach, or in your terms, "workaround", is actually the preferred way to load the the jython-burp-api.

@nitrocode
Copy link
Contributor Author

nitrocode commented Nov 10, 2016

Oh that's unfortunate... I was hoping to use the run.py for automated testing.

Thanks for the update.

@anilkumar-pcs
Copy link

@nitrocode I'm trying to automate testing using Burp from the blog and was stuck with the same error as yours - Failed to create Burp project: NullPointerException on executing the command java -Xmx1g -jar ../jython.jar -Dpython.path=Lib/ run.py -i -d -B burpsuite_free_v1.7.24.jar

I'm executing the command in EC2 instance and I have no option to use the UI interface of Burp.

Can you please suggest if there is any possible workaround for the automated testing with Burp.

TIA

@jkryanchou
Copy link

@anil10032 Any solution on this issue?

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