Skip to content
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

test fail with openjdk 11 #51

Open
mdoering opened this issue Sep 15, 2020 · 0 comments
Open

test fail with openjdk 11 #51

mdoering opened this issue Sep 15, 2020 · 0 comments

Comments

@mdoering
Copy link
Member

Running org.gbif.dwc.DwcaStreamWriterTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.73 sec <<< FAILURE! - in org.gbif.dwc.DwcaStreamWriterTest
write(org.gbif.dwc.DwcaStreamWriterTest)  Time elapsed: 0.463 sec  <<< ERROR!
java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile for class java/util/stream/Stream. Method 'java.util.stream.Stream of(java.lang.Object)' at index 647 is CONSTANT_MethodRef and should be CONSTANT_InterfaceMethodRef
	at org.gbif.utils.file.tabular.TabularFileMetadataExtractor.lambda$computeDelimiterHighestFrequencyPerLine$14(TabularFileMetadataExtractor.java:333)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at org.gbif.utils.file.tabular.TabularFileMetadataExtractor.computeDelimiterHighestFrequencyPerLine(TabularFileMetadataExtractor.java:334)
	at org.gbif.utils.file.tabular.TabularFileMetadataExtractor.getDelimiterChar(TabularFileMetadataExtractor.java:204)
	at org.gbif.utils.file.tabular.TabularFileMetadataExtractor.extractTabularMetadata(TabularFileMetadataExtractor.java:129)
	at org.gbif.utils.file.tabular.TabularFileMetadataExtractor.extractTabularFileMetadata(TabularFileMetadataExtractor.java:114)
	at org.gbif.dwc.InternalDwcFileFactory.fromSingleFile(InternalDwcFileFactory.java:213)
	at org.gbif.dwc.InternalDwcFileFactory.archiveFromSingleFile(InternalDwcFileFactory.java:109)
	at org.gbif.dwc.InternalDwcFileFactory.fromLocation(InternalDwcFileFactory.java:149)
	at org.gbif.dwc.DwcFiles.fromLocation(DwcFiles.java:28)
	at org.gbif.dwc.DwcaStreamWriterTest.write(DwcaStreamWriterTest.java:49)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant