Reply To: com.ocpsoft.pretty.PrettyException: Failed to load configuration

Splash Forums Rewrite Users com.ocpsoft.pretty.PrettyException: Failed to load configuration Reply To: com.ocpsoft.pretty.PrettyException: Failed to load configuration

#25874

zozan
Participant

Hi Lincoln. Thanks for your reply. I ran into this issue with glassfish 4.0.
line 77 in org.ocpsoft.rewrite.cdi.CdiServiceEnricher is inside produce method and not inside enrich and because the code is precompiled I cannot put a breakpoint there. However I put a breakpoint in both produce(Class<T> type) and enrich(T service) methods. Here is the debugger console:

Attaching to localhost:9009
LineBreakpoint CityLclFacade.java : 33 successfully submitted.
MethodBreakpoint [org.ocpsoft.rewrite.cdi.CdiServiceEnricher].produce '(Ljava/lang/Class;)Ljava/util/Collection;' successfully submitted.
MethodBreakpoint [org.ocpsoft.rewrite.cdi.CdiServiceEnricher].enrich '(Ljava/lang/Object;)V' successfully submitted.
User program running
Method breakpoint hit in org.ocpsoft.rewrite.cdi.CdiServiceEnricher.produce at line 43 by thread admin-listener(3).
Thread admin-listener(3) stopped at CdiServiceEnricher.java:43.

And stacktrace is the same. I stepped over CdiServiceEnricher.java lines, it went to return java.security.AccessController.doPrivileged(action, createContext(subject, currentAcc)); in Subject.java and when I stepped over that too, website started and I got the exception.