Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1131007

Summary: Exception with unclear message
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Juraj Duráni <jdurani>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: vhalbert
Target Milestone: ---   
Target Release: 6.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-18 12:52:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
java application exception stack trace
none
server log
none
Server log after query none

Description Juraj Duráni 2014-08-18 11:32:41 UTC
Description of problem:
Unexpected exception. Returned exception indicates that query failed but there is no reason in message.

How reproducible:
Source databse - Ingres
VDB view model - BQT2
  tables: smallb - 
  `INTKEY` integer primary key,
  `STRINGKEY` varchar(10),
  `INTNUM` integer,
  `STRINGNUM` varchar(10),
  `FLOATNUM` real,
  `LONGNUM` bigint,
  `DOUBLENUM` double,
  `BYTENUM` tinyint,
  `DATEVALUE` date,
  `TIMEVALUE` time,
  `TIMESTAMPVALUE` timestamp,
  `BOOLEANVALUE` boolean,
  `CHARVALUE` character(1),
  `SHORTVALUE` smallint,
  `BIGINTEGERVALUE` bigint,
  `BIGDECIMALVALUE` decimal(10,0),
  `OBJECTVALUE` byte

SQL query - SELECT ByteNum, ABS(ByteNum) AS ABSByteNum FROM BQT2.SmallB ORDER BY ByteNum

Steps to Reproduce:
1.
2.
3.

Actual results:
TEIID30504 Remote org.teiid.core.TeiidProcessingException: TEIID30504 Source: 4200 TEIID11008:TEIID11004 Error executing statement(s): [Prepared Values: [] SQL: SELECT cast(g_0.bytenum AS tinyint) AS c_0, abs(cast(g_0.bytenum AS tinyint)) AS c_1 FROM smallb AS g_0 ORDER BY c_0]

Expected results:
Remote java.sql.SQLException: Specified cursor is not known to the server.

Additional info:
server log and exception stack trace in attachment

Comment 1 Juraj Duráni 2014-08-18 11:33:15 UTC
Created attachment 927814 [details]
java application exception stack trace

Comment 2 Juraj Duráni 2014-08-18 11:33:58 UTC
Created attachment 927815 [details]
server log

Comment 3 Juraj Duráni 2014-08-18 11:34:29 UTC
Created attachment 927816 [details]
Server log after query

Comment 4 JBoss JIRA Server 2014-08-18 12:26:26 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3086 to Resolved

Comment 5 Van Halbert 2014-08-18 12:52:15 UTC

*** This bug has been marked as a duplicate of bug 1131020 ***

Comment 6 JBoss JIRA Server 2014-10-21 13:17:35 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3086 to Closed