Addp1tx2 expectedfailedobjectsaddp2tx2

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: support.SimpleProtocolEncoderOutput.flush(SimpleProtocolEncoderOutput.java:97) at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:158) at org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWrite(AbstractIoFilterChain.java:556) at org.apache.mina.common.support.AbstractIoFilterChain.access$7(AbstractIoFilterChain.java:550) at org.apache.mina.common.support.AbstractIoFilterChain$1.filterWrite(AbstractIoFilterChain.java:773) at org.apache.mina.common.support.AbstractIoFilterChain$3.filterWrite(AbstractIoFilterChain.java:213) at org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWrite(AbstractIoFilterChain.java:556) at org.apache.mina.common.support.AbstractIoFilterChain.filterWrite(AbstractIoFilterChain.java:547) at org.apache.mina.transport.socket.nio.support.SocketSessionImpl.write0(SocketSessionImpl.java:130) at org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java:134) This exception should not be thrown in normal state. I checked the code, and its logic didn't have any problem. The possible reasons are: * Messages are being sent from multiple threads at the same time. (It can be a problem because there's no synchronization code in SimpleProtocolEncoderOutput) * User might have implemented his ProtocolEncoder to write *null* to ProtocolEncoderOutput. SimpleProtocolEncoderOutput doesn't prohibit for now. JPOX does not support implicit variables. JPOX throws an exception executing queries having implicit parameters (see below). The bug may be reproduced executing test case org.apache.jdo.tck.query.jdoql.variables.VariablesAndFields. Query: SELECT FROM org.apache.jdo.tck.pc.company.Employee WHERE team.contains(employee) & employee.firstname == 'emp1First' org.jpox.store.exceptions.NoSuchPersistentFieldException: Field "employee" does not exist in org.apache.jdo.tck.pc.company.Person or is not persistent at org.jpox.store.rdbms.table.ClassTable.getFieldMapping(ClassTa...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online