Bug #28

java.lang.IllegalAccessException on remote side when doing method.invoke

Added by Jörg Plewe about 2 years ago. Updated about 2 years ago.

Status:Assigned Start:01/08/2010
Priority:Normal Due date:
Assigned to:Jörg Plewe % Done:

0%

Category:-
Target version:0.5.4

Description

very strange

While writing a 'getting started' tutorial, I could not bring a simple 'hello world' to work while far more complex code works flawlessly the same time. Always got a IllegalAccessException on the remote side.

Following http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4533479, I used setAccessible(true) which solves the issue.

java.lang.IllegalAccessException: Class org.bundlebee.manager.impl.ManagerImpl can not access a member of class org.bundlebee.examples.hello.Hello with modifiers "public"

@todo find out why method might not be accessible

History

Updated by Philipp Haußleiter about 2 years ago

  • Target version changed from 0.5.2 to 0.5.4

Also available in: Atom PDF