[hibernate-issues] [JIRA] (HHH-13920) Hibernate doesn't support JPMS module-info class

P (JIRA) jira at hibernate.atlassian.net
Tue Mar 31 19:57:51 EDT 2020


P ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aed8a9f32-e1de-429d-b17a-fb86b807af6d ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5MWRiNDNmMmJjZGU0NjM1ZTNmZjMxNTEiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13920?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5MWRiNDNmMmJjZGU0NjM1ZTNmZjMxNTEiLCJwIjoiaiJ9 ) HHH-13920 ( https://hibernate.atlassian.net/browse/HHH-13920?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5MWRiNDNmMmJjZGU0NjM1ZTNmZjMxNTEiLCJwIjoiaiJ9 ) Hibernate doesn't support JPMS module-info class ( https://hibernate.atlassian.net/browse/HHH-13920?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5MWRiNDNmMmJjZGU0NjM1ZTNmZjMxNTEiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 6.0.0.Alpha4 Assignee: Unassigned Components: hibernate-core Created: 31/Mar/2020 16:57 PM Priority: Major Reporter: P ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aed8a9f32-e1de-429d-b17a-fb86b807af6d )

I get this exception:

Caused by: java.lang.NullPointerException
	at org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler.toClassDescriptor(ClassFileArchiveEntryHandler.java:84) ~[?:?]
	at org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler.toClassDescriptor(ClassFileArchiveEntryHandler.java:67) ~[?:?]
	at org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler.handleEntry(ClassFileArchiveEntryHandler.java:53) ~[?:?]
	at org.hibernate.boot.archive.internal.JarFileBasedArchiveDescriptor.visitArchive(JarFileBasedArchiveDescriptor.java:147) ~[?:?]
	at org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.scan(AbstractScannerImpl.java:47) ~[?:?]

Using debugger I found out that this happens when `module-info.class` entry is worked. So, it is necessary to skip entry if it is `module-info.class`.

( https://hibernate.atlassian.net/browse/HHH-13920#add-comment?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5MWRiNDNmMmJjZGU0NjM1ZTNmZjMxNTEiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13920#add-comment?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5MWRiNDNmMmJjZGU0NjM1ZTNmZjMxNTEiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100123- sha1:a8fd8fd )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200331/83782a00/attachment.html 


More information about the hibernate-issues mailing list