ICEfaces
  1. ICEfaces
  2. ICE-8107

NullPointerException when using DataPaginator.gotoFirstPage() in the thread

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE-1.8.2.GA_P04
    • Fix Version/s: EE-1.8.2.GA_P05
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces EE 1.8.2 P04
    • Assignee Priority:
      P2
    • Workaround Exists:
      Yes
    • Workaround Description:
      Use Ajax Push APIs (e.g. SessionRenderer) on non-JSF threads.

      Description

      A NullPointerException is thrown when calling DataPaginator.gotoFirstPage() in a thread.

      Customer Use case/Scenario: In a few scenarios we need to get data from database in a thread. After successful get we call gotoFirstPage() on the DataPaginator to move to the first page.

      Error Stack Trace:

      Exception in thread "Thread-13" java.lang.NullPointerException
      at com.icesoft.faces.component.datapaginator.DataPaginatorGroup.execute(DataPaginatorGroup.java:33)
      at com.icesoft.faces.component.datapaginator.DataPaginator.gotoFirstPage(DataPaginator.java:963)
      at com.icefaces.test.SearchManager$1.run(SearchManager.java:55)

      Issue is likely due to the changes made in ICE-7378

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: