8 Replies Latest reply on Feb 20, 2009 3:51 PM by mazz

    Java Script Error in GUI

    nsyed4

      Please let me know if this needs to go to a different thread.

      Browser: IE 7
      Java Script Error on the page rhq/resource/inventory/view.xhtml

      Line: 11
      Char: 45
      Error: 'elements' is null or not an object
      Code: 0
      URL: http://lab1:7080/rhq/resource/inventory/view.xtml?id=500051

      Perhaps due to the java script error, there is no scroll bar on the page to navigate through the page.

      When I toggle between the tables(clicking on the two headed arrow) on the page /resource/inventoryview.xhtml?id-500051, I get the following error:


      2009-02-10 10:27:38,577 ERROR [STDERR] Feb 10, 2009 10:27:38 AM javax.faces.component.UIInput updateModel
      SEVERE: /rhq/resource/layout/summary.xhtml @218,78 value="${ResourceUIBean.favorite}": Error writing 'favorite' on type org.rhq.enterprise.gui.inventory.resource.ResourceUIBean
      java.lang.IllegalStateException: Required request parameter 'mode' is missing.
      at org.rhq.core.gui.util.FacesContextUtility.getRequiredRequestParameter(FacesContextUtility.java:101)


      And this happens when I click the tree of Servers and Services which is displayed on the top of the browser when I log in as Admin and in the left pane when I login as a non-admin user:

      2009-02-10 10:29:35,448 ERROR [STDERR] Feb 10, 2009 10:29:35 AM javax.faces.component.UIInput updateModel
      SEVERE: /rhq/resource/layout/summary.xhtml @218,78 value="${ResourceUIBean.favorite}": Error writing 'favorite' on type org.rhq.enterprise.gui.inventory.resource.ResourceUIBean
      java.lang.IllegalStateException: Required request parameter 'mode' is missing.


      The detailed error message is at: RHQ-1519

      Thanks.




      [/img]

        • 1. Re: Java Script Error in GUI
          mazz

          Is this from a build off of trunk? We had a pretty big breakage in a recent checkin. Being worked on as we type.

          • 2. Re: Java Script Error in GUI
            nsyed4

            Yes. Build Number: 2942. O.k.

            • 3. Re: Java Script Error in GUI
              nsyed4

              I want to know if the build is now free with the Java Script error mentioned above.


              Thanks.

              • 4. Re: Java Script Error in GUI
                mazz

                Alot of these errors have been fixed recently. We are not ready yet to tag this as our next release, so consider trunk/ not-quite-but-almost-beta quality :). But, I have seen the UI become more stable over the past week or so.

                You should search JIRA to see if your issue is in there and what its status is:

                http://jira.rhq-project.org/browse/RHQ

                BTW: ghinkle is going to make a pretty substantial checkin to further fix issues with the left-nav UI. Just an FYI - in case you want to wait a day to pick up those changes.

                • 5. Re: Java Script Error in GUI
                  nsyed4

                  Nice. I also would like to know when will the new version of JBOSS ON is being released. Is there going to be an unsupported open source and a supported version?

                  Thanks.

                  • 6. Re: Java Script Error in GUI
                    mazz

                    JBoss ON is slated for release sometime in the next few months. Nothing announced yet.

                    The model has not changed - Jopr is the unsupported open source version and JBoss ON will be the commercialized, supported version:

                    http://www.redhat.com/docs/en-US/JBoss_ON/html/FAQs/chap-FAQs-Chapter.html#sect-FAQs-General-What_is_the_difference_between_JON_RHQ_and_jopr

                    • 7. Re: Java Script Error in GUI
                      nsyed4

                      Yes, I would like to frame my question as:
                      When will Jopr source and binaries be released in a packaged form and also be compatible with the release of JBOSS ON.
                      For example: JBOSS ON 2.1.2.GA is available for download but I don't see JOPR 2.1.2 source or binary except that I can download the latest source from trunk which is ahead of JBOSS ON 2.1.2.GA.

                      Thanks.

                      • 8. Re: Java Script Error in GUI
                        mazz

                        We have not guaranteed that any JBoss ON release will correspond to any open source Jopr release. They are not on synchronized release schedules.

                        JBoss ON will be built from some svn revision that we will "freeze" on - we'll thoroughly test on that revision (and branch from that revision should we need to support customers with patches). However, it's probable that this svn revision will not correspond to any binary release of Jopr - Jopr development will continue on within svn and we plan on releasing Jopr more often in the future and it won't track JBoss ON releases.

                        If you are concerned about getting a product that is stable, production ready, and supported - we'll recommend you get JBoss ON. Since there will be no hidden or closed source development for any piece of JBoss ON (it's all out in the open) you can build the binary distributions manually from svn, but of course that would be an unsupported distro.