
| Key: |
STS-305
|
| Type: |
Improvement
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Ben Gunter
|
| Reporter: |
Ben Gunter
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
I did something admittedly dumb and created a <stripes:form> without setting either the binding or action attributes on the tag. This resulted in Stripes calling ServletRequest.getAttribute() with a null argument, which threw a NPE at FormTag.java, line 305. I had to look at the source code to figure out what was wrong. Stripes should check for this condition and throw a more informative exception if it occurs.
|
|
Description
|
I did something admittedly dumb and created a <stripes:form> without setting either the binding or action attributes on the tag. This resulted in Stripes calling ServletRequest.getAttribute() with a null argument, which threw a NPE at FormTag.java, line 305. I had to look at the source code to figure out what was wrong. Stripes should check for this condition and throw a more informative exception if it occurs.
|
Show » |
|
|