Issue Details (XML | Word | Printable)

Key: GLASSFISH-882
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: kchung
Reporter: Ryan Lubke
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

JSTL - possible NotSerializableException error condition

Created: 31/Jul/06 01:24 PM   Updated: 06/Dec/09 09:31 AM   Resolved: 06/Dec/09 09:31 AM
Component/s: web_container
Affects Version/s: 9.1pe
Fix Version/s: 9.0pe

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 882
Tags:
Participants: fabiool_uk, jluehe, kchung and Ryan Lubke


 Description  « Hide

Requested a page with JSTL c:forEach in the page. Killed the server, and
started it back up. I found this error in the log during startup.

java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: javax.servlet.jsp.jstl.core.IteratedExpression
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1308)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1917)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
at java.util.HashMap.readObject(HashMap.java:1013)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
at
com.sun.el.lang.VariableMapperImpl.readExternal(VariableMapperImpl.java:54)



jluehe added a comment - 31/Jul/06 06:10 PM

-> Kin-Man


kchung added a comment - 10/Aug/06 05:41 PM

Fixed.


kchung added a comment - 14/Aug/06 02:13 PM

Alas, the fix is an API change, and cannot be doen without a new spec. The fix
is back out and this issue reopen.


kchung added a comment - 14/Aug/06 02:15 PM

Postponed until the spec is updated.


fabiool_uk added a comment - 06/Dec/09 09:31 AM

Hi folks, is there any workaround for this issue? Should we not mingle jstl with
jsf for the time being?