2 Replies Latest reply on Dec 24, 2008 11:32 AM by toto titi

    Crash when accessing any resource's Inventory

    toto titi Newbie

      Hello,

      I'm giving a try to JOPR server 2.1.0 GA. But the portal component is giving me headaches.
      I keep getting the following error when clicking on 'Inventory', whichever resource am looking at:

      java.lang.NoClassDefFoundError: org/rhq/enterprise/gui/inventory/resource/ListCreateResourceHistoryUIBean$ListCreateResourceRequestsDataModel
      java.lang.Class.getDeclaredConstructors0(Native Method)
      java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
      java.lang.Class.getConstructor0(Class.java:2671)
      java.lang.Class.newInstance0(Class.java:321)
      java.lang.Class.newInstance(Class.java:303)
      com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:188)
      com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:105)
      com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:328)
      com.sun.faces.mgbean.BeanManager.create(BeanManager.java:206)
      com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:103)
      javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
      com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:73)
      org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
      org.apache.el.parser.AstValue.getValue(AstValue.java:86)
      org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:240)
      (...)

      It appears that the inner class ListCreateResourceRequestsDataModel is not whipped with other classes, thus is never found. Trying to decompile the super-class ListCreateResourceHistoryUIBean fails with a similar error.

      Any hint or workaround in order to get rid of this error? it really lowers the interest of JOPR. Maybe a new packaging is in order?