- IProfileRegistry registry = (IProfileRegistry) agent.getService(IProfileRegistry.SERVICE_NAME);
- IProfile selfProfile = registry.getProfile(IProfileRegistry.SELF);
Collection of notes on common problems and issues I faced while doing day to day programming
IProfileRegistry registry = (IProfileRegistry) agent.getService(IProfileRegistry.SERVICE_NAME);This forum post was a big help in resolving this issue. I wish the exception I was getting was more verbose as it seems the only fix for it is to check that checkbox.
IProfile selfProfile = registry.getProfile(IProfileRegistry.SELF);
No comments:
Post a Comment