Using java-14: Target Invocation Exception: java.lang.NoSuchMethodError

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Using java-14: Target Invocation Exception: java.lang.NoSuchMethodError

Andreas Joseph Krogh-2
Hi all, starting EL with Java-14 results in this:
 
Exception [EclipseLink-168] (Eclipse Persistence Services - 2.7.6.v20200131-b7c997804f): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Problem in creating new instance using the default constructor.  The default constructor triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.NoSuchMethodError: 'void no.officenet.origo.core.domain.model.milestone.Milestone._persistence_checkFetched(java.lang.String)'
Descriptor: RelationalDescriptor(no.officenet.origo.core.domain.model.milestone.Milestone --> [DatabaseTable(onp_crm_entity), DatabaseTable(origo_project_milestone)])

 
 
Is the any activity around releasing a new version of EL with updated ASM-support for Java-14?
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963

_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: Using java-14: Target Invocation Exception: java.lang.NoSuchMethodError

Jody Grassel
Eclipselink 2.7.6 shipped with ASM 7.2, for JDK 14 support.  Can you provide more information about the failure (or even better, a sample that reproduces it)?

On Tue, Apr 28, 2020 at 2:16 AM Andreas Joseph Krogh <[hidden email]> wrote:
Hi all, starting EL with Java-14 results in this:
 
Exception [EclipseLink-168] (Eclipse Persistence Services - 2.7.6.v20200131-b7c997804f): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Problem in creating new instance using the default constructor.  The default constructor triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.NoSuchMethodError: 'void no.officenet.origo.core.domain.model.milestone.Milestone._persistence_checkFetched(java.lang.String)'
Descriptor: RelationalDescriptor(no.officenet.origo.core.domain.model.milestone.Milestone --> [DatabaseTable(onp_crm_entity), DatabaseTable(origo_project_milestone)])

 
 
Is the any activity around releasing a new version of EL with updated ASM-support for Java-14?
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users

_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: Using java-14: Target Invocation Exception: java.lang.NoSuchMethodError

Andreas Joseph Krogh-2
På tirsdag 28. april 2020 kl. 16:39:13, skrev Jody Grassel <[hidden email]>:
Eclipselink 2.7.6 shipped with ASM 7.2, for JDK 14 support.  Can you provide more information about the failure (or even better, a sample that reproduces it)?
 
Ah, so it's supposed to work, great!
 
I'll try to make a sample-project reproducing the issue.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 

_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: Using java-14: Target Invocation Exception: java.lang.NoSuchMethodError

Lukas Jungmann
On 4/28/20 7:14 PM, Andreas Joseph Krogh wrote:
> På tirsdag 28. april 2020 kl. 16:39:13, skrev Jody Grassel
> <[hidden email] <mailto:[hidden email]>>:
>
>     Eclipselink 2.7.6 shipped with ASM 7.2, for JDK 14 support.  Can you
>     provide more information about the failure (or even better, a sample
>     that reproduces it)?
>
> Ah, so it's supposed to work, great!
> I'll try to make a sample-project reproducing the issue.

Do you use records by any chance? We may need asm 8 (8.0.1 is the
latest) for that...

thanks,
--lukas

> --
> *Andreas Joseph Krogh*
> CTO / Partner - Visena AS
> Mobile: +47 909 56 963
> [hidden email] <mailto:[hidden email]>
> www.visena.com <https://www.visena.com>
> <https://www.visena.com>
>
> _______________________________________________
> eclipselink-users mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
>
_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: Using java-14: Target Invocation Exception: java.lang.NoSuchMethodError

Andreas Joseph Krogh-2
På torsdag 30. april 2020 kl. 14:06:51, skrev Lukas Jungmann <[hidden email]>:
On 4/28/20 7:14 PM, Andreas Joseph Krogh wrote:
> På tirsdag 28. april 2020 kl. 16:39:13, skrev Jody Grassel
> <[hidden email] <mailto:[hidden email]>>:
>
>     Eclipselink 2.7.6 shipped with ASM 7.2, for JDK 14 support.  Can you
>     provide more information about the failure (or even better, a sample
>     that reproduces it)?
>
> Ah, so it's supposed to work, great!
> I'll try to make a sample-project reproducing the issue.

Do you use records by any chance? We may need asm 8 (8.0.1 is the
latest) for that...
 
No records or any other "Java-fancy" features. (We use Scala though, but it works fine with Java-13).
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 

_______________________________________________
eclipselink-users mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users