Skip to content

Consecutive conversions result in NullPointerException #8

Description

@gokberkkaraca

By using the compartment_closeup.xml file that is provided under samples folder, I tried converting the file from cd to sbgnml and from sbgnml to cd consecutively.

Cell Designer -> SBGNML conversion was successful.
SBGNML -> Cell Designer conversion was successful.
Cell Designer -> SBGNML conversion resulted in a NullPointerException with the following error message,

Exception in thread "main" java.lang.NullPointerException at fr.curie.cd2sbgnml.xmlcdwrappers.ModelWrapper.addBasicLists(ModelWrapper.java:105) at fr.curie.cd2sbgnml.xmlcdwrappers.ModelWrapper.create(ModelWrapper.java:62) at fr.curie.cd2sbgnml.CD2SBGNML.toSbgn(CD2SBGNML.java:53) at fr.curie.cd2sbgnml.CD2SBGNML.convert(CD2SBGNML.java:789) at fr.curie.cd2sbgnml.Cd2SbgnmlScript.convert(Cd2SbgnmlScript.java:48) at fr.curie.cd2sbgnml.Cd2SbgnmlScript.main(Cd2SbgnmlScript.java:33)

Because of this issue, I am not able to import the file that is exported by using cd2sbgnml library.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions