ポートレットを収容する WebSphere Portal サーバーがあります。ポートレットは、WAS で実行されている ejbs へのリモート呼び出しを行います。ポータル サーバーと WAS の両方がローカル マシンで実行されています。WAS は正常に起動しますが、ポータル サーバーを起動しようとすると、次のエラーがスローされます。
nested exception is: java.lang.NullPointerException at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
春にソースを調べると、メソッド定義が見つかりました:
public PropertyValues postProcessPropertyValues(
PropertyValues pvs, PropertyDescriptor[] pds, Object bean, String beanName) throws BeansException {
InjectionMetadata metadata = findAutowiringMetadata(bean.getClass());
try {
metadata.injectMethods(bean, beanName, pvs);
}
catch (Throwable ex) {
throw new BeanCreationException(beanName, "Autowiring of methods failed", ex);
}
return pvs;
}
エラーは私のコードではなくSpringソースコードにあるため、どのようにデバッグを開始すればよいですか?