Caused by: java.lang.UnsupportedOperationException: Illegal call to get the SwitchYard Exchange Context. Must be called within the scope of an Exchange Handler Chain.
at org.switchyard.component.bean.internal.context.ContextProxy.getContext(ContextProxy.java:115)
at org.switchyard.component.bean.internal.context.ContextProxy.getProperty(ContextProxy.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.weld.proxies.org$jboss$weld$serialization$ContextualStoreImpl1_$$_WeldClientProxy.getProperty(org$jboss$weld$serialization$ContextualStoreImpl1_$$_WeldClientProxy.java)
at com.example.switchyard.fileproperty.HelloBean.hello(HelloBean.java:18)
... 55 more