My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 8: NPE in ViewBinderGenerator.validateViewInterface
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2010


 
Project Member Reported by Alexande...@gmail.com, Sep 1, 2010
When return type is JRealClassType - m.getReturnType().isPrimitive() returns null
so "if (!m.getReturnType().isPrimitive().equals(JPrimitiveType.VOID))" produces NPE

IMHO should be 
if (m.getReturnType().isPrimitive() == null || !m.getReturnType().isPrimitive().equals(JPrimitiveType.VOID)) 
Sep 1, 2010
Project Member #1 gal.dol...@gmail.com
Thanks! Fixed.
Status: Fixed

Powered by Google Project Hosting