zwwcn

Just another WordPress.com site

Monthly Archives: July 2012

@In attribute requires non-null value

I got this exception even I added @In(create=true) didn’t solve the problem.

it turns out that the variable name must match the seam component name.

e.g:

@AutoCreate
@Stateful
@Scope(ScopeType.CONVERSATION)
@Name(“oneplaceGoogleSchedularAction”)
@Synchronized
public class OneplaceGoogleSchedularAction …..

———————

@In(create = true)
OneplaceGoogleSchedular oneplaceGoogleSchedularAction ;