P (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMDQ0MDc2YmQ5...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-13920?atlOrigin=eyJpIjoiMDQ0MD...
) HHH-13920 (
https://hibernate.atlassian.net/browse/HHH-13920?atlOrigin=eyJpIjoiMDQ0MD...
) Hibernate doesn't support JPMS module-info class (
https://hibernate.atlassian.net/browse/HHH-13920?atlOrigin=eyJpIjoiMDQ0MD...
)
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%...
)
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=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13920#add-comment?atlOrigin=ey...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100123- sha1:a8fd8fd )