Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#583 [jcr] invoke(args=null) triggers NPE

v1.7.x
open
John Mettraux
jcr (7)
6
2006-11-09
2006-11-09
John Mettraux
No

when there are no args, args can be an empty array or null

Discussion

  • John Mettraux
    John Mettraux
    2006-11-10

    Logged In: YES
    user_id=171878

    Evolved into :

    Exception in thread "main" openwfe.org.jcr.JcrException:
    call to method
    setProperty() failed
    at
    openwfe.org.jcr.JcrProxy$SameMethodNameProxy.invoke(JcrProxy.java:197)
    at $Proxy0.setProperty(Unknown Source)
    at
    openwfe.org.jcr.beancoder.JcrBeanCoder.beginWithClass(JcrBeanCoder.java:585)
    at
    openwfe.org.jcr.beancoder.JcrBeanCoder.beginBean(JcrBeanCoder.java:559)
    at
    openwfe.org.util.beancoder.AbstractBeanCoder.encodeBean(AbstractBeanCoder.java:418)
    at
    openwfe.org.util.beancoder.AbstractBeanCoder.encode(AbstractBeanCoder.java:201)
    at
    openwfe.org.jcr.beancoder.JcrBeanCoder.encode(JcrBeanCoder.java:496)
    at
    openwfe.org.jcr.beancoder.JcrBeanCoder.encode(JcrBeanCoder.java:835)
    at
    openwfe.org.jcr.beancoder.JcrBeanCoder.encode(JcrBeanCoder.java:816)
    at
    com.radientedge.test.StoreObject.run(StoreObject.java:32)
    at
    com.radientedge.test.StoreObject.main(StoreObject.java:16)
    Caused by: java.lang.IllegalArgumentException: argument type
    mismatch
    at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    openwfe.org.jcr.JcrProxy$SameMethodNameProxy.invoke(JcrProxy.java:184)
    ... 10 more