posted 15 years ago
Following is my code:
try {
TextMessage text = (TextMessage) msg;
System.out.println("Message::::" + text.getText());
Bean bean = (Bean)ServiceLocatorFactory
.singleton().getServiceLocator().lookup("ejblocal");
Response Response = Bean.
getProfileData(Request, armTransMain);
if (agencyDownloadResponse != null) {
//code
}
else {
}
} catch (Exception e) {
}
While invoking method(getProfileData) in bean, i am getting the following error:
The injection engine was unable to resolve injection object. A null reference was expected.
can anybody hlp me resolve this?