When a MAGE-ML file is fed into Importer with two
package definitions (Does not seem to matter which
packages) I recieve an java.util.EmptyStackException.
I see this problem with all MAGE-ML files.
For example:
Creating a class constructor DesignElement_package
Calling the class constructor for DesignElement_package
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:82)
at
org.biomage.tools.xmlutils.MAGEContentHandler.startElem
ent(MAGEContentHandler.java:232)
Logged In: YES
user_id=384126
By adding a check to the stack size I have been able to fix
(work around?) this problem.
232: if ( parent != null && assnStack.size() > 0 &&
objectStack.size() > 0 ) {