Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(20)

Issue 164080: Prevent NullPointer exception

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 2 months ago by zhoresh
Modified:
16 years, 2 months ago
Reviewers:
johnfargo, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Description

The Proxy servlet generate a null pointer exception if there is no url parameter. (ProxyHandler.java:146 - HttpRequest is null) The code should generate an error page using GadgetException

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ProxyHandler.java View 1 chunk +4 lines, -0 lines 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/servlet/ProxyHandlerTest.java View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 2
zhoresh
16 years, 2 months ago (2009-12-02 19:38:29 UTC) #1
johnfargo
16 years, 2 months ago (2009-12-03 20:44:24 UTC) #2
Looks great Ziv - patch committed, thanks!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b