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

java.lang.NullPointerException at initialization #9

Open
zhangchicool opened this issue Jun 27, 2018 · 2 comments
Open

java.lang.NullPointerException at initialization #9

zhangchicool opened this issue Jun 27, 2018 · 2 comments

Comments

@zhangchicool
Copy link
Contributor

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

@SimonGreenhill
Copy link

BEAGLE can't handle the datatype, a workaround is to disable beagle with the -java flag. This is very slow though

@zhangchicool
Copy link
Contributor Author

The xml was generated by BEAUti, and I seem to notice this exception only recently

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

2 participants