studio-tools: Class file generation failed.

studio-tools: Class file generation failed.

book

Article ID: KB0091149

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
studio-tools: Class file generation (studio-tools  -op generateClass -p &ltprojectFolder> -o &ltoutputDirectory> -x true)


Environment:
===========
TIBCO BusinessEvents 4.x
Linux RedHat


Symptoms:
=========
Exception:
Loading function catalog from :jar:file:&ltTIBCO_HOME>/be/4.0/hotfix/lib/be-functions.jar!/functions.catalog
java.lang.Exception: Exception while generating class files
            at com.tibco.cep.studio.cli.studiotools.GenerateClassCLI.generateClasses(Unknown Source)
            at com.tibco.cep.studio.cli.studiotools.GenerateClassCLI.runOperation(Unknown Source)
            at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.executeCommandLine(Unknown Source)
            at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.main(Unknown Source)
            at com.tibco.cep.studio.cli.studiotools.StudioToolsApplication.start(Unknown Source)
            at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
            at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

Cause:
======
Configuration issue.

Resolution:
========
Remove RMS server libraries from studio-tools classpath
(%BE_RMS_HOME%/lib, %BE_RMS_HOME%/hotfix/lib)

Issue/Introduction

studio-tools: Class file generation failed.