[teiid-issues] [JBoss JIRA] Commented: (TEIID-1130) NPE when using exportVDB from adminshell

Steve Hawkins (JIRA) jira-events at lists.jboss.org
Mon Jun 21 15:39:46 EDT 2010


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

Steve Hawkins commented on TEIID-1130:
--------------------------------------

I believe this is an over sight.  All export functions were supposed to be removed.

> NPE when using exportVDB from adminshell
> ----------------------------------------
>
>                 Key: TEIID-1130
>                 URL: https://jira.jboss.org/browse/TEIID-1130
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.0
>         Environment: Fedora 12, Teiid 7 CR2
>            Reporter: Paul Nittel
>            Assignee: Steve Hawkins
>
> After deploying a VDB, I tried to export it and received an NPE.
> groovy:000> getVDBs()                      
> ===> [one.1[Parts_MySQL[Parts_MySQL/mysql/9cc74d93-435a-4b64-b81b-2e1f42ee15fb__monday_Parts_MySQL], SYS[SYS/SYS/SYS]], two.1[Parts_Oracle[Parts_Oracle/oracle/7fd04942-83de-4a84-a916-de398455e491__m1_Parts_Oracle], Parts_MySQL[Parts_MySQL/mysql/7fd04942-83de-4a84-a916-de398455e491__m1_Parts_MySQL], SYS[SYS/SYS/SYS]]]
> groovy:000> exportVDB("two",1,"two_v1.vdb")
> ERROR java.lang.NullPointerException:
> null
>         at org.teiid.core.util.ObjectConverterUtil.write (ObjectConverterUtil.java:173)
>         at org.teiid.core.util.ObjectConverterUtil.write (ObjectConverterUtil.java:158)
>         at org.teiid.adminshell.AdminShell.writeFile (AdminShell.java:310)
>         at org.teiid.adminshell.AdminShell.exportVDB (AdminShell.java:319)
>         at org.teiid.adminshell.AdminShell$exportVDB.callStatic (Unknown Source)
>         at groovysh_evaluate.run (groovysh_evaluate:3)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list