Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Liferay gets the chat's resource and expects it to be in the form "x@x/x" but with certain XMPP chat servers, the resource does not contain the final slash. In this case, the resource is set to null and Liferay throws a null pointer exception.

        Activity

        Hide
        Serena Song (Inactive) added a comment -

        Passed without instructions on ticket (include a description explaining results at the bottom):

        PASSED Manual Testing using the following steps:

        1. Download ejabberd http://www.process-one.net/en/ejabberd/downloads , use the default settings.
        2. Start the ejabberd server.
        3. Navigate to Chat portlet WEB-INF/classes.
        4. Edit portlet-ext.properties.
          ##
          ## Jabber
          ##	
          	jabber.enabled=true
          	jabber.import.user.enabled=true
          	jabber.host=liferay-cade164
          	jabber.port=5222
          	jabber.service.name=
          	jabber.resource=Liferay
          	jabber.sock5.proxy.enabled=false
          	jabber.sock5.proxy.port=-1
        5. Start Liferay and deploy the chat portlet.
        6. Create another user and sign in as the user in another browser
        7. Try to chat with the user.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        Liferay will throw a null pointer exception.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3d5ca201044302070e49ad72e331b7b700a21397.
        Plugin 6.1.X EE GIT ID: cdc8c65819c88ff221ca2cc1f0adcfee3d61f005.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 4bba78f8abfe2e41b5a045c262f99e3fbb4d2b1f.
        Plugin 6.2.X EE GIT ID: 67767875670b53105ff1cd65c2e2010ad770bd87.

        There is no NPE exception in the console.

        Show
        Serena Song (Inactive) added a comment - Passed without instructions on ticket (include a description explaining results at the bottom): PASSED Manual Testing using the following steps: Download ejabberd http://www.process-one.net/en/ejabberd/downloads , use the default settings. Start the ejabberd server. Navigate to Chat portlet WEB-INF/classes. Edit portlet-ext.properties. ## ## Jabber ## jabber.enabled=true jabber.import.user.enabled=true jabber.host=liferay-cade164 jabber.port=5222 jabber.service.name= jabber.resource=Liferay jabber.sock5.proxy.enabled=false jabber.sock5.proxy.port=-1 Start Liferay and deploy the chat portlet. Create another user and sign in as the user in another browser Try to chat with the user. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Liferay will throw a null pointer exception. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3d5ca201044302070e49ad72e331b7b700a21397. Plugin 6.1.X EE GIT ID: cdc8c65819c88ff221ca2cc1f0adcfee3d61f005. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 4bba78f8abfe2e41b5a045c262f99e3fbb4d2b1f. Plugin 6.2.X EE GIT ID: 67767875670b53105ff1cd65c2e2010ad770bd87. There is no NPE exception in the console.

          People

          • Assignee:
            Serena Song (Inactive)
            Reporter:
            Jonathan McCann
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 20 weeks ago

              Development

                Structure Helper Panel