Bug 1006961 - Teiid OData Servlet throws java.lang.NullPointerException on every GET
Summary: Teiid OData Servlet throws java.lang.NullPointerException on every GET
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid, Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER2
: 6.0
Assignee: Filip Nguyen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 15:08 UTC by Van Halbert
Modified: 2014-07-09 05:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-10 18:39:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-2656 0 Major Closed Teiid OData Servlet throws java.lang.NullPointerException on every GET 2015-07-30 09:07:54 UTC
Red Hat Issue Tracker TEIID-2660 0 Critical Closed OData procedure issues 2015-07-30 09:07:54 UTC

Comment 1 JBoss JIRA Server 2013-09-11 18:08:15 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-2656 to Resolved

Comment 2 JBoss JIRA Server 2013-09-11 18:08:15 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIID-2656

Two issues has been resolved for this

1) NPE error has been fixed such that it will not swallow the original error
2) The Designer based VDB metadata load for the foreign key has been fixed such that reference table name is derived from the primary key.

Comment 3 JBoss JIRA Server 2013-09-12 13:13:50 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIID-2660

Looks good Steve. yes, it is better way to get to metadata store, that may improved along side during the 8.3 with embedded stuff, or I just did not think about it.

Yes, I am not sure why I did not choose named parameters, that was wrong. I can not say I understand negate one fully.

Comment 4 JBoss JIRA Server 2013-09-12 13:20:28 UTC
Steven Hawkins <shawkins> made a comment on jira TEIID-2660

> Yes, I am not sure why I did not choose named parameters, that was wrong.

The parser needed updated as we would have only supported named parameters without a return parameter.  Now we should be good.  This also allows for parameters to be omitted/defaultable.

>  I can not say I understand negate one fully.

It looked to me like combining the negation with numerical constants was not needed - as long as the literal is entered without a space -2.0f for example it will be parsed as -2.0.  Also the handling of the negation was only being done in the non prepared case.  In the prepared case it was silently dropped (it's a little weird but if for example the user entered x=- 2 we'd treat that as x=? but not apply negation to the parameter value).

Comment 5 JBoss JIRA Server 2013-09-12 13:32:05 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2660 to Resolved

Comment 6 JBoss JIRA Server 2013-09-12 13:32:05 UTC
Steven Hawkins <shawkins> made a comment on jira TEIID-2660

Committed to 8.5.x (will be pulled to master/8.6 shortly) and 8.4.x

Comment 10 JBoss JIRA Server 2013-10-22 09:43:35 UTC
luca gioppo <gioppo> made a comment on jira TEIID-2656

There will be any fixes for this for 8.3?
We cannot pass to EAP and are at the time stuck with 7.1.1 and 8.3
Thanks
Luca

Comment 11 JBoss JIRA Server 2013-10-22 11:53:48 UTC
Steven Hawkins <shawkins> made a comment on jira TEIID-2656

> There will be any fixes for this for 8.3?

Not by the core team.  You should be able to patch 8.3 based upon the commit and build from source.  Also this only affects Designer based VDBs so a workaround would be to use a dynamic vdb.

> We cannot pass to EAP

Keep in mind that EAP 6 Alpha is the same as AS 7.2.

Comment 12 JBoss JIRA Server 2013-10-23 15:54:17 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIID-2656

BTW, for development only version of DV6 (production version of Teiid ) can also be downloaded at http://www.jboss.org/products/datavirt.html, but no community version.

But as Steve mentions, using EAP 6 alpha, has same terms and conditions as 7.1.1 as per the licensing concerns.

Comment 13 belong 2013-11-19 23:28:01 UTC
Fixed before GA - setting to requires_doc_text- accordingly

Comment 14 JBoss JIRA Server 2013-12-05 13:56:04 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2660 to Closed

Comment 15 JBoss JIRA Server 2013-12-05 20:51:46 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2656 to Closed

Comment 16 JBoss JIRA Server 2014-02-06 15:35:01 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2656 to Reopened

Comment 17 Filip Nguyen 2014-02-11 11:57:06 UTC
Metadata accessible.

Comment 18 JBoss JIRA Server 2014-02-12 13:28:56 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-2656 to Resolved

Comment 19 JBoss JIRA Server 2014-04-21 11:25:18 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2656 to Closed


Note You need to log in before you can comment on or make changes to this bug.