Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 4.4.0 GA (4.8.0 GA Suite Release)
    • Component/s: None
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      When I start the PDI application after running the PDI installer on Ubuntu 10, I saw this error in the log:

      ERROR 22-10 10:36:40,563 - GenericServlet.ERROR_0004 - Resource /instaview/resources/web//InstaCommon.js not found in plugin instaview

      Also, instaview does not start when the "Create new" and "open existing" buttons are clicked

        Activity

        Hide
        rfellows Rob Fellows added a comment -

        this is a browser caching issue. simply right clicking in the window, selecting "Reload" fixes the problem. I'm adding some html headers to the main.html page to not allow caching as a result.

        Show
        rfellows Rob Fellows added a comment - this is a browser caching issue. simply right clicking in the window, selecting "Reload" fixes the problem. I'm adding some html headers to the main.html page to not allow caching as a result.
        Hide
        rfellows Rob Fellows added a comment -

        Note, if previous versions of the app have been run, chances are that it is already cached. the changes made are to prevent caching going forward (so customers will not have the issue)

        will be available in the 4.8.0-GA RC3 build

        Show
        rfellows Rob Fellows added a comment - Note, if previous versions of the app have been run, chances are that it is already cached. the changes made are to prevent caching going forward (so customers will not have the issue) will be available in the 4.8.0-GA RC3 build
        Hide
        gdavid Golda Thomas added a comment - - edited

        As Rob mentioned , I was able to right click and reload the insta view page and the buttons started working.

        Show
        gdavid Golda Thomas added a comment - - edited As Rob mentioned , I was able to right click and reload the insta view page and the buttons started working.
        Hide
        gdavid Golda Thomas added a comment -

        The Error still occurs when tested using the pdi 4.4 installer build on 10/25/2012. so reopening this issue

        ERROR 25-10 16:40:52,826 - GenericServlet.ERROR_0004 - Resource /instaview/resources/web//InstaCommon.js not found in plugin instaview

        Show
        gdavid Golda Thomas added a comment - The Error still occurs when tested using the pdi 4.4 installer build on 10/25/2012. so reopening this issue ERROR 25-10 16:40:52,826 - GenericServlet.ERROR_0004 - Resource /instaview/resources/web//InstaCommon.js not found in plugin instaview
        Hide
        rfellows Rob Fellows added a comment -

        There is an issue with instaview where it's dojo widgets depend on an AMD module (InstaCommon). however, the compressed version of instaview packages up all dojo widgets and dojo-proper into a single file as well as a single file for all AMD modules. InstaCommon and others depend on dojo. For the most part this suprisingly gets resolved properly. But in this particular case, since the dojo widgets are "requiring" InstaCommon in their initialization routines, it manifests itself in a javascript timing issue.

        In an attempt to remedy this, I've moved all of the pen.require's from the init methods and moved them into the show() methods. that way the timing issue should be avoided. This works for the most part, the error message on the console no longer shows. But the very first execution of Instaview after an install does not render the text on the launch screen buttons and the buttons do nothing. restarting Instaview and/or "Reloading" the page fixes the issue and it doesn't appear to ever happen again, even on subsequent restarts. Debugging the page from a traditional browser is no help, it always loads fine.

        I guess the next step is to add lots of alerts to the code to determine where it might be falling down...

        Show
        rfellows Rob Fellows added a comment - There is an issue with instaview where it's dojo widgets depend on an AMD module (InstaCommon). however, the compressed version of instaview packages up all dojo widgets and dojo-proper into a single file as well as a single file for all AMD modules. InstaCommon and others depend on dojo. For the most part this suprisingly gets resolved properly. But in this particular case, since the dojo widgets are "requiring" InstaCommon in their initialization routines, it manifests itself in a javascript timing issue. In an attempt to remedy this, I've moved all of the pen.require's from the init methods and moved them into the show() methods. that way the timing issue should be avoided. This works for the most part, the error message on the console no longer shows. But the very first execution of Instaview after an install does not render the text on the launch screen buttons and the buttons do nothing. restarting Instaview and/or "Reloading" the page fixes the issue and it doesn't appear to ever happen again, even on subsequent restarts. Debugging the page from a traditional browser is no help, it always loads fine. I guess the next step is to add lots of alerts to the code to determine where it might be falling down...
        Hide
        rfellows Rob Fellows added a comment -

        In my testing this seems fixed by the code changes made. However, one time out of about 100 attempts i noticed that the buttons on the launch page were blank and did not function. I have not been able to reproduce this since. So keep an eye out when validating this case.

        Show
        rfellows Rob Fellows added a comment - In my testing this seems fixed by the code changes made. However, one time out of about 100 attempts i noticed that the buttons on the launch page were blank and did not function. I have not been able to reproduce this since. So keep an eye out when validating this case.
        Hide
        gdavid Golda Thomas added a comment - - edited

        Tested this issue on Ubuntu 10 VM and not seeing that error in the console when I start instaview in Ubuntu 10.
        And also the buttons not loading properly issue did not happen to me. I launched insta view several times from the script as well as by clicking on the perspective.
        The buttons loaded properly.

        No error in the console. This issue is resolved in the latest PDI M4 installer on Ubuntu

        Show
        gdavid Golda Thomas added a comment - - edited Tested this issue on Ubuntu 10 VM and not seeing that error in the console when I start instaview in Ubuntu 10. And also the buttons not loading properly issue did not happen to me. I launched insta view several times from the script as well as by clicking on the perspective. The buttons loaded properly. No error in the console. This issue is resolved in the latest PDI M4 installer on Ubuntu
        Hide
        gdavid Golda Thomas added a comment -

        Tested this issue using the latest PDI m4 installer on 10.30.2012 and this issue is resolved.

        Show
        gdavid Golda Thomas added a comment - Tested this issue using the latest PDI m4 installer on 10.30.2012 and this issue is resolved.

          People

          • Assignee:
            gdavid Golda Thomas
            Reporter:
            bbruce Brandon Bruce (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: