Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1468

Exception when refreshing page with JSF 2 composite component.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: JSF
    • Labels:

      Description

      The error below occurs when refreshing(browser refresh button) a webflow view-state with a jsf view.

      The JSF view has a composite component on it, for example:

      <html ... xmlns:on="http://java.sun.com/jsf/composite/onzin">
      ...
          <on:onzintag/>
      ...
      

      resources/onzin/onzintag.xhtml:

      <?xml version='1.0' encoding='UTF-8' ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:cc="http://java.sun.com/jsf/composite">
          <cc:interface>
          </cc:interface>
          <cc:implementation>
              ONZIN
          </cc:implementation>
      </html>
      
      [#|2011-03-29T11:57:29.451+0200|WARNING|glassfish3.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=29;_ThreadName=Thread-1;|StandardWrapperValve[Spring MVC Dispatcher Servlet]: PWC1406: Servlet.service() for servlet Spring MVC Dispatcher Servlet threw exception
      java.lang.NullPointerException
      	at com.sun.faces.application.resource.ResourceImpl.readExternal(ResourceImpl.java:415)
      	at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
      ...
      	at org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshot.deserialize(SerializedFlowExecutionSnapshot.java:194)
      	at org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshot.unmarshal(SerializedFlowExecutionSnapshot.java:99)
      ...
      

        Attachments

          Activity

            People

            Assignee:
            rstoya05-aop Rossen Stoyanchev
            Reporter:
            caspermout Casper Mout
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: