Ask Your Question
0

JDBC Tee error java.lang.StringIndexOutOfBoundsException

asked 2020-07-12 20:59:20 -0500

Hello, I am running a pipeline that listens for an RPC event (I am using a test origin to preview). The pipeline pushes several related entities into postgres tables.

The strange behavior i am getting is only with the JDBC Tee processor but it does not occur with the JDBC Destination with the same settings.

I am using a jdbc lookup to pull multiple rows out based on an id that I pass to the RPC endpoint.

2020-07-13 01:06:53,801 [user:] [pipeline:] [runner:] [thread:preview-pool-2-thread-2] [stage:] ERROR SafeScheduledExecutorService - Uncaught throwable from com.streamsets.pipeline.lib.executor.SafeScheduledExecutorService$SafeCallable@15cd9823: com.streamsets.datacollector.util.PipelineException: PREVIEW_0003 - Encountered error while previewing : java.lang.StringIndexOutOfBoundsException: String index out of range: 0
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-13 17:15:20 -0500

I believe I figured it out. A blank mapping is added automatically to the JDBC tee if you remove that it seems to work.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-07-12 20:59:20 -0500

Seen: 53 times

Last updated: Jul 13