Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Unable to Create New Application Version: StringOutOfBoundsException

JoshDBoyle-DVzR
Level 4
Level 4

All

I'm simply attempting to create a new version for an application in LiveCycle ES 2.5.  I'm right-clicking on the application and saying New==>Application Version.  I ensure the version is set to 1.1 (I'm upgrading from 1.0) and then I click "Finish".  After about 10 seconds, a dialog pops up that simply says "Internal Error" and the verison is not created.  The log reads the following:

2013-04-19 14:55:32,692 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doBMT(com.adobe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException:

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

          at java.lang.String.substring(Unknown Source)

          at java.lang.String.substring(Unknown Source)

          at com.adobe.livecycle.design.service.commands.CreateApplicationVersionCommand.copyFileRelationships(CreateApplicationVersionCommand.java:175)

          at com.adobe.livecycle.design.service.commands.CreateApplicationVersionCommand.traverseFolder(CreateApplicationVersionCommand.java:149)

          at com.adobe.livecycle.design.service.commands.CreateApplicationVersionCommand.execute(CreateApplicationVersionCommand.java:118)

          at com.adobe.livecycle.design.service.DesigntimeServiceImpl$31.doInTransaction(DesigntimeServiceImpl.java:1362)

          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)

          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew(EjbTransactionCMTAdapterBean.java:299)

          at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.jboss.invocation.Invocation.performCall(Invocation.java:359)

          at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)

          at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)

          at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)

          at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

          at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)

          at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

          at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

          at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

          at org.jboss.ejb.Container.invoke(Container.java:960)

          at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)

          at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

          at $Proxy199.doRequiresNew(Unknown Source)

          at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:143)

          at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionTemplate.java:79)

          at com.adobe.livecycle.design.service.DesigntimeServiceImpl.createApplicationVersion(DesigntimeServiceImpl.java:1358)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)

          at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)

          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTransactionBMTAdapterBean.java:197)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.jboss.invocation.Invocation.performCall(Invocation.java:359)

          at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)

          at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)

          at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

          at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)

          at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

          at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)

          at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

          at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

          at org.jboss.ejb.Container.invoke(Container.java:960)

          at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)

          at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

          at $Proxy200.doBMT(Unknown Source)

          at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:95)

          at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:188)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

          at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)

          at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)

          at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiver.java:329)

          at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint.java:139)

          at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java:81)

          at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)

          at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)

          at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)

          at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

          at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

          at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

          at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)

          at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

          at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java:43)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

          at org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:637)

          at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Unknown Source)

I have no idea what a StringIndexOutOfBoundsException means in the context of creating a LiveCycle application version.  Any insight would be greatly appreciated.  Note, this only happens to a couple of the applications.  Others, I can create new versions for.  I originally speculated it might be due to the size of the applications I'm trying to version but dispelled this idea when I was able to successfully increment the largest application I have.

5 Replies
WASIL
Employee
Employee

Please go through the guidelines here : http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=003741.html

Also, could you please check if this application has got any kind of dependency on other application assets.

Thanks,

Wasil

JoshDBoyle-DVzR
Level 4
Level 4

Thanks for the response.  I took a look through the guidelines and it doesn't appear to address anything of interest with respect to my problem.

As to dependencies, yes, there are 6 total applications and there are far dependencies between many of them.  The application in question does have a far dependency with one other application that holds a number of utility orchestrations leveraged in many places.

WASIL
Employee
Employee

I would suggest to follow below steps :

1) Make sure there are no validation errors in the application and all the dependencies are being resolved.

2) Check for available quick fixes for ES2.5 (http://helpx.adobe.com/livecycle/kb/quick-fixes-adep-document-services.html#main_LiveCycle_ES2_5__9_...__ ), if any fix exists for such issue.

3) Contact Adobe Support with all the specific details .

Thanks,

Wasil

JoshDBoyle-DVzR
Level 4
Level 4

I see a few quick fixes available that might have something to do with my issue but I've had zero luck in finding where to actually download these fixes.  Where does one go to actually download them?

EDIT:  So I had to find, in a one-off, old blog post, that the only way to get quick fixes for licensed Adobe software is to call in to customer support so they can give you a specific "quick fix installer".  First of all, why wouldn't these quick fixes be publicly available right on the site.  Without a licensed copy of the software, the quick fix doesn't do you any good.  Second of all, customers are clearly already frustrated when they encounter mysterious errors such as the one I'm receiving where attempting to create a new application version simply generates an "Internal error" dialog and absolutely nothing in the log.  Why make them become even more frustrated by having to jump through hoops to get a fix for the problem?

So now a "potential" fix for an issue that has taken away almost a week of my time will take away roughly another week of my time as I open a support ticket and await a response to simply get a fix to our licensed software.  This is far from ideal.

EDIT:  I was unable to find any support number, contact, email, or anything of that variety on the site.  After about 20-30m of searching, I finally gave up and opened a support ticket for Adobe Acrobat X (LiveCycle is not listed as a product that can receive support throught the site).  I waited another 10 minutes or so and got someone on chat who relayed to me the support phone number to call for LiveCycle.  I called that number over an hour ago and I've been on hold ever since.

Sachin_Sharma
Level 1
Level 1

As service pack 2 is already installed on system, please download Server_QF_2.38_9002.zip and Workbench_QF_LC_9.5.0.0_QF_9500.06.zip from https://www.adobe.com/cfusion/entitlement/index.cfm?e=lces2_sp2

Post download, first install Server_QF on livecycle server machine and later Workbench_QF on the client machine(where workbench is installed).

On the same page, you can find relevant readme for instructions.

Thanks,

Sachin