I ran into this issue after I upgraded to GAE 1.7.2 or 1.7.3. Switching to
1.7.1.1 resolved the issue.

Cheers - Alex K

On Sun, Nov 11, 2012 at 9:57 PM, Muhammad Gelbana <m.gelb...@gmail.com>wrote:

> Any more info about the error message(s) ? What about the stacktrace ?
> Could this be more about GAE and not Tapestry ?
>
> On Mon, Nov 12, 2012 at 12:21 AM, TG <tapestry...@hotmail.com> wrote:
>
> > I got a new exception "java.lang.IllegalStateException: Sanity check -
> > neither a stream response nor a redirect response was generated for this
> > action request." after I upgraded the tapestry to 5.3.6. I was using
> 5.3.4
> > (or maybe earlier) before without any issue.
> >
> > Our codes -
> >
> > ...
> >         @InjectPage
> >         private UserStart start;
> >
> > ...
> >         public Object onSubmit() throws ValidationException {
> >                 Long id = -1L;
> >
> >                 id = (new UserSecurityDAO()).exist(myBean);
> >                 Long bid = myBean.getId();
> >
> >                 if(myBean != null && id > 0 &&
> !id.equals(myBean.getId()))
> > {
> >                         //as workaround as GAE4J does not support
> > composite primary key i.e.
> >                         //beanManager.delete(id);
> >                         //throw new ValidationException("User with user
> id
> > '" +
> > myBean.getUserId() + "' already exists!");
> >                 } else {
> >                         if(selectedList != null && selectedList.size() >
> > 0) {
> >                                 //change only if there is a selection, if
> > not do not modify existing
> > role(s)
> >                                 myBean.setUserRoles(selectedList);
> >                         }
> >                 }
> >
> >                 beanManager.save(myBean);
> >
> >                 return start;
> >         }
> >
> > Any help will be highly appreciated.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tapestry.1045711.n5.nabble.com/java-lang-IllegalStateException-Sanity-check-neither-a-stream-response-nor-a-redirect-response-was-g-tp5717915.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>

Reply via email to