Bug 1194292 - NPE while accessing VDB via OData access
Summary: NPE while accessing VDB via OData access
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER1
: 6.3.0
Assignee: Van Halbert
QA Contact: Juraj Duráni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-19 13:43 UTC by Juraj Duráni
Modified: 2016-08-24 11:48 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:48:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-3345 0 Minor Closed NPE while accessing VDB via OData access 2016-08-09 05:24:23 UTC

Description Juraj Duráni 2015-02-19 13:43:49 UTC
Description of problem:

If wrong odata URL is provided, an internal error is displayed:
URL: http://localhost:8080/odata/
Exception: org.teiid.core.TeiidRuntimeException: TEIID16008 VDB name not defined on the URL. The url format is http://{host}:{port}/odata/{vdb-name}[.{vdb-version}]/...
org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:88)
org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:47)
....
This behavior is quite expected.

URL: http://localhost:8080/odata
Exception: java.lang.NullPointerException
org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:80)
org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:47)
...
I expect that teiid should return similar exception


Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information:

Comment 2 JBoss JIRA Server 2015-03-20 15:08:13 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-3345 to Resolved

Comment 3 JBoss JIRA Server 2016-01-26 18:00:54 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3345 to Closed


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