Details
-
Type: Bug
-
Status: Closed
-
Priority: 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 inICE-7378
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
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000MG2nS] |
Arran Mccullough
made changes -
Attachment | Case11257Example.zip [ 14413 ] | |
Attachment | Case11257Example.war [ 14414 ] |
Ken Fyten
made changes -
Fix Version/s | EE-1.8.2.GA_P05 [ 10331 ] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Won't Fix [ 2 ] |
Deryk Sinotte
made changes -
Resolution | Won't Fix [ 2 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Deryk Sinotte
made changes -
Attachment | SearchManager.java [ 14432 ] |
Deryk Sinotte
made changes -
Workaround Description | Use Ajax Push APIs (e.g. SessionRenderer) on non-JSF threads. | |
Workaround Exists | [Yes] |
Deryk Sinotte
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Attached test case that shows issue.
Steps: