Matlab - Error con deploytool

 
Vista:

Error con deploytool

Publicado por lisper (13 intervenciones) el 10/04/2017 13:27:05
Saludos !

Alguien tiene idea a que se deba esto? cuando intento lanzar deploytool, me sale el siguiente error.

Error using deploytool (line 41)
Java exception occurred:
java.lang.IllegalArgumentException: Expression: platform/windows

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:536)

at com.mathworks.toolbox.compiler.model.CompilerTargetFactory.defineTargets(CompilerTargetFactory.java:117)

at com.mathworks.project.impl.plugin.PluginManager.readTargets(PluginManager.java:273)

at com.mathworks.project.impl.plugin.PluginManager.getTargets(PluginManager.java:241)

at
com.mathworks.toolbox.compiler.desktop.toolstrip.DeploytoolClientBuilderFactory.forceInit(DeploytoolClientBuilderFactory.java:42)

at
com.mathworks.toolbox.compiler.desktop.toolstrip.DeploytoolClientBuilderFactory.getRegisteredTargets(DeploytoolClientBuilderFactory.java:95)

at com.mathworks.toolbox.compiler.desktop.DeploytoolLaunchPad.<init>(DeploytoolLaunchPad.java:50)

at com.mathworks.toolbox.compiler.desktop.DeploytoolLaunchPad.launch(DeploytoolLaunchPad.java:155)

at
com.mathworks.toolbox.compiler.plugin.DeploytoolCommandLineParser.startDeploytoolGUI(DeploytoolCommandLineParser.java:139)

at com.mathworks.toolbox.compiler.plugin.DeploytoolCommandLineParser.parse(DeploytoolCommandLineParser.java:79)

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/R2016a/java/jarext/saxon9-xpath.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2:
Illegal configuration-file syntax

at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:102)

at com.mathworks.project.impl.plugin.DefaultXpathEvaluator.compileXPath(DefaultXpathEvaluator.java:36)

... 17 more


Exception in thread "Thread-18" java.lang.IllegalArgumentException: Expression: platform/windows
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:536)
at com.mathworks.toolbox.compilersdk.model.CompilerSDKTargetFactory.defineTargets(CompilerSDKTargetFactory.java:78)
at com.mathworks.project.impl.plugin.PluginManager.readTargets(PluginManager.java:273)
at com.mathworks.project.impl.plugin.PluginManager.getTargets(PluginManager.java:241)
at com.mathworks.project.impl.plugin.PluginManager.getLicensedTargetEDT(PluginManager.java:334)
at com.mathworks.toolbox.compiler.model.CompilerTargetFactory$1.run(CompilerTargetFactory.java:85)
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/R2016a/java/jarext/saxon9-xpath.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:102)
at com.mathworks.project.impl.plugin.DefaultXpathEvaluator.compileXPath(DefaultXpathEvaluator.java:36)
... 13 more

Tengo instalada la siguiente version de java:

>> version -java

ans =

Java 1.8.0_101-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

He configurado previamente la variable de entorno JAVA_HOME y JAVA_MATLAB en las variables de entorno, pero no se si estoy necesitando algo mas o deba configurar algo aparte de esto. Si alguien puede ayudarme le agradezco.

La version de matlab es
>> version

ans =

9.0.0.341360 (R2016a)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

Error con deploytool

Publicado por lisper (13 intervenciones) el 10/04/2017 23:41:21
He instalado el compilador matlab, se han minimizado los error peroaun sigo sin poder usar deploytool, ahora solo quedan excepciones java, alguna sugerencia de como puedo solucionar esto, please!

>> deploytool
Error using deploytool (line 41)
Java exception occurred:
java.lang.IndexOutOfBoundsException: Index: 2, Size: 1

at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:661)

at java.util.ArrayList.add(ArrayList.java:473)

at
com.mathworks.toolbox.compiler.desktop.toolstrip.DeploytoolClientBuilderFactory.getRegisteredTargets(DeploytoolClientBuilderFactory.java:111)

at com.mathworks.toolbox.compiler.desktop.DeploytoolLaunchPad.<init>(DeploytoolLaunchPad.java:50)

at com.mathworks.toolbox.compiler.desktop.DeploytoolLaunchPad.launch(DeploytoolLaunchPad.java:155)

at
com.mathworks.toolbox.compiler.plugin.DeploytoolCommandLineParser.startDeploytoolGUI(DeploytoolCommandLineParser.java:139)

at com.mathworks.toolbox.compiler.plugin.DeploytoolCommandLineParser.parse(DeploytoolCommandLineParser.java:79)
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar