Exception "java.lang.StringIndexOutOfBoundsException: String index" is thrown while deploying in "In-Process Model" TIBCO BusinessEvents container having BW Starter processes.

Exception "java.lang.StringIndexOutOfBoundsException: String index" is thrown while deploying in "In-Process Model" TIBCO BusinessEvents container having BW Starter processes.

book

Article ID: KB0090937

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:

Description

========

The following exception is thrown while deploying in "In-Process Model" BE container having BW Starter processes.

java.lang.StringIndexOutOfBoundsException: String index
out of range: -1

    at java.lang.String.substring(String.java:1768)

    at com.tibco.util.ExtensionLoader.a(ExtensionLoader.java:70)

    at
com.tibco.util.ExtensionLoader.createWithPalettePath(ExtensionLoader.jav
a:52)

    at
com.tibco.bw.platform.PluginsLoader.loadPlugins(PluginsLoader.java:32)

    at
com.tibco.bw.platform.PluginsLoader.getInstance(PluginsLoader.java:17)

    at
com.tibco.bw.service.config.factory.ServiceConfigurationUtilities.if(Ser
viceConfigurationUtilities.java:485)

    at
com.tibco.bw.service.config.factory.ServiceConfigurationUtilities.a(Serv
iceConfigurationUtilities.java:316)

    at
com.tibco.bw.service.config.factory.ServiceConfigurationUtilities.create
PartialServiceConfiguration(ServiceConfigurationUtilities.java:222)

    at
com.tibco.bw.service.tns.wsdl.WsdlGenerator4ServiceResource.createWsdl(W
sdlGenerator4ServiceResource.java:92)

    at
com.tibco.bw.service.tns.wsdl.Service2WsdlTnsFlavor.parse(Service2WsdlTn
sFlavor.java:41)


    at
com.tibco.xml.tns.impl.TnsDocumentStoreImpl.a(TnsDocumentStoreImpl.java:
257)

    at
com.tibco.xml.tns.impl.TnsDocumentStoreImpl.documentAddedOrChanged(TnsDo
cumentStoreImpl.java:135)

    at
com.tibco.objectrepo.schema.VFileTNSCache.documentAddedOrChanged(VFileTN
SCache.java:207)


    at
com.tibco.objectrepo.schema.VFileTNSCache.if(VFileTNSCache.java:181)

    at
com.tibco.objectrepo.schema.VFileTNSCache.<init>(VFileTNSCache.java:155)

    at com.tibco.pe.core.RepoAgentImpl.<init>(RepoAgentImpl.java:84)

    at com.tibco.pe.core.RepoLoader.if(RepoLoader.java:187)

    at com.tibco.pe.core.RepoLoader.<init>(RepoLoader.java:118)

    at com.tibco.pe.PEMain.if(PEMain.java:280)

    at com.tibco.pe.PEMain.a(PEMain.java:161)

    at com.tibco.pe.PEMain.<init>(PE

Resolution

=======

BW needs to be initialized for the BE-BW project in which BE is a container having BW starter process(s). Always use a startup rule function which initializes BW by using the "BusinessWorks.init()" function whenever you have a BW Starter process in the EAR.

Issue/Introduction

Exception "java.lang.StringIndexOutOfBoundsException: String index" is thrown while deploying in "In-Process Model" TIBCO BusinessEvents container having BW Starter processes.