Oracle exception when creating AppLinks setCharacterStream

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When clicking on "Create" on the last step of AppLinks, the screen below comes up:

(Auto-migrated image: description temporarily unavailable)

The same error comes up on atlassian-bitbucket.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 Bitbucket Server already ship an Oracle JDBC driver. You don't need to change that. Please double check the Oracle version currently supported by Bitbucket Server 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 Bitbucket Server installer will install a supported version of the JRE, if necessary.

Updated on May 22, 2025

Still need help?

The Atlassian Community is here for you.