-
Support Patch
-
Resolution: Done
-
Major
-
1.1.GA
-
None
-
None
I got this:
java.lang.NullPointerException
at org.jboss.resteasy.core.PathParamInjector.inject(PathParamInjector.java:74)
at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:93)
Caused by typo:
@Path("order-
")
public JAXRSOrder get(@PathParam("order_oid") long order_oid) {
I suggest a patch like this could help:
PathParamInjector.java:68
else
{
List<String> list = request.getUri().getPathParameters(!encode).get(paramName);
+ if(list==null) throw new InternalServerErrorException("No such parameter as '" + paramName'");
if (extractor.isCollectionOrArray())