deleteVDBAndConnectorBindings gets NPE
--------------------------------------
Key: TEIID-837
URL:
https://jira.jboss.org/jira/browse/TEIID-837
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 6.2.0
Environment: fedora 10, Teiid 6.2 RC1
Reporter: Paul Nittel
Assignee: Ramesh Reddy
Fix For: 6.2.0
Not too sure this method makes a lot of sense since the bindings are part of the VDB
itself, but...
When it's executed from AdminShell, the following is spewed forth:
Identifier supplied can not be null and must adhere to the naming patterns; Please check
the java docs for the proper naming patterns.
// Error: // Uncaught Exception: Typed variable declaration : at Line: 1020 : in file:
URL:
jar:file:/home/pnittel/teiid62RC1/adminshell/lib/teiid-adminshell-6.2.0-SNAPSHOT.jar!/scripts/adminapi.bsh
: connectorBindings .iterator ( )
Target exception: java.lang.NullPointerException: Null Pointer in Method Invocation
In this case, I'd given this command:
deleteVDBAndConnectorBindings("NiapThing", "1");
Good news is the VDB /is/ deleted when this is executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: