XSLT transform

K

kgoldvas

hello

I have problems to install the new SDK with build 1.5.0 (it worked in 1.4.0)
I have an import of a file, and now it doesnt seem to recongnize none of the
global variables
(out side the template).
I recieve this error
(Tech ID parameter is in other file which I do import to).
any suggestions?


Msg : Error handling request: Failed running Insight SDK installation
script.

Internal error:
error returned from running (is-plug-in-internal) on server w2k3-mssql: error
returned:
java.lang.ClassCastException: com.sun.org.apache.xalan.internal.xsltc.
compiler.Variable
at com.sun.org.apache.xalan.internal.xsltc.compiler.SymbolTable.addParam
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Param.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.
parseOwnChildren(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Import.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.
parseOwnChildren(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.createAST(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
newTemplates(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
newTransformer(Unknown Source)
at com.precise.insight.sdk.Plugin.transform(Plugin.java:63)
at com.precise.insight.sdk.Plugin.internal(Plugin.java:118)
at com.precise.insight.sdk.Plugin.main(Plugin.java:265)
Exception in thread "main" java.lang.NoSuchFieldError: tech_id
at etd_ddml.template$dot$12()
at etd_ddml.applyTemplates()
at etd_ddml.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.
transform(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
(Unknown Source)
at com.precise.insight.sdk.Plugin.transform(Plugin.java:71)
at com.precise.insight.sdk.Plugin.internal(Plugin.java:118)
at com.precise.insight.sdk.Plugin.main(Plugin.java:265)

Frame : caused by: Failed running Insight SDK installation script.

Internal error:
error returned from running (is-plug-in-internal) on server w2k3-mssql: error
returned:
java.lang.ClassCastException: com.sun.org.apache.xalan.internal.xsltc.
compiler.Variable
at com.sun.org.apache.xalan.internal.xsltc.compiler.SymbolTable.addParam
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Param.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.
parseOwnChildren(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Import.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.
parseOwnChildren(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.createAST(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
newTemplates(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
newTransformer(Unknown Source)
at com.precise.insight.sdk.Plugin.transform(Plugin.java:63)
at com.precise.insight.sdk.Plugin.internal(Plugin.java:118)
at com.precise.insight.sdk.Plugin.main(Plugin.java:265)
Exception in thread "main" java.lang.NoSuchFieldError: tech_id
at etd_ddml.template$dot$12()
at etd_ddml.applyTemplates()
at etd_ddml.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.
transform(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
(Unknown Source)
at com.precise.insight.sdk.Plugin.transform(Plugin.java:71)
at com.precise.insight.sdk.Plugin.internal(Plugin.java:118)
at com.precise.insight.sdk.Plugin.main(Plugin.java:265)

root cause: com.precise.infra.sdk.SdkException: error returned:
java.lang.ClassCastException: com.sun.org.apache.xalan.internal.xsltc.
compiler.Variable
at com.sun.org.apache.xalan.internal.xsltc.compiler.SymbolTable.addParam
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Param.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.
parseOwnChildren(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Import.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.
parseOwnChildren(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.createAST(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown
Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
newTemplates(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
newTransformer(Unknown Source)
at com.precise.insight.sdk.Plugin.transform(Plugin.java:63)
at com.precise.insight.sdk.Plugin.internal(Plugin.java:118)
at com.precise.insight.sdk.Plugin.main(Plugin.java:265)
Exception in thread "main" java.lang.NoSuchFieldError: tech_id
at etd_ddml.template$dot$12()
at etd_ddml.applyTemplates()
at etd_ddml.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.
transform(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
(Unknown Source)
at com.precise.insight.sdk.Plugin.transform(Plugin.java:71)
at com.precise.insight.sdk.Plugin.internal(Plugin.java:118)
at com.precise.insight.sdk.Plugin.main(Plugin.java:265)

at com.precise.infra.sdk.core.technology.PlugRequestResultSimple.
analyzeResult(PlugRequestResultSimple.java:26)
at com.precise.infra.sdk.core.technology.PlugRequest.doUnsafeProcess
(PlugRequest.java:73)
at com.precise.shared.util.requests.progress.process.GuiInteractiveWrapper.
invoke(GuiInteractiveWrapper.java:119)
at com.precise.infra.sdk.core.technology.PlugRequest.run(PlugRequest.java:48)

at com.precise.infra.sdk.requests.technology.RequestExecutePlugIn.
plugInRequestInternal(RequestExecutePlugIn.java:134)
at com.precise.infra.sdk.requests.technology.RequestExecutePlugIn.
plugInBeforeCommit(RequestExecutePlugIn.java:84)
at com.precise.infra.sdk.requests.technology.RequestExecutePlugIn.runPlugIn
(RequestExecutePlugIn.java:70)
at com.precise.infra.sdk.requests.technology.RequestExecutePlugIn.
performRequest(RequestExecutePlugIn.java:40)
at com.precise.shared.util.requests.progress.ProgressRequestThread.run
(ProgressRequestThread.java:47)
at java.lang.Thread.run(Unknown Source)

========================================
 
R

Roedy Green

Exception in thread "main" java.lang.NoSuchFieldError: tech_id

This suggests you have mixed version problems. You have mixed old and
new code and the a field in the old class is no longer part of the new
objects. Look at all your libraries and make sure you are using ones
of the same vintage.
 
K

kgoldvas

thanks for your reply

the link you send me is displaying 'page cannot be found' message.
is there a way to know which of the classes is new and which are old?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top