Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

auctionmark workload for oracle throws exception #75

Open
awajeet opened this issue Feb 17, 2014 · 1 comment
Open

auctionmark workload for oracle throws exception #75

awajeet opened this issue Feb 17, 2014 · 1 comment

Comments

@awajeet
Copy link
Contributor

awajeet commented Feb 17, 2014

02:26:38,823 (AuctionMarkLoader.java:222) INFO - *** START ITEM_ATTRIBUTE
02:26:46,280 (AuctionMarkLoader.java:281) INFO - *** FINISH USERACCT - 100000 tuples - [5 / 16]
02:26:46,280 (AuctionMarkLoader.java:222) INFO - *** START ITEM
02:26:46,857 (AuctionMarkLoader.java:262) WARN - ITEM_IMAGE - ORA-01400: cannot insert NULL into ("TPCC"."ITEM_IMAGE"."II_SATTR0")

java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("TPCC"."ITEM_IMAGE"."II_SATTR0")

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1017)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:566)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:58)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:943)
at oracle.jdbc.driver.OraclePreparedStatement.executeForRowsWithTimeout(OraclePreparedStatement.java:10932)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:11043)
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:244)
at com.oltpbenchmark.benchmarks.auctionmark.AuctionMarkLoader.generateTableData(AuctionMarkLoader.java:257)
at com.oltpbenchmark.benchmarks.auctionmark.AuctionMarkLoader$AbstractTableGenerator.run(AuctionMarkLoader.java:418)
at java.lang.Thread.run(Thread.java:736)

java.lang.RuntimeException: Unexpected error while generating table data for 'ITEM_IMAGE'
at com.oltpbenchmark.benchmarks.auctionmark.AuctionMarkLoader$AbstractTableGenerator.run(AuctionMarkLoader.java:421)
at java.lang.Thread.run(Thread.java:736)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("TPCC"."ITEM_IMAGE"."II_SATTR0")

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1017)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:566)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:58)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:943)
at oracle.jdbc.driver.OraclePreparedStatement.executeForRowsWithTimeout(OraclePreparedStatement.java:10932)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:11043)
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:244)
at com.oltpbenchmark.benchmarks.auctionmark.AuctionMarkLoader.generateTableData(AuctionMarkLoader.java:257)
at com.oltpbenchmark.benchmarks.auctionmark.AuctionMarkLoader$AbstractTableGenerator.run(AuctionMarkLoader.java:418)
... 1 more
@apavlo
Copy link
Member

apavlo commented Feb 21, 2014

Unfortunately we don't have an Oracle installation readily available to test this. It does work on MySQL though.

It looks like it's probably a simple fix. Can you take a look at the problem at the line that it's failing and send us a pull request?

lmwnshn pushed a commit to lmwnshn/oltpbench that referenced this issue Jun 16, 2021
…/maven/junit-junit-4.13.1

Bump junit from 4.13 to 4.13.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants