[teiid-issues] [JBoss JIRA] (TEIID-5047) teiid-jboss-admin throw exception in get vdb

Ramesh Reddy (JIRA) issues at jboss.org
Mon Sep 25 09:07:00 EDT 2017


    [ https://issues.jboss.org/browse/TEIID-5047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467948#comment-13467948 ] 

Ramesh Reddy commented on TEIID-5047:
-------------------------------------

Is it due to the international characters in the description?

> teiid-jboss-admin throw exception in get vdb
> --------------------------------------------
>
>                 Key: TEIID-5047
>                 URL: https://issues.jboss.org/browse/TEIID-5047
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 8.12.12.6_3
>         Environment: * 8.12.5.redhat-8
>            Reporter: Kylin Soong
>            Assignee: Steven Hawkins
>
> The return result have a type attribute
> {code}
> [standalone at localhost:9999 /] /subsystem=teiid:get-vdb(vdb-name=A1_DG_EPDM,vdb-version=1)
> {
>     "outcome" => "success",
>     "result" => {
>         "type" => OBJECT,
>         "vdb-name" => "A1_DG_EPDM",
>         "connection-type" => "BY_VERSION",
>         "status" => "LOADING",
>         "vdb-version" => 1,
>         "vdb-description" => "A1 EPDM 大港(10.76.32.26)",
> {code}
> but the VDBMetadataMapper don't consider this, which cause the following exception throw
> {code}
> Exception in thread "main" java.lang.IllegalArgumentException
> 	at org.jboss.dmr.ModelValue.getChild(ModelValue.java:112)
> 	at org.jboss.dmr.PropertyModelValue.getChild(PropertyModelValue.java:117)
> 	at org.jboss.dmr.ModelNode.get(ModelNode.java:856)
> 	at org.teiid.adminapi.jboss.VDBMetadataMapper.unwrap(VDBMetadataMapper.java:169)
> 	at org.teiid.adminapi.jboss.VDBMetadataMapper.unwrap(VDBMetadataMapper.java:61)
> 	at com.cnpc.datavirt.admin.impl.AdminImpl.getList(AdminImpl.java:172)
> 	at com.cnpc.datavirt.admin.impl.AdminImpl.getDomainAwareList(AdminImpl.java:157)
> 	at com.cnpc.datavirt.admin.impl.AdminImpl.getVDB(AdminImpl.java:112)
> 	at com.cnpc.datavirt.admin.sample.Sample.main(Sample.java:13)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the teiid-issues mailing list