Indexing
Issue | Cause | Diagnosis | Resolution |
Migration Utility error - Index out of range | This indicates there is some issue with the backend database connection URL used by the migration utility. This URL can be identified in the server-configure.properties file (/ServerKernel/etc) property abpm.jdo.url | Will see the below error message:
Not able to connect to backend database. Reason: The TCP/IP connection to the hose:, port 1433 has failed. Error"null. Verify the connection properties, check that an instance of SQL server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
Error in migration.log is java.lang.StringIndexOutOfBoundsException: String index out of range: -33 | Verify the connection URL is in the correct format. For SQL server, this would be jdbc:jtds:sqlserver://<<serverName>>:1433/DatabaseName;instance=INSTANCENAME; |
String index out of range | Generally that error indicates an issue with your textual rule. | While creating a map and using primary key so that Adeptia inserts a new record if it doesn’t find the records with specific field values and updates if it has. Bellow is the map and query. While tring to save it it says ‘String index out of range: -1’. WHEN CONDITION{DBQuery {'select CLIENTHCPLOCATIONID,CLIENTHCPID from HCP_STAGE where CLIENTHCPLOCATIONID = $Input_TEST_FERRING_HCP_STAGING_UPLOAD_TXT_SCHEMA/Root/Record/ClientHCPLocationID and CLIENTHCPID = $Input_TEST_FERRING_HCP_STAGING_UPLOAD_TXT_SCHEMA/Root/Record/ClientHCPID' ,$var1 ,'true' } = ''} VALUE=[DBQuery {'select HCP_STAGE_SEQ.nextval from dual' ,$var1 ,'true'} ] OTHERWISE VALUE=[DBQuery {'select max(HCP_STAGE_ID) from HCP_STAGE where CLIENTHCPLOCATIONID = $Input_TEST_FERRING_HCP_STAGING_UPLOAD_TXT_SCHEMA/Root/Record/ClientHCPLocationID and CLIENTHCPID = $Input_TEST_FERRING_HCP_STAGING_UPLOAD_TXT_SCHEMA/Root/Record/ClientHCPID' ,$var1 ,'true' } ] | Best Practice/Resolution: |
Error in updating web service publishing parameter |
| Will see the below error message: While updating the web service provider, we must clear the existing web service and recreate otherwise we get the below error. Error in updating web service publishing parameters: String index out of range: -1 |
|
Error initializing activity MailSource | You are attempting to trigger a flow without setting eventContextEnabled set to true | Will see the below error message: Invariably, the diagnostic message reads, "Error initializing activity MailSource:<some mail trigger name>:0101000001091 | Confirm that are you trying to pass the data from this mail trigger in the process flow. If yes, then eventContextEnabled property is set to true |