Version 1

    Hello All,

     

    Everytime i start the Devstudio i see an error while updating the project wizard.

     

     

    ERROR MESSAGE:

    An internal error occurred during: "Searching runtimes...".

     

    Exception Stack Trace:

    java.lang.NullPointerException

    at org.jboss.tools.runtime.core.util.RuntimePathPreferenceIO.loadRuntimePathsFromPreferenceString(RuntimePathPreferenceIO.java:131)

    at org.jboss.tools.runtime.core.model.RuntimeModel.reloadRuntimePathsFromPreferences(RuntimeModel.java:41)

    at org.jboss.tools.runtime.core.model.RuntimeModel.<init>(RuntimeModel.java:35)

    at org.jboss.tools.runtime.ui.RuntimeUIActivator.getModel(RuntimeUIActivator.java:93)

    at org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner.wouldOpenSearchRuntimePathDialog(RuntimeScanner.java:130)

    at org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner.access$0(RuntimeScanner.java:129)

    at org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner$1.run(RuntimeScanner.java:81)

    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

     

    Session Data:

    eclipse.buildId=11.3.0.GA-v20180413-0714-B2352

    java.version=1.8.0_144

    java.vendor=Oracle Corporation

    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

    Framework arguments:  -product com.jboss.devstudio.core.product

    Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product

     

     

    However i was able to connect to JDBC sources, import tables, create and deploy VDBs without any issues.  BUT when im trying to execute the VDB i see below error.

     

     

     

    SELECT * FROM HiveDemoDataAccess01.HiveDemoDataAccess.**_rcg_test.airsegments_json_fin;

     

    org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30504 HiveDemoDataAccess: 0 TEIID11008:TEIID11004 Error executing statement(s): [Prepared Values: [] SQL: SELECT g_0.`column01`, g_0.`cloumn02`, g_0.` FROM `**_**_test`.`airsegments_json_fin` g_0]

     

    Elapsed Time:  0 hr, 0 min, 0 sec, 490 ms.

     

    im not able to query the vdb after deployed. Is this because of the error i see while launching the devstudio or is this issue related to the java/:data source that i provided during the deployment?

     

    Any help is much appreciated.

     

    > BUT when im trying to execute the VDB i see below error.

     

    That is a pretty general error from Teiid that the query failed to execute.  If you don't see any more than that in the log or you are not getting a full stack trace in Designer, you should increase the logging level on the server to capture the full stacktrace there.

     

    > im not able to query the vdb after deployed. Is this because of the error i see while launching the devstudio or is this issue related to the java/:data source that i provided during the deployment?

     

    Are you referring to the same error message as above, or is there some other issue with connecting/querying?

     

    blafond - do you recognize the Searching Runtimes error?

     

    Searching runtimes is coming from the jboss server plugins and the limited stack trace shows as much. Our Designer contribution hooks into this framework to obtain/find Teiid submodules within a runtime, so

     

    If you didn't get this error if Designer was not installed, then it would indicate there might be a Designer-related issue that's not being logged.

     

    Which version of RHDS and Teiid Designer are you running?

     

    RHDS - 11.3.0 GA

     

    TeiidDesigner - 11.1.3

     

    Issue is resolved. Earlier i had TeiidDesigner 11.1.2 version with JBDS 11.3 and now i upgraded my TeiidDesiger to 11.1.3.  Not sure if it is versioning compatibility issues or something else but surely i don't see the error anymore once TeiidDesigner has been upgraded to latest.

     

    Thank you everyone for the response.

     

    This article was generated from the following discussion: DevStudio Issue after started - "Searching runtimes...."