#10 BeanIndexer crashes when bean's class is not configured

v1.0 (example)
open
nobody
2
2007-10-25
2007-10-25
No

If a bean of a class not configured in liusConfig.xml is passed to BeanIndexer, the program crashes with a NullPointerException.

In my opinion, a more informational exception should be thrown.

This is the stacktrace:

java.lang.NullPointerException
at lius.index.javaobject.BeanIndexer.getPopulatedLiusFields(BeanIndexer.java:71)

Discussion

    • priority: 5 --> 2