[jboss-jira] [JBoss JIRA] (WFLY-2673) StringIndexOutOfBoundsException on server start when using Durable MDB without proper parameters
F.H. Paul (JIRA)
issues at jboss.org
Thu Dec 19 15:26:33 EST 2013
[ https://issues.jboss.org/browse/WFLY-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932738#comment-12932738 ]
F.H. Paul commented on WFLY-2673:
---------------------------------
Verification is good, but the problem here is that the startup crashes as long as you don't remove the files at data/message*.
To answer your question if I tried this with the final, the answer is (probably) no. I tried it with the release from Oct'04. Is there already a final build and where do I get it from? It's hard to find the nightly build download page.
And to be complete, regarding your request for an attachment of the failing MDB: the above annotations were all of what I annotated so far.
> StringIndexOutOfBoundsException on server start when using Durable MDB without proper parameters
> ------------------------------------------------------------------------------------------------
>
> Key: WFLY-2673
> URL: https://issues.jboss.org/browse/WFLY-2673
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMS
> Environment: GNU/Linux Debian 7, JDK7
> Reporter: F.H. Paul
> Assignee: Jeff Mesnil
> Priority: Minor
>
> I have an MDB with @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "Durable")
> (Btw. destinationType is javax.jms.Topic if this is relevant)
> Whenever I start WildFly8 Beta1 I get the Exception below.
> When I remove the subscriptionDurability property, I get the Exception too. But when I make an "rm -r wildfly-8.0.0.Beta1/standalone/data/messaging*" the server starts up fine. When I set the subscriptionDurability property again, the Exception occours again. This behaviour is absolutely reproducible.
> 18:09:26,687 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at java.lang.String.charAt(String.java:658) [rt.jar:1.7.0_40]
> at org.jboss.as.controller.PathElement.<init>(PathElement.java:103)
> at org.jboss.as.controller.PathElement.pathElement(PathElement.java:68)
> at org.jboss.as.controller.registry.PlaceholderResource$PlaceholderResourceEntry.<init>(PlaceholderResource.java:142)
> at org.jboss.as.messaging.HornetQServerResource.getChildren(HornetQServerResource.java:184)
> at org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.getChildren(AbstractModelResource.java:254)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:252)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225)
> at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:213)
> at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:556)
> at org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:226)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:529)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:277)
> at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:701)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:676)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:487)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:277)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:272)
> at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:321)
> at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:290)
> at org.jboss.as.server.ServerService.boot(ServerService.java:356) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:252)
> at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list