Bugs item #647648, was opened at 2002-12-02 23:50 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=647648&group_id=22866
>Category: JBossMX Group: v3.2 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Dorothy Gantenbein (dgantenbein) Assigned to: Scott M Stark (starksm) Summary: IllegalAccessException w/ 3.2 Beta 2 Initial Comment: We are working on upgrading from 3.2Beta1 to 3.2Beta2. Our automated test suites triggers the IllegalAcessException errors which did not occur with Beta1. Our environment is Windows XP, JBoss 3.2Beta2, Sun JDK 1.4.0_01-b03. I cannot give you a small test case but attached is the UCL.log. If you need me to try any bug fixes or any other info, please feel free to contact me at [EMAIL PROTECTED] Thanks... Dorothy ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2002-12-20 13:15 Message: Logged In: YES user_id=175228 The two classes in question are TaskQueueRequestAction and TaskItem as TaskQueueRequestAction is calling the package private TaskItem.activate. The ucl.log shows that TaskQueueRequestAction was loaded by the class loader associated with infra.ear/infra.sar while TaskItem was loaded by the class loader associated with infra.ear/infra-client.jar. I'm putting out a fix for this for testing in a beta3 release of 3.2.0 today. ---------------------------------------------------------------------- Comment By: Dorothy Gantenbein (dgantenbein) Date: 2002-12-16 22:55 Message: Logged In: YES user_id=328249 Ran a new test run to generate a new ucl1.zip. The main class is com.informative.infra.enterprise.event.TaskItem. The test class is com.informative.infra.enterprise.event.TaskItemTest. Here is the top of the error stacktrace. java.lang.IllegalAccessError: try to access method com.informative.infra.enterprise.event.TaskItem.activate()V from class com.informative.infra.enterprise.event.TaskQueueRequestActi on at com.informative.infra.enterprise.event.TaskQueueRequestActi on.run(TaskQueueRequestAction.java:27) at com.informative.infra.enterprise.event.ReplicatedCacheManag er$SyncAction.run(ReplicatedCacheManager.java:232) at com.informative.infra.enterprise.event.ReplicatedCacheManag er.runSynchronizedTask(ReplicatedCacheManager.java:177) at com.informative.infra.enterprise.event.TaskQueueData.request NextTask(TaskQueueData.java:95) at com.informative.infra.enterprise.event.TaskQueue.requestNext Task(TaskQueue.java:79) at com.informative.infra.enterprise.event.TaskItemTest.testActiva tedCompleted(TaskItemTest.java:84) ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2002-12-16 14:14 Message: Logged In: YES user_id=175228 This looks to be essentially a duplicate of the 3.0 bug 644289. IllegalAccessExceptions don't show up in the ucl.log so what are the two classes in this particular example that correspond to Foo and FooTest? ---------------------------------------------------------------------- Comment By: Dorothy Gantenbein (dgantenbein) Date: 2002-12-05 16:20 Message: Logged In: YES user_id=328249 After more experimentation, the problem occurs referencing a protected method from the same package but from a different source directory. Assume the following directory structure. src/com/informative/Foo.java test/com/informative/FooTest.java Both, Foo and FooTest are in the same package. The class, Foo, has a protected method 'doSomething'. When FooTest invokes 'Foo.doSomething'. The IllegalAccessException occurs. Changing 'Foo.doSomething' works around the problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=647648&group_id=22866 ------------------------------------------------------- This SF.NET email is sponsored by: The Best Geek Holiday Gifts! Time is running out! Thinkgeek.com has the coolest gifts for your favorite geek. Let your fingers do the typing. Visit Now. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development