[ https://issues.apache.org/jira/browse/OLINGO-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Challen updated OLINGO-401: --------------------------- Description: those @Override don't cause issue in maven build or at runtime, however, the errors they bring to eclipse debugger prevent user from debugging the application. InvocationTargetException.<init>(Throwable) line: 72 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43 Method.invoke(Object, Object...) line: 606 EntityContainerInvocationHandler(AbstractInvocationHandler).invokeSelfMethod(Method, Object[]) line: 92 EntityContainerInvocationHandler.invoke(Object, Method, Object[]) line: 93 $Proxy5.newEntityInstance(Class) line: not available =========== java.lang.Error: Unresolved compilation problems: The method load() of type Message must override a superclass method The method loadAsync() of type Message must override a superclass method The method refs() of type Message must override a superclass method The method expand(String...) of type Message must override a superclass method The method select(String...) of type Message must override a superclass method The method operations() of type Message must override a superclass method =========== public interface Message ... { ... @Override Message load(); ... } =========== the fix is to remove @override on the load/loadAsync/refs/select/expand/operations methods was: those @Override don't cause issue in maven build or at runtime, however, the errors they bring to eclipse debugger prevent user from debugging the application. InvocationTargetException.<init>(Throwable) line: 72 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43 Method.invoke(Object, Object...) line: 606 EntityContainerInvocationHandler(AbstractInvocationHandler).invokeSelfMethod(Method, Object[]) line: 92 EntityContainerInvocationHandler.invoke(Object, Method, Object[]) line: 93 $Proxy5.newEntityInstance(Class) line: not available =========== java.lang.Error: Unresolved compilation problems: The method load() of type Message must override a superclass method The method loadAsync() of type Message must override a superclass method The method refs() of type Message must override a superclass method The method expand(String...) of type Message must override a superclass method The method select(String...) of type Message must override a superclass method The method operations() of type Message must override a superclass method =========== public interface Message ... { ... @Override Message load(); ... } > java proxy code - @Override causes errors in eclipse debugger > -------------------------------------------------------------- > > Key: OLINGO-401 > URL: https://issues.apache.org/jira/browse/OLINGO-401 > Project: Olingo > Issue Type: Bug > Components: odata4-client > Affects Versions: V4 4.0.0-beta-01 > Reporter: Challen > > those @Override don't cause issue in maven build or at runtime, however, the > errors they bring to eclipse debugger prevent user from debugging the > application. > InvocationTargetException.<init>(Throwable) line: 72 > NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not > available [native method] > NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57 > DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43 > Method.invoke(Object, Object...) line: 606 > EntityContainerInvocationHandler(AbstractInvocationHandler).invokeSelfMethod(Method, > Object[]) line: 92 > EntityContainerInvocationHandler.invoke(Object, Method, Object[]) line: 93 > $Proxy5.newEntityInstance(Class) line: not available > =========== > java.lang.Error: Unresolved compilation problems: > The method load() of type Message must override a superclass method > The method loadAsync() of type Message must override a superclass method > The method refs() of type Message must override a superclass method > The method expand(String...) of type Message must override a superclass > method > The method select(String...) of type Message must override a superclass > method > The method operations() of type Message must override a superclass > method > =========== > public interface Message ... > { ... > @Override > Message load(); > ... > } > =========== > the fix is to remove @override on the > load/loadAsync/refs/select/expand/operations methods -- This message was sent by Atlassian JIRA (v6.2#6252)