Oracle exception when creating AppLinks setCharacterStream
Symptoms
When clicking on "Create" on the last step of AppLinks, the screen below comes up:
The same error comes up on atlassian-stash.log
:
2013-07-29 14:52:45,352 ERROR [http-bio-8443-exec-22] ashehadeh 892x6502x1 1btttu8 10.247.51.72 "POST /rest/applinks/1.0/applicationlinkForm/createAppLink HTTP/1.1" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service
java.lang.AbstractMethodError: oracle.jdbc.driver.OraclePreparedStatementWrapper.setCharacterStream(ILjava/io/Reader;J)V
....
....
Cause
This issue happens due to an incompatibility between the your JDBC driver and Java version.
Backward Compatibility
The JDBC drivers are certified to work with the currently supported versions of Oracle Database. For example, the JDBC Thin drivers in Oracle Database 11gRelease 2 (11.2) are certified to work with the 10.2.x, 10.1.x, 9.2.x, and 9.0.1.x Oracle Database releases. However, they are not certified to work with older, unsupported database releases, such as 8.0.x and 7.x.
Forward Compatibility
Existing and supported JDBC drivers are certified to work with Oracle Database 11g Release 2 (11.2).
Resolution
Please check your system configuration against our Supported platforms documents. Important:
- The newest versions of Stash already ship an Oracle JDBC driver. You don't need to change that. Please double check the Oracle version currently supported by Stash and use the JDBC we provide.
- In the same document we have the supported Oracle JDK and Open JDK versions. Make sure they are the right ones on your system. Note that the Stash installer will install a supported version of the JRE, if necessary.