Java Error Codes

This section describes error codes that can be returned by activities in the Java palette.

BW-JAVA-100000:  The activity was not compiled

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity was not compiled.

  • Resolution:  Compile the activity in Designer.

BW-JAVA-100001:  While executing [%1] encountered [%2] : [%3]

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Exception encountered while invoking a method on the activity.

  • Resolution:  Inspect the Java source for this activity for a possible cause.

BW-JAVA-100002:  The Java compiler is not in the classpath. Add tools.jar to the classpath.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java compiler is not in the classpath. Add tools.jar to the classpath.

  • Resolution:  Add tools.jar to the classpath.

BW-JAVA-100003:  The Java compile of [%1] failed with message: [%2]

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java compiler encountered an error in the activity Java code.

  • Resolution:  Examine the error and fix the issue in the Java code.

BW-JAVA-100004:  The Java code is missing a required comment: [%1]

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity uses embedded comments to auto generate code. One of them is missing.

  • Resolution:  Update the code to remove any unbalanced comment delimiters and recompile.

BW-JAVA-100005:  The [javaCode] property is missing from the .tra file

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity could not determine a suitable temporary directory.

  • Resolution:  add java.property.javaCode=[directory] in the designer.tra and bwengine.tra files.

BW-JAVA-100006:  Cannot delete the [%1] Java source file.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Source files are written to the local file system for the compiler to access. The given file already exists and is write protected.

  • Resolution:  Remove the Java source file from the local file system so that the activity may write a new copy.

BW-JAVA-100007:  Cannot write the [%1] Java source file: [%2]

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Source files are written to the local file system for the compiler to access. There was an error writing the given file to the file system.

  • Resolution:  Examine the temporary directory for sufficient space to write files.

BW-JAVA-100011:  Activity input schema creation error. Exception [%1] occurred while trying to create input schema. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java plugin activity is not able create schema for the activity's input tab. Exception occurred.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100012:  Activity output schema creation error. Exception [%1] occurred while trying to create output schema. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java plugin activity is not able create schema for the activity's output tab. Exception occurred.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100013:  Activity input data conversion error. Exception [%1] occurred while trying to render the activity input data. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  This activity is not able to convert the input data.

  • Resolution:  Please Contact TIBCO Support.

BW-JAVA-100014:  Activity output data conversion error. Exception [%1] occurred while trying to create the activity output data. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  This activity is not able to create the output data.

  • Resolution:  Please Contact TIBCO Support.

BW-JAVA-000015:  Activity initialization error: %1

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Error occurred while initializing the activity.

  • Resolution:  Please Contact TIBCO Support.

BW-JAVA-100016:  Unable to obtain information for the Java class [%1]. Exception [%2] occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Exception occurred while trying to obtain information for the declared Java class.

  • Resolution:  Please correct the error stated in the exception message and retry.

BW-JAVA-100017:  The Java class [%1] is not found in the classpath. ClassNotFoundException occurred. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  ClassNotFoundException occurred while trying to access the specified Java class.

  • Resolution:  Please verify that the specified class file is contained in the classpath.

BW-JAVA-100018:  The Java class [%1] cannot be instantiated. Exception [%2] occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to create an instance of the specified Java class.

  • Resolution:  Please correct the error stated in the exception message and retry.

BW-JAVA-100019:  Input data error. The activity received an incorrect value for the method parameters. IllegalArgumentException occurred while trying to construct an instance of the Java class [%1]: %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a incorrect value for the method parameter element that is in the activity input tab. IllegalArgumentException occurred while trying to construct the specified Java class.

  • Resolution:  Verify that the correct values are provided for the method parameter elements that are in the activity input tab.

BW-JAVA-100020:  Unable to construct an instance of the Java class [%1]. Exception [%2] occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to create an instance of the Java class. Exception occurred while trying to create an instance of the Java class.

  • Resolution:  Please correct the error stated in the exception message and retry.

BW-JAVA-100021:  The constructor for the Java class [%1] raised exception [%2]. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Exception occurred on invocation of the Java class constructor.

  • Resolution:  The exception was raised by the constructor of the declared Java class. Please refer to the Java class implementation for details.

BW-JAVA-100022:  Configuration error. The Java class [%1] is an abstract class. It is not permitted to create an instance of an abstract Java class.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The selected class is an abstract Java class.

  • Resolution:  Make sure that the selected class is not an abstract Java class.

BW-JAVA-100023:  Configuration error. The Java class [%1] is an interface. It is not permitted to create an instance of a Java interface.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The selected class is a Java interface.

  • Resolution:  Make sure that the selected class is not a Java interface.

BW-JAVA-100024:  Configuration error. The Java class [%1] is not serializable. If the selected Java class is cached by the activity then the class must be a subtype of the interface 'java.io.Serializable'.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The declared Java class is not serializable. If the user has selected the option to cache the declared Java class then the class must be a subtype of the interface 'java.io.Serializable'.

  • Resolution:  Make sure that the selected class is a subtype of the interface 'java.io.Serializable' .

BW-JAVA-100025:  Configuration error. The method [%1] returns a Java class [%2] that is not serializable. The Java class returned by the selected method must be a subtype of the interface 'java.io.Serializable'.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Invalid method return type. If the selected method must returns a Java class then the class must be a subtype of the interface 'java.io.Serializable'.

  • Resolution:  Make sure that the selected method returns a serializable Java class.

BW-JAVA-100026:  Unable to obtain information for the method [%1] from the class [%2]. NoSuchMethodException occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The method name is not contained in the declared Java class.

  • Resolution:  It is possible that the declared Java class has been modified since the last configuration of this activity. Please reconfigure this activity or verify that the declared Java class has not changed since the last configuration.

BW-JAVA-100027:  Unable to obtain information for the cleanup method [%1] from the class [%2]. NoSuchMethodException occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The cleanup method name is not contained in the declared Java class.

  • Resolution:  It is possible that declared Java class has been modified since the last configuration of this activity. Please reconfigure this activity or verify that the declared Java class has not changed since the last configuration.

BW-JAVA-100028:  Unable to obtain information for method [%1] from the class [%2]. SecurityException occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  SecurityException occurred while trying to get method information from the declared Java class.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100029:  Unable to obtain information for method [%1] from the class [%2]. ClassNotFoundException occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  ClassNotFoundException occurred while trying to get method information from the declared Java class.

  • Resolution:  Please verify that the specified class file is contained in the classpath.

BW-JAVA-100030:  Unable to obtain information for method [%1] from the class [%2]. Exception occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Exception occurred while trying to get method information from the declared Java class.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100031:  Input data error. The activity received an incorrect value for the method parameters. IllegalArgumentException occurred while trying to invoke the method [%1]: %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a incorrect value for the method parameter element that is in the activity input tab. IllegalArgumentException occurred while trying to invoke the Java method.

  • Resolution:  Verify that the correct values are provided for the method parameter elements that are in the activity input tab.

BW-JAVA-100032:  Input data error. The activity received an incorrect Java object for the declared Java class [%1]. The activity expected an instance of the Java class [%2], but received an instance of the Java class [%3]: %4

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a incorrect value for the declared class element that is in the activity input tab.

  • Resolution:  Possible causes for this error are: (1). Incorrect object reference was specified for the declared Java class. Verify that the correct Java object reference is provided for the declared Java class element shown in the input tab of this activity. (2). The classpath refers to a incorrect declared class or the Java jar file. Verify that the classpath refers to the correct declared class.

BW-JAVA-100033:  Input data error. The activity received an incorrect Java object for the declared Java class [%1]. The Java object received is not compatible with the Java object expected by this activity. The activity expects an instance of the Java class [%2]: %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a incorrect value for the declared class element that is in the activity input tab.

  • Resolution:  Possible causes for this error are: (1). Incorrect object reference was specified for the declared Java class. Verify that the correct Java object reference is provided for the declared Java class element shown in the input tab of this activity. (2). The classpath refers to a incorrect declared class or the Java jar file. Verify that the classpath refers to the correct declared class.

BW-JAVA-100034:  Input data error. The activity received 'null' value for the for the declared Java class. The activity expected an instance of the class [%1], but received a 'null'.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a null value for the declared class element that is in the activity input tab.

  • Resolution:  Possible causes for this error are: (1). Incorrect object reference was specified for the declared Java class. Verify that the correct Java object reference is provided for the declared Java class element shown in the input tab of this activity. (2). The preceding activity that provides the input value for this activity produced a null for its output.

