This testcase is not valid. You cannot expect to serialize a CDI bean instance in one application and then deserialize it in another one (in this case the name of the deployment is different).
Although, what do you mean by "The reason is that BackedAnnotatedMemberSerializationProxy.type is null, because the type is not yet known to the container." ?? If you try to use Weld before giving it a chance to initialize (before it knows all the types) you cannot really expect it to work reliably. I am going to improve error reporting to prevent the NPE, though.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
This testcase is not valid. You cannot expect to serialize a CDI bean instance in one application and then deserialize it in another one (in this case the name of the deployment is different).
Although, what do you mean by "The reason is that BackedAnnotatedMemberSerializationProxy.type is null, because the type is not yet known to the container." ?? If you try to use Weld before giving it a chance to initialize (before it knows all the types) you cannot really expect it to work reliably. I am going to improve error reporting to prevent the NPE, though.