java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25

JIRA | Remy Laborieux | 4 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

    {noformat} Exception: IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25: java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25 at org.postgresql.core.v3.SimpleParameterList.setResolvedType(SimpleParameterList.java:230) at org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1488) at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at net.java.ao.EntityProxy.save(EntityProxy.java:291) at net.java.ao.EntityProxy.invoke(EntityProxy.java:125) at sun.proxy.$Proxy1872.save(Unknown Source) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:951) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:226) {noformat}

    JIRA | 4 years ago | Remy Laborieux
    java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25
  2. 0

    {noformat} Exception: IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25: java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25 at org.postgresql.core.v3.SimpleParameterList.setResolvedType(SimpleParameterList.java:230) at org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1488) at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at net.java.ao.EntityProxy.save(EntityProxy.java:291) at net.java.ao.EntityProxy.invoke(EntityProxy.java:125) at sun.proxy.$Proxy1872.save(Unknown Source) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:951) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:226) {noformat}

    JIRA | 4 years ago | Remy Laborieux
    java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25
  3. 0

    After following this guide (https://thepluginpeople.atlassian.net/wiki/display/JEMH/Configure+JEMH+for+a+Helpdesk+environment+from+scratch) the test case raises following exception: {code} IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25: java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25 at org.postgresql.core.v3.SimpleParameterList.setResolvedType(SimpleParameterList.java:230) at org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1488) at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321) at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) at net.java.ao.EntityProxy.save(EntityProxy.java:278) at net.java.ao.EntityProxy.invoke(EntityProxy.java:119) at $Proxy1919.save(Unknown Source) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:951) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:226) at com.javahollic.jira.emh.ui.action.JEMHTestCases.doRun(JEMHTestCases.java:246) {code}

    JIRA | 4 years ago | Markus Wilhelm
    java.lang.IllegalArgumentException: Can't change resolved type for param: 1 from 1043 to 25
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't change resolved type for param: 1 from 1043 to 25

      at org.postgresql.core.v3.SimpleParameterList.setResolvedType()
    2. PostgreSQL JDBC Driver
      AbstractJdbc2Statement.executeUpdate
      1. org.postgresql.core.v3.SimpleParameterList.setResolvedType(SimpleParameterList.java:230)
      2. org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1488)
      3. org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)
      4. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
      5. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
      6. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
      7. org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321)
      7 frames
    3. Commons DBCP
      DelegatingPreparedStatement.executeUpdate
      1. org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
      2. org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
      2 frames
    4. net.java.ao
      EntityProxy.invoke
      1. net.java.ao.EntityProxy.save(EntityProxy.java:291)
      2. net.java.ao.EntityProxy.invoke(EntityProxy.java:125)
      2 frames
    5. sun.proxy
      $Proxy1872.save
      1. sun.proxy.$Proxy1872.save(Unknown Source)
      1 frame
    6. com.javahollic.jira
      EnterpriseMessageHandlerImpl.handleMessage
      1. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:951)
      2. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:226)
      2 frames