lishunli / nutz

Automatically exported from code.google.com/p/nutz
0 stars 0 forks source link

静态方法注入时,提示不够 #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

提示不够,这个问题是我在json配置中,使用了静态方法的的配��
�:
articlDao:{
        type:'org.juqkai.juqccBlog.dao.impl.ArticleDaoImpl',
        singleton:true,
        fields:{
            pm:{java:"org.juqkai.juqcc.dao.PMF.getPm()"}
        }
    },
但是呢,org.juqkai.juqcc.dao.PMF.getPm()这个方法刚被我改成了非静��
�...所以就抛
下面的错了,但是,错误提示只说一NullPointerException,而基本就没
说明原因...导致
不好找到问题的所在.

Original issue reported on code.google.com by zkgale@gmail.com on 17 May 2010 at 2:17

Attachments:

GoogleCodeExporter commented 9 years ago
fix in r1234

JUnit: 
ChainParsingTest.test_nostatic_function()

Original comment by zozoh...@gmail.com on 17 May 2010 at 3:04