Skip to content

java.lang.NullPointerException at initialization #9

Description

@zhangchicool

At the beginning of the run, BEAST2 shows:
java.lang.NullPointerException
at beast.evolution.likelihood.BeagleTreeLikelihood.setUpSubstModel(BeagleTreeLikelihood.java:474)
at beast.evolution.likelihood.BeagleTreeLikelihood.initialize(BeagleTreeLikelihood.java:364)
at beast.evolution.likelihood.BeagleTreeLikelihood.initAndValidate(BeagleTreeLikelihood.java:99)
at beast.core.BEASTInterface.initByName(BEASTInterface.java:105)
at beast.evolution.likelihood.TreeLikelihood.initAndValidate(TreeLikelihood.java:132)
at beast.util.XMLParser.initBEASTObjects(XMLParser.java:377)
at beast.util.XMLParser.parse(XMLParser.java:535)
at beast.util.XMLParser.parseFile(XMLParser.java:302)
at beast.app.BeastMCMC.parseArgs(BeastMCMC.java:311)
at beast.app.BeastMCMC.main(BeastMCMC.java:567)

although the run will continue and will have results.
A toy xml will reproduce the problem:
test.xml.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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