0 Replies Latest reply on Jan 3, 2013 9:43 AM by 938252

    Problem when deploy is running (StringIndexOutOfBoundsException)

    938252
      Hi all,

      I have a problem during the deploy of cartridge. When the deploy is running, an exception (of type StringIndexOutOfBoundsException) has throwed informing the existence of InProgressOrderNotification, however, there isn´t a order with this notification in progress... How I solve that?

      com.mslv.oms.metadatahandler.handler.HandlerException: Exception thrown while deploying MetadataEntity entity [InProgressOrderNotification:Seleciona_Equipe_Notifica_Seleciona_Equipe]
      at com.mslv.oms.metadatahandler.handler.DeployHandler.deploy(Unknown Source)
      at com.mslv.oms.metadatahandler.operation.ImportOperation.processEntity(Unknown Source)
      at com.mslv.oms.metadatahandler.operation.ImportOperation.doProcess(Unknown Source)
      at com.mslv.oms.metadatahandler.operation.ImportOperation.deploy(Unknown Source)
      at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.c(Unknown Source)
      at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.a(Unknown Source)
      at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.onMessage(Unknown Source)
      at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
      at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
      at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
      at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
      at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
      at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
      at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
      at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: java.lang.RuntimeException: Exception thrown while reading metadata entities.
      at com.mslv.oms.metadatahandler.handler.home.CartridgableHome.refresh(Unknown Source)
      at com.mslv.oms.metadatahandler.handler.home.AbstractHome.seekEntity(Unknown Source)
      at com.mslv.oms.metadatahandler.handler.DeployHandler.deployForReplace(Unknown Source)
      ... 18 more
      Caused by: com.mslv.oms.metadatahandler.handler.HandlerException: Exception thrown while reading metadata entities.
      at com.mslv.oms.metadatahandler.handler.CartridgableExporterImp.export(Unknown Source)
      at com.mslv.oms.metadatahandler.handler.MetadataHandler.doExport(Unknown Source)
      ... 21 more
      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -11
      at java.lang.String.substring(String.java:1937)
      at com.mslv.oms.metadatahandler.model.NotificationDefinition.OrderBasedNotification.encode(Unknown Source)
      at com.mslv.oms.metadatahandler.model.NotificationDefinition.InProgressOrderNotification.encode(Unknown Source)
      at com.mslv.oms.metadatahandler.handler.notification.NotificationExporter.readEntities(Unknown Source)
      ... 23 more