1
0
-1

Hi All, 

I am working on some Fluent services in Intelij, Everything is working as expected despite the debugging part. 

I have followed the instructions in Debugging Guide, and after I click debug on UnitTest I am receiving an exception : 


java.lang.IllegalStateException: Current thread has no bound ObjectContext


The code which is raising the exception is in BaseContext class  -  apache cayenne: 

public static ObjectContext getThreadObjectContext() throws IllegalStateException {
ObjectContext context = (ObjectContext)threadObjectContext.get();
if (context == null) {
throw new IllegalStateException("Current thread has no bound ObjectContext.");
} else {
return context;
}
}


Am I missing some configuration item in IDE? 


    CommentAdd your comment...