Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4951

get-schema CLI call ending up NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0
    • 9.2
    • AdminApi

      A CLI call like
      /subsystem=teiid:get-schema(vdb-name=ispn, vdb-version=1)

      producing

      4:45:28,356 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 7)  WFLYCTL0013: Operation ("get-schema") failed - address: ([("subsystem" => "teiid")]): java.lang.NullPointerException
      	at java.lang.String$CaseInsensitiveComparator.compare(String.java:1192)
      	at java.lang.String$CaseInsensitiveComparator.compare(String.java:1186)
      	at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:376)
      	at java.util.TreeMap.getEntry(TreeMap.java:345)
      	at java.util.TreeMap.get(TreeMap.java:278)
      	at org.teiid.metadata.MetadataStore.getSchema(MetadataStore.java:56)
      	at org.teiid.jboss.GetSchema.executeOperation(TeiidOperationHandler.java:937)
      	at org.teiid.jboss.GetSchema.executeOperation(TeiidOperationHandler.java:875)
      	at org.teiid.jboss.BaseOperationHandler$1.execute(BaseOperationHandler.java:79)
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
      	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
      	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:217)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:208)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:152)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:148)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:148)
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      

              rhn-engineering-rareddy Ramesh Reddy
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: