Skip to content

Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.net.URL.openConnection()" because "<local8>" is null #1197

@Gipsy-The-Sheller

Description

@Gipsy-The-Sheller

Dear @alexeid

Today I need to use BEAST v2.7.7 to do some tasks but failed to open its interface. All exes, including BEAST.exe, BEAUTi.exe, LogCombiner.exe, TreeAnnotator.exe, except Densitree.exe, showed no response. Initially I thought that Java is to blame so I removed the attached java of my BEAST, and then uninstalled and reinstalled my JDK but all operations were painful. Then I tried to launch BEAST through the bat files but only got the same error message below :

Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.net.URL.openConnection()" because "<local8>" is null
        at beast.pkgmgmt.PackageManager.installPackages(Unknown Source)
        at beast.pkgmgmt.PackageManager.processInstallList(Unknown Source)
        at beast.pkgmgmt.PackageManager.initialise(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.getPath(Unknown Source)
        at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)

I need to solve this issue as quick as possible, as BEAST2 means a lot to my current work.

Sincerely,
Zhi-Jie Xu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions