Skip to main content

Table 4 Selected cases from the experiments

From: Testing data-centric services using poor quality data: from relational to NoSQL document databases

Ref

Root exception triggered

Location

Last mutation

External behavior

A

NullPointerException

Application

changeToOppositeCase (AppR)

changeToNull (AppN)

TemplateModelException reported to the user (AppR).

An internal error is reported to the user (AppN).

B

ClassNotFoundException

Application

addExtraneous

No message displayed to the user

C

PSQLException

Application

replaceBySQLString

Application error message disclosing table row contents

D

StringIndexOutOfBoundsException

JPA middleware

replaceByEmptyString

Application error message stating String index out of range

E

ArrayIndexOutOfBoundsException

JDBC driver (AppR); application (AppN)

addCharactersToString (AppR),

All cases except for changeToNull and changeToLongString (AppN).

No message displayed to the user

An internal error is reported to the user (AppN)

F

MongoWriteException (key too large to index)

Application

changeToLongString

An internal error is reported to the user (AppN)

G

MongoWriteException (duplicate key error collection)

Application

All cases except for changeToLongString

An internal error is reported to the user (AppN)

H

MongoWriteException (modifiers operate on fields but we found type null instead)

Application

changeToNull

An internal error is reported to the user (AppN)