New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 #308
Comments
Thanks for the report. I haven't tried Java 10 yet, and I haven't encountered this before. ROBOT does not use Guice directly, but we import OWLAPI which does. Here's a relevant OWLAPI issue: owlcs/owlapi#652 Can you tell whether the error is coming from OWLAPI (which we import) or from ROBOT proper? |
Hard to tell without digging further. Added some verbose output, but am not smart enough decode....
Here's a section of compilation:
|
Thanks. Unfortunately I can't decipher it either. 😄 Maybe it will make more sense to someone else. I still suspect that this is a problem with OWLAPI rather than ROBOT. |
It's a problem with Guice. It looks like they fixed it for Guice 4.2 (google/guice@d95c8c0), but I guess OWLAPI hasn't updated? I just checked their |
It looks like OWLAPI will move away from Guice: @CooperStansbury Do you get similar errors when running Protégé 5 with Java 10? |
Strangely, no.
Running Protege 5.2.0
Java 10.0.1
…On Tue, Jul 24, 2018 at 7:59 AM James A. Overton ***@***.***> wrote:
It looks like OWLAPI will move away from Guice:
owlcs/owlapi#775 <owlcs/owlapi#775>
@CooperStansbury <https://github.com/CooperStansbury> Do you get similar
errors when running Protégé 5 with Java 10?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#308 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AiJ2Hd8mfFm3U_jPsd9-YYSThp17maJAks5uJwwvgaJpZM4Up9fH>
.
--
Cooper M. Stansbury
University of Michigan - Dearborn
College of Engineering and Computer Science
M.S. Data Science Candidate
(734) 274-1053
|
We just tried six versions of the JDK with our continuous integration system #318. All six passed https://travis-ci.org/ontodev/robot/builds/407624154, including @CooperStansbury Can you please try to reproduce the problem with Java 10.0.2 ? |
Problem persists running 10.0.2 on Debian.
…On Tue, Jul 24, 2018 at 10:12 AM James A. Overton ***@***.***> wrote:
We just tried six versions of the JDK with our continuous integration
system #318 <#318>. All six passed
https://travis-ci.org/ontodev/robot/builds/407624154, including
oraclejdk10 with Oracle Java 10.0.2
https://travis-ci.org/ontodev/robot/jobs/407624157.
@CooperStansbury <https://github.com/CooperStansbury> Can you please try
to reproduce the problem with Java 10.0.2 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#308 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AiJ2HRjRtL5j8XiUj27aRzNy9CF0LeXCks5uJytOgaJpZM4Up9fH>
.
--
Cooper M. Stansbury
University of Michigan - Dearborn
College of Engineering and Computer Science
M.S. Data Science Candidate
(734) 274-1053
|
Well at least we're eliminating some possibilities. My next idea is to change ROBOT https://github.com/ontodev/robot/blob/master/pom.xml and upgrade @CooperStansbury If you have the time and inclination to test that, it would be very helpful. @rctauber and I are struggling with some deadlines. If not, no problem, we'll get to it as soon as we can. |
Updated owlapi-distribution from 4.2.6 to 4.2.8 pom.xml locally and rebuilt
with mvn.
The illegal reflective access error is thrown during the tests regardless
of which owlapi-distribution is chosen.
I'll have time to prod around a little more next week.
…On Wed, Jul 25, 2018 at 7:44 AM James A. Overton ***@***.***> wrote:
Well at least we're eliminating some possibilities.
My next idea is to change ROBOT
https://github.com/ontodev/robot/blob/master/pom.xml and upgrade
owlapi-distribution from 4.2.6 to 4.2.8, which would match Protégé
https://github.com/protegeproject/protege/blob/master/pom.xml.
@CooperStansbury <https://github.com/CooperStansbury> If you have the
time and inclination to test that, it would be very helpful. @rctauber
<https://github.com/rctauber> and I are struggling with some deadlines.
If not, no problem, we'll get to it as soon as we can.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#308 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AiJ2HeNGRmq1WBJ4pGqRD9hQDK68w-zAks5uKFowgaJpZM4Up9fH>
.
--
Cooper M. Stansbury
University of Michigan - Dearborn
College of Engineering and Computer Science
M.S. Data Science Candidate
(734) 274-1053
|
The Guice dependency has been removed from OWLAPI 5.1.6 and 4.5.4. To minimize compatibility problems, we've been trying to keep ROBOT's OWLAPI dependency in sync with the latest Protégé release. That said, I don't expect that upgrading ROBOT to 4.5.4 would cause any problems. |
We have updated to OWLAPI 4.5.6. If this issue persists, please re-open. |
robot throws illegal reflective access message when run using the following java installation on Darwin:
My system config:
17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64
The full warning message below. See a similar known issue with recent activity 1133
The message does not cause robot operation to exit, or fail to execute. I silenced the message by adding a VM option to the shell script.
The text was updated successfully, but these errors were encountered: