Info
This question is closed. Reopen it to edit or answer.
I am unable to run HDL coder app.
1 view (last 30 days)
Show older comments
Hello,
As i click on the HDL coder link in apps section, i got a 'java exception occurred' error. I am attaching the complete error as follows:-
Java exception occurred:
java.lang.IllegalArgumentException: Expression: count(matlab/toolboxes/toolbox[@name = 'matlabcoder']) != 0
at com.mathworks.project.impl.plugin.DefaultXpathEvaluator.compileXPath(DefaultXpathEvaluator.java:40)
at com.mathworks.project.impl.plugin.DefaultXpathEvaluator.compileXPath(DefaultXpathEvaluator.java:16)
at com.mathworks.project.impl.plugin.SimpleExpression$1.run(SimpleExpression.java:464)
at com.mathworks.project.impl.plugin.SimpleExpression$Token.getCompiledXpath(SimpleExpression.java:393)
at com.mathworks.project.impl.plugin.SimpleExpression$TokenType$2.evaluate(SimpleExpression.java:145)
at com.mathworks.project.impl.plugin.SimpleExpression.evaluate(SimpleExpression.java:62)
at
com.mathworks.project.impl.plugin.ExpressionBasedTargetAttribute.evaluateString(ExpressionBasedTargetAttribute.java:72)
at
com.mathworks.project.impl.plugin.ExpressionBasedTargetAttribute.evaluateBoolean(ExpressionBasedTargetAttribute.java:66)
at com.mathworks.project.impl.model.Target.isEnabled(Target.java:437)
at com.mathworks.project.impl.plugin.PluginManager.discardDisabledTargets(PluginManager.java:662)
at com.mathworks.project.impl.plugin.PluginManager.readTargets(PluginManager.java:251)
at com.mathworks.project.impl.plugin.PluginManager.getTargets(PluginManager.java:230)
at com.mathworks.project.impl.plugin.PluginManager.getLicensedTargets(PluginManager.java:290)
at com.mathworks.project.impl.plugin.PluginManager.getLicensedTargetsEDT(PluginManager.java:285)
at com.mathworks.project.impl.NewOrOpenDialog.invoke(NewOrOpenDialog.java:519)
at com.mathworks.project.impl.NewOrOpenDialog.invoke(NewOrOpenDialog.java:511)
at com.mathworks.toolbox.coder.app.CoderApp.runHdlCoder(CoderApp.java:93)
Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default
object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException:
javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError:
javax.xml.xpath.XPathFactory:
jar:file:/C:/Program%20Files/MATLAB/R2014a/java/jarext/saxon9-xpath.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2:
Illegal configuration-file syntax
at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
at com.mathworks.project.impl.plugin.DefaultXpathEvaluator.compileXPath(DefaultXpathEvaluator.java:36)
... 16 more
Help me to resolve it.
8 Comments
Walter Roberson
on 8 May 2015
You should contact Mathworks Support then. I've been good, but Santa still hasn't brought me an HDL Coder license. Or a pony.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!