alibaba / alibaba/DataX

源端oracle11.2.0.4目标端oceanbase3.2.4企业版for oracle:Writer Runner Received Exceptions: java.lang.StringIndexOutOfBoundsException: String index out of range: -8

Open
#2,228 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

![7e8528d8e51568d777780d0d7c6ad01](https://github.com/user-attachments/assets/ef5aba51-1b84-4020-9e78-8be5569d0fd9)
job的json文件连接根据ob官网的格式填写:
![image](https://github.com/user-attachments/assets/4add322a-5bed-44ce-b94e-df64785bdd8b)
是不支持for oracle版本吗?还是需要怎么调整写法?同步的测试表非常简单:一个字段id int类似而已。
python datax.py /db/DataX-datax_v202309/target/datax/datax/job/j1.json
始终报这种错误2024-10-21 14:41:24.228 [0-0-0-writer] ERROR WriterRunner - Writer Runner Received Exceptions:
java.lang.StringIndexOutOfBoundsException: String index out of range: -8
![image](https://github.com/user-attachments/assets/64485e10-a901-4e0c-8479-0644c32e00e0)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the j1.json configuration and the datax.py entry point shown in the report, then reproduce the failure and inspect the WriterRunner stack trace. Determine whether the Oracle-compatible OceanBase 3.2.4 target is supported and whether the reported configuration causes the StringIndexOutOfBoundsException; done means a confirmed cause and a supported configuration or clear reproduction details.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.