You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Challen (JIRA)" <ji...@apache.org> on 2014/08/13 11:43:12 UTC

[jira] [Closed] (OLINGO-401) java proxy code - @Override causes errors in eclipse debugger

     [ https://issues.apache.org/jira/browse/OLINGO-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Challen closed OLINGO-401.
--------------------------

    Assignee: Challen  (was: Michael Bolz)

thanks! "mvn clean eclipse:eclipse" works. so close it.

> 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
>            Assignee: 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)