Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1590

NullPointerException when trying to view jsf2-export-pdf-portlet on JBoss AS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: liferay-faces-3.1.2-ga3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay Portal 6.1.20 EE GA2 + JBoss AS 7.1.1

      Description

      Steps to reproduce:

      1. Deploy the jsf2-export-pdf-portlet on Liferay Portal 6.1.20 EE GA2 + JBoss AS 7.1.1

      2. Add the portlet to a portal page

      3. Re-load the page

      If the bug is fixed, then the portlet will display properly. If the bug still exists, then the following stacktrace will appear:

      Caused by: java.lang.NullPointerException
          at com.liferay.faces.demos.list.CustomersDataModel.<init>(CustomersDataModel.java:38) [classes
          at com.liferay.faces.demos.bean.CustomersModelBean.getCustomers(CustomersModelBean.java:48) [classes
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [classes.jar:1.6.0_45]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_45]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_45]
          at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_45]
          at javax.el.BeanELResolver.getValue(BeanELResolver.java:302) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
          at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.1.21.jar:2.1.21]
          at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.1.21.jar:2.1.21]
          at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53) [jboss-el-2.0.0.GA.jar
          at org.jboss.el.parser.AstValue.getValue(AstValue.java:67) [jboss-el-2.0.0.GA.jar
          at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) [jboss-el-2.0.0.GA.jar
          at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.1.21.jar:2.1.21]
          ... 212 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ui_faces UI Faces
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package