No announcement yet.
  • Filter
  • Time
Clear All
new posts

  • Error when opening Developer Console after upgrading to 12.0p.


    We upgraded from "SmartClient Version: v10.1p_2017-08-10/Pro Deployment (built 2017-08-10)" to "SmartClient Version: v12.0p_2018-09-12/Pro Deployment (built 2018-09-12)" and we are now seeing the following exception when opening the SmartGWT Developer Console.

    2018-09-18-12:43:22:306 -0400  ERROR [http-nio-8080-exec-3] Unable to instantiate class 'com.isomorphic.messaging.StreamDataSource' - check to make sure you have isomorphic_realtime_messaging.jar (and its dependencies: isomorphic_core_rpc.jar, isomorphic_js_parser.jar, devenv/google-oauth-client-jetty-1.22.0.jar, devenv/javax.websocket-api-1.1.jar, commons-jxpath-1.3.jar, commons-pool-1.6.jar, devenv/jjwt-0.9.0.jar, devenv/google-http-client-jackson2-1.22.0.jar, commons-lang-2.6.jar, httpclient-4.5.5.jar, devenv/javax.jms.jar, devenv/google-api-services-gmail-v1-rev44-1.22.0.jar, commons-vfs2-2.1.jar, poi-ooxml-schemas-3.17.jar, commons-io-2.5.jar, slf4j-api-1.7.25.jar, devenv/google-api-client-1.22.0.jar, groovy-sql-2.4.13.jar, activation.jar, commons-cli-1.4.jar, log4j-1.2.17.jar, devenv/jackson-core-2.9.3.jar, commons-collections-3.2.2.jar, xmlbeans-2.6.0.jar, devenv/jackson-databind-2.9.3.jar, velocity-1.7.jar, poi-3.17.jar, commons-collections4-4.1.jar, devenv/jackson-annotations-2.9.3.jar, hibernate-validator-4.1.0.Final.jar, mail.jar, javax.persistence.jar, commons-codec-1.10.jar, commons-fileupload-1.3.3.jar, httpcore-4.4.9.jar, groovy-jsr223-2.4.13.jar, devenv/google-oauth-client-1.22.0.jar, joda-time-2.9.9.jar, poi-ooxml-3.17.jar, validation-api-1.0.0.GA.jar, devenv/google-http-client-1.22.0.jar, devenv/google-oauth-client-java6-1.22.0.jar, groovy-2.4.13.jar) in your CLASSPATH
    2018-09-18-12:43:22:306 -0400  ERROR [http-nio-8080-exec-3] Exception while attempting to load a DataSource
    java.lang.ClassNotFoundException: com.isomorphic.messaging.StreamDataSource
    We didn't include the isomorphic_realtime_messaging.jar in the past since we aren't using the messaging module. Should we be including this jar now? Or is there a configuration option to prevent this exception?


  • #2
    This is due to Remote Debugging, which now, in all Pro and better builds, uses the RealTimeMessaging module to allow debugging applications which are running in another browser - very useful for Debugging mobile. So you should include the messaging.jar if you want to use this feature.

    As far as getting this specific error with the .jar absent, that doesn't seem normal. How did you obtain this error message? Were you launching the Developer Console from a running application, or did you open it directly?


    • #3
      OK, we do not need Remote Debugging at this time so I'd rather not include the jar.

      We are launching the Developer Console from a running application with a call to SC.showConsole();

      I should have included the following error message which may explain why StreamDataSource class is getting loaded.

      2018-09-18-12:43:22:307 -0400  ERROR [http-nio-8080-exec-3] BaseServlet Global Exception
      javax.servlet.ServletException: DataSource 'DataSourceDataChanged' failed to load due to an exception on the server:
      See the server-side log for additional details.
      Last edited by stonebranch3; 18th Sep 2018, 11:26.


      • #4
        Hi Isomorphic,

        Do you have an update for this one?



        • #5
          As far as we understand this is a harmless error message and we just plan to make it clearer what’s going on. Is it blocking you somehow?


          • #6
            OK, thanks. That's what I wanted to confirm.


            • #7
              FYI - this harmless (but admittedly alarming) error message will no longer appear in the logs as of the next patch build (Oct 5, 2018). Thanks for your patience.


              • #8

                This error message still appears in the log with the following build.

                SmartClient Version: v12.0p_2019-02-06/Pro Deployment (built 2019-02-06)