BW-JAVA-100035:  Unable to invoke the method [%1]. Exception [%2] occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to invoke the user specified method of the Java class. Exception occurred while trying to invoke the method.

  • Resolution:  Please correct the error stated in the exception message and retry.

BW-JAVA-100036:  Unable to invoke the cleanup method [%1]. Exception [%2] occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to invoke the cleanup method for the Java class. Exception occurred while trying to invoke the method.

  • Resolution:  Please correct the error stated in the exception message and retry.

BW-JAVA-100037:  The method [%1] raised exception [%2]. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Exception occurred on invocation of the specified method.

  • Resolution:  The exception was raised by the method of the specified Java class. Please refer to the declared class implementation for details.

BW-JAVA-100038:  The cleanup method [%1] raised exception [%2]. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Exception occurred on invocation of the cleanup method.

  • Resolution:  The exception was raised by the method of the specified Java class. Please refer to the declared class implementation for details.

BW-JAVA-100039:  Exception occurred while trying to obtain the JavaSchema [%1]. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to get the JavaSchema activity referenced by this activity.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100040:  The JavaSchema [%1] referenced by this activity is not found in repository.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The repository does not contain the JavaSchema activity referenced by this activity.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100041:  The JavaSchema [%1] referenced by this activity contains invalid field values.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The JavaSchema activity referenced by this activity contains invalid field values.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100042:  Input data error. The activity received 'null' value for the declared Java class. The activity expected instance of class [%1], but received a 'null'.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a null value for the declared Java class element that is in the activity input tab.

  • Resolution:  Possible causes for this error are: (1). Incorrect object reference was specified for the declared class. Verify that the correct Java object reference is provided for the declared class element shown in the input tab of this activity. (2). The preceding activity that provides the input value for this activity produced a null for its output.

BW-JAVA-100043:  Input data error. The activity received incorrect Java object for the declared Java class. The activity expected instance of a class [%1], but received instance of a class [%2].

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The activity received a incorrect value for the declared Java class element that is in the activity input tab.

  • Resolution:  Possible causes for this error are: (1). Incorrect object reference was specified for the declared class. Verify that the correct Java object reference is provided for the declared class element shown in the input tab of this activity. (2). The classpath refers to a incorrect the declared class or the Java jar file. Verify that the classpath refers to the correct declared Java class.

BW-JAVA-100044:  Configuration error. The Java class [%1] does not contain a default constructor or a constructor with no arguments. The selected Java class must have a default constructor if the user has selected the option to construct the declared class by the activity.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The user has selected the option to construct the declared class by the activity.

  • Resolution:  Select a Java class that contain a default constructor.

BW-JAVA-100045:  Data Conversion error: %1

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to convert data from XML to Java or Java to XML.

  • Resolution:  Certain Java data types are not supported by the BusinessWorks conversion mechanism. Please verify that unsupported data types are not utilized or referenced in your Java class.

BW-JAVA-100046:  Data Conversion error. Exception occurred while trying to convert Java object to XML data. %1

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to convert the Java object to an XML data.

  • Resolution:  Certain Java data types are not supported by the Java to XML conversion mechanism. Please verify that unsupported data types are not utilized or referenced in your Java class.

BW-JAVA-100047:  Data Conversion error. Exception occurred while trying to convert XML data to Java object. %1

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to convert the XML data to Java object.

  • Resolution:  Certain Java data types are not supported by the XML to Java conversion mechanism. Please verify that unsupported data types are not utilized or referenced in your Java class.

BW-JAVA-100048:  Unable to generate schema for the Java class [%1]. Exception [%2] occurred. %3

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Error occurred while trying to generate schema for the declared Java class.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100049:  Configuration error. The Java class [%1] is not serializable. For XML to Java conversion operations the selected Java class must be a subtype of the interface 'java.io.Serializable'.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The selected class must be serializable for XML to Java conversion operation.

  • Resolution:  Select a class that is serializable.

BW-JAVA-100050:  Configuration error. The Java class [%1] does not contain a default constructor or a constructor with no arguments. For XML to Java conversion operation the selected Java class must have a default constructor.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The selected Java class does not contain a constructor with zero arguments.

  • Resolution:  Select a Java class that contain a default constructor.

BW-JAVA-100051:  Configuration error. The Java class [%1] contains unsupported data type. %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The declared Java class contains unsupported data type.

  • Resolution:  Certain Java data types are not supported by the XML to Java or Java to XML conversion mechanism. Please verify that unsupported data types are not utilized or referenced in your Java class.

BW-JAVA-100052:  Missing the schema for the Java class [%1].

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  A schema could not be located the specified Java class.

  • Resolution:  Please attempt to generate the schema.

BW-JAVA-100053:  A schema for the JavaSchema resource [%1] with the namespace [%2] could not be found.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  A schema could not be located the specified namespace.

  • Resolution:  Please examine the JavaSchema resource and attempt to regenerate the schema.

BW-JAVA-100054:  At runtime the TIBCO BusinessWorks activity will not be able to access the method [%1] of the class [%2]. The class or the superclass [%3] that implements the method is not declared as a public class.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The declared class modifier must be public.

  • Resolution:  Please verify that the Java class that implements the selected method is declared public.

BW-JAVA-100055:  At runtime the TIBCO BusinessWorks activity will not be able to access the method [%1] of the class or interface [%2]. The interface [%3] that defines the method is not declared as a public interface.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The declared inteface modifier must be public.

  • Resolution:  Please verfiy that the Java Inteface that proclaims the selected method is declared public.

BW-JAVA-100056:  Configuration error. The Java class [%1] does not contain a default constructor or a constructor with no arguments. For XML to Java conversion operations, the [%2] Java class must be comprised only of classes with default constructors.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  All classes comprising the [%2] Java class must contain a constructor with zero arguments.

  • Resolution:  Select a Java class comprised only of classes with default constructors.

BW-JAVA-100057:  Configuration error. The Java class [%1] is is not declared as a public class. It is not permitted to create an instance of an non-public class.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The declared class modifier must be public.

  • Resolution:  Make sure that the selected Java class is declared as a public class.

BW-JAVA-100058:  Exception occurred while trying to obtain the Java Global Instance resource reference [%1]: %2

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  Unable to get the Java Global Instance resource referenced by this activity.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100059:  The Java Global Instance resource [%1] referenced by this activity is not found in the repository.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The repository does not contain the Java Global Instance resource referenced by this activity.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100060:  The Java Global Instance resource [%1] referenced by this activity contains invalid field values.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java Global Instance resource referenced by this activity contains invalid field values.

  • Resolution:  Please correct the error and retry.

BW-JAVA-100061:  Configuration error. The Java class name specified in this JavaMethod activity does not match the Java class name specified in the Java Global Instance resource [%1].

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java Global Instance resource referenced by this JavaMethod activity contains different Java class name then the Java class name specified in the JavaMethod activity.

  • Resolution:  Please reconfigure the JavaMethod activity.

BW-JAVA-100062:  Configuration error. The library specified in this JavaMethod activity does not match the library specified in the Java Global Instance resource [%1].

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The Java Global Instance resource referenced by this JavaMethod activity contains different library value then the library value specified in the JavaMethod activity.

  • Resolution:  Please reconfigure the JavaMethod activity.

BW-JAVA-100063:  Runtime error. Illegal onEvent(Object output)/onError(Throwable error) method call. OnEvent/OnError method must not be called in the init method or during the initialization phase.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The onEvent(Object output) method must never be called in the init() method. The BW engine is in the middle of initializing the Java Event Source activity.

  • Resolution:  Please remove the onEvent(Object output) method call in the init method.

BW-JAVA-100064:  Runtime error. Unable to generate notification events.

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  The error occurs when the JavaProcessStarter is unable to generate notification data due un-availability of a resource.

  • Resolution:  Please check the JavaProcessStarter component for resource errors.

BW-JAVA-100065:  Runtime error. The output type defined by the getOutputObjectType() does not match with the type that is passed in to onEvent(Object object).

  • Role:  errorRole

  • Category:  BW_Plugin

  • Description:  This exception is thrown if the getOutputObjectType() method defines the type of the output object that is not the same as object type passed to onEvent(Object object) method in case of "Convert Output Object To XML" flag being set.

  • Resolution:  Please make sure that object passed to onEvent(Object output) method is of the same type as that which is returned by getOutputObjectType().