SAP Knowledge Base Article - Preview

2914605 - JCONNECT: stack overflow during driver initialization in Java 10 - Exception occurred: java.lang.StackOverflowError

Symptom

  • When using the listed jConnect packages customer runs into a recursion while initializing the driver leading to a stack overflow. During initilization of the DriverManager the constructor of the driver is automatically invoked. In the constructor of the driver the method DriverManager.getDrivers() is called. Since the initialization is not finished at this point it does start a new constructor with step 1. 


Read more...

Environment

  • Java JDK 10 and later.
  • SAP Sybase Software Developer Kit (SDK) 16.0 SP02 PL08
  • SAP Sybase Software Developer Kit (SDK) 16.0 SP03 PL07
  • SAP Sybase Software Developer Kit (SDK) 15.7 SP139 

Product

SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7

Keywords

821440,CR821440,CR#821440,Java 10,JDK 10,StackOverflowError,registerWithDriverManager,driver initialization , KBA , BC-SYB-SDK , SDK , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.