com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- String index out of range: -1

Oracle Community | johnnyvdlaar | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When using @PersistenceContext deploying returns a string index out of rang

    Oracle Community | 10 years ago | johnnyvdlaar
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- String index out of range: -1
  2. 0

    Exception occured in J2EEC Phase

    Oracle Community | 9 years ago | 843830
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- String index out of range: -4
  3. 0

    Exception occured in J2EEC Phase

    Google Groups | 9 years ago | AFinlo...@googlemail.com
    com.sun.enterprise.deployment.backend.IASDeploymentException: String index out of range: -4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception occured in J2EEC Phase

    Google Groups | 9 years ago | AFinlo...@googlemail.com
    com.sun.enterprise.deployment.backend.IASDeploymentException: String index out of range: -4
  6. 0

    Deployment error

    Oracle Community | 1 decade ago | 843833
    com.sun.enterprise.deployment.backend.IASDeploymentException: String index out of range: 3

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.enterprise.deployment.backend.IASDeploymentException

      Deployment Error -- String index out of range: -1

      at java.lang.String.substring()
    2. Java RT
      String.substring
      1. java.lang.String.substring(String.java:1768)
      1 frame
    3. oracle.toplink.essentials
      EntityManagerFactoryImpl.createEntityManager
      1. oracle.toplink.essentials.internal.helper.Helper.truncate(Helper.java:1891)
      2. oracle.toplink.essentials.tools.schemaframework.TableDefinition.buildForeignKeyConstraintName(TableDefinition.java:460)
      3. oracle.toplink.essentials.tools.schemaframework.TableDefinition.buildForeignKeyConstraint(TableDefinition.java:429)
      4. oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignKeyConstraint(DefaultTableGenerator.java:735)
      5. oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addJoinColumnsFkConstraint(DefaultTableGenerator.java:646)
      6. oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignMappingFkConstraint(DefaultTableGenerator.java:437)
      7. oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.addForeignKeyFieldToSourceTargetTable(DefaultTableGenerator.java:416)
      8. oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.postInitTableSchema(DefaultTableGenerator.java:309)
      9. oracle.toplink.essentials.tools.schemaframework.DefaultTableGenerator.generateDefaultTableCreator(DefaultTableGenerator.java:162)
      10. oracle.toplink.essentials.tools.schemaframework.SchemaManager.getDefaultTableCreator(SchemaManager.java:802)
      11. oracle.toplink.essentials.tools.schemaframework.SchemaManager.replaceDefaultTables(SchemaManager.java:853)
      12. oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createOrReplaceDefaultTables(EntityManagerFactoryProvider.java:426)
      13. oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.writeDDLsToFiles(EntityManagerFactoryProvider.java:449)
      14. oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.generateDDLFiles(EntityManagerFactoryProvider.java:335)
      15. oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:230)
      16. oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:93)
      17. oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:126)
      18. oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:120)
      19. oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:91)
      19 frames
    4. com.sun.jdo
      DeploymentEventListenerImpl.notifyDeploymentEvent
      1. com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.loadPersistenceUnitBundle(PersistenceProcessor.java:513)
      2. com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.createTablesInDB(PersistenceProcessor.java:353)
      3. com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processAppBundle(PersistenceProcessor.java:219)
      4. com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:146)
      5. com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:211)
      6. com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:172)
      7. com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:122)
      7 frames
    5. com.sun.enterprise
      DeployThread.run
      1. com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:79)
      2. com.sun.enterprise.deployment.backend.ModuleDeployer.handlePostDeployEvent(ModuleDeployer.java:636)
      3. com.sun.enterprise.deployment.backend.ModuleDeployer.postDeploy(ModuleDeployer.java:625)
      4. com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:188)
      5. com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
      6. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
      9. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
      10. com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
      11. com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)[/code]
      11 frames