Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8RC1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:portals portlets
-
Affects:Sample App./Tutorial
Description
This exception is thrown when trying to download PDF files or the image.
java.lang.NullPointerException
org.icefaces.application.showcase.view.bean.examples.component.outputResource.OutputResourceBean.toByteArray(OutputResourceBean.java:77)
org.icefaces.application.showcase.view.bean.examples.component.outputResource.MyResource.open(OutputResourceBean.java:108)
java.lang.NullPointerException
org.icefaces.application.showcase.view.bean.examples.component.outputResource.OutputResourceBean.toByteArray(OutputResourceBean.java:77)
org.icefaces.application.showcase.view.bean.examples.component.outputResource.MyResource.open(OutputResourceBean.java:108)
Activity
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #18424 | Tue Feb 24 16:52:45 MST 2009 | deryk.sinotte | |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/bean/examples/component/outputResource/OutputResourceBean.java
|
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Salesforce Case | [] | |
| Fix Version/s | 1.8 [ 10161 ] |
| Summary | OuputResource demo of Component Showcase is not working as a portlet | OutputResource demo of Component Showcase is not working as a portlet |
| Salesforce Case | [] | |
| Affects | [Sample App./Tutorial] |
| Fix Version/s | 1.8RC2 [ 10163 ] | |
| Fix Version/s | 1.8 [ 10161 ] |
| Fix Version/s | 1.8 [ 10161 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

The OutputResource bean of the Component Showcase is using non-portlet friendly logic to retrieve the resources as streams.