Here's how to reproduce it:
firstImport.xml
Code:
<int-stream:stdin-channel-adapter channel="channel1">
<int:poller>
<int:interval-trigger interval="1000" />
</int:poller>
</int-stream:stdin-channel-adapter>
<int:channel id="channel1" />
<int:service-activator input-channel="channel1" output-channel="channel2">
<bean parent="myService" />
</int:service-activator>
<int:channel id="channel2" />
<int-stream:stdout-channel-adapter channel="channel2" />
secondImport.xml
Code:
<bean id="myService" class="test.RandomService" abstract="true" />
TestClass.java
Code:
public static void main(String[] args) throws Exception {
new ClassPathXmlApplicationContext("firstImport.xml","secondImport.xml");
}
Note 1: if you replace "channel2" with "nullChannel", the exception doesn't appear.
Note 2: the exception only appears with a logger configured at the DEBUG level.
Note 3: in spite of the exception, the application works fine.