Failure inside IBM RAD.

DTO2Fx
Marty Pitt
2010-11-15
2013-04-29
  • Marty Pitt
    Marty Pitt
    2010-11-15

    Hi

    The current project I'm working on uses IBM's RAD for Java development.  RAD is built ontop Eclipse, so DTO2FX should work, right?

    I'm finding the following failure when building the project.  (Stack trace below).

    I've tried this using both com.farata.dto2fx.asap_3.2.2.20100901123043.jar and com.farata.dto2fx.asap_3.1.0.20090225034925.jar

    Please advise if there's anything I can do to get this working.

    Regards,

    Marty

    java.lang.RuntimeException: javax.xml.transform.TransformerConfigurationException: com.ibm.xtq.xslt.jaxp.HandledRuntimeException:  Cannot continue because of stylesheet errors.
    at com.farata.dto2fx.asap.XsltOperation.loadTemplates(Unknown Source)
    at com.farata.dto2fx.asap.AS3TemplatesCache$TemplatesLoader.load(Unknown Source)
    at com.farata.dto2fx.asap.AS3TemplatesCache.as3RemoteClass(Unknown Source)
    at com.farata.dto2fx.asap.AS3AnnotationProcessor.process(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.dispatchToFileBasedProcessor(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.runAPTInFileBasedMode(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.build(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.access$1(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable$1.run(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.env.BuildEnv$CallbackRequestor.acceptBinding(Unknown Source)
    at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(Unknown Source)
    at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(Unknown Source)
    at org.eclipse.jdt.core.dom.ASTParser.createASTs(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.env.BaseProcessorEnv.createASTs(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.env.BuildEnv.createASTs(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.env.AbstractCompilationEnv.newBuildEnv(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.build(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.run(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.runAPTDuringBuild(Unknown Source)
    at org.eclipse.jdt.apt.core.internal.AptCompilationParticipant.processAnnotations(Unknown Source)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.processAnnotations(Unknown Source)
    at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(Unknown Source)
    at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(Unknown Source)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(Unknown Source)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(Unknown Source)
    at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$1.run(Unknown Source)
    at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.build(Unknown Source)
    at org.eclipse.core.internal.resources.Project.internalBuild(Unknown Source)
    at org.eclipse.core.internal.resources.Project.build(Unknown Source)
    at org.eclipse.ui.actions.BuildAction.invokeOperation(Unknown Source)
    at org.eclipse.ui.actions.WorkspaceAction.execute(Unknown Source)
    at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(Unknown Source)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
    Caused by: javax.xml.transform.TransformerConfigurationException: com.ibm.xtq.xslt.jaxp.HandledRuntimeException:  Cannot continue because of stylesheet errors.
    at com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTemplates(Unknown Source)
    … 42 more
    Caused by: com.ibm.xtq.xslt.jaxp.HandledRuntimeException:  Cannot continue because of stylesheet errors.
    at com.ibm.xtq.xslt.jaxp.ConfigurationErrorHandler.report(Unknown Source)
    at com.ibm.xtq.utils.Reporter.report(Unknown Source)
    at com.ibm.xtq.ast.parsers.xslt.XSLTParser.reportError(Unknown Source)
    at com.ibm.xtq.xslt.drivers.XSLTCompiler.compile(Unknown Source)
    at com.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpl.createTemplates(Unknown Source)
    … 43 more

     
  • Eric.sun
    Eric.sun
    2012-08-09

    i occure same exception with you!waiting solution……

     
  • "The current project I'm working on uses IBM's RAD for Java development. RAD is built ontop Eclipse, so DTO2FX should work, right?" 
    As you can see RAD applies IBM XSLT parser.
    DTO2Fx plugin project is linked with Xalan.jar. Try rebuilding it with IBM XSLT parser and then it may work under RAD.
    We have tested it only under Eclipse.
    Kind Regards,
    Victor