Skip to content

Illegal file annotation type #2777

@psychelzh

Description

@psychelzh

JabRef 4.0.0-beta
Windows 10 10.0 amd64
Java 1.8.0_131

There happened to strange behavior when click on some group.

image

Paste your log details here.

Detail information:
Opening: D:\git\JabRefBibs\MyFullResearch.bib
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Uncaught exception Occurred in Thread[AWT-EventQueue-0,6,main]
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: No enum constant org.jabref.model.pdf.FileAnnotationType.INK
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2217)
	at com.google.common.cache.LocalCache.get(LocalCache.java:4154)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153)
	at org.jabref.logic.pdf.FileAnnotationCache.getFromCache(FileAnnotationCache.java:43)
	at org.jabref.gui.entryeditor.FileAnnotationTab.addAnnotations(FileAnnotationTab.java:110)
	at org.jabref.gui.entryeditor.FileAnnotationTab.initializeTab(FileAnnotationTab.java:89)
	at org.jabref.gui.entryeditor.EntryEditor$TabListener.lambda$stateChanged$0(EntryEditor.java:1163)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: No enum constant org.jabref.model.pdf.FileAnnotationType.INK
	at java.lang.Enum.valueOf(Unknown Source)
	at org.jabref.model.pdf.FileAnnotationType.valueOf(FileAnnotationType.java:4)
	at org.jabref.model.pdf.FileAnnotation.<init>(FileAnnotation.java:54)
	at org.jabref.logic.pdf.PdfAnnotationImporter.importAnnotations(PdfAnnotationImporter.java:61)
	at org.jabref.logic.pdf.EntryAnnotationImporter.lambda$importAnnotationsFromFiles$2(EntryAnnotationImporter.java:60)
	at java.util.Optional.ifPresent(Unknown Source)
	at org.jabref.logic.pdf.EntryAnnotationImporter.importAnnotationsFromFiles(EntryAnnotationImporter.java:60)
	at org.jabref.logic.pdf.FileAnnotationCache$1.load(FileAnnotationCache.java:30)
	at org.jabref.logic.pdf.FileAnnotationCache$1.load(FileAnnotationCache.java:27)
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)
	... 22 more

Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Unable to parse stored date for field 'date' with current settings. Clear button in calender popup will not work.
Uncaught exception Occurred in Thread[AWT-EventQueue-0,6,main]
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: No enum constant org.jabref.model.pdf.FileAnnotationType.INK
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2217)
	at com.google.common.cache.LocalCache.get(LocalCache.java:4154)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153)
	at org.jabref.logic.pdf.FileAnnotationCache.getFromCache(FileAnnotationCache.java:43)
	at org.jabref.gui.entryeditor.FileAnnotationTab.addAnnotations(FileAnnotationTab.java:110)
	at org.jabref.gui.entryeditor.FileAnnotationTab.initializeTab(FileAnnotationTab.java:89)
	at org.jabref.gui.entryeditor.EntryEditor$TabListener.lambda$stateChanged$0(EntryEditor.java:1163)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: No enum constant org.jabref.model.pdf.FileAnnotationType.INK
	at java.lang.Enum.valueOf(Unknown Source)
	at org.jabref.model.pdf.FileAnnotationType.valueOf(FileAnnotationType.java:4)
	at org.jabref.model.pdf.FileAnnotation.<init>(FileAnnotation.java:54)
	at org.jabref.logic.pdf.PdfAnnotationImporter.importAnnotations(PdfAnnotationImporter.java:61)
	at org.jabref.logic.pdf.EntryAnnotationImporter.lambda$importAnnotationsFromFiles$2(EntryAnnotationImporter.java:60)
	at java.util.Optional.ifPresent(Unknown Source)
	at org.jabref.logic.pdf.EntryAnnotationImporter.importAnnotationsFromFiles(EntryAnnotationImporter.java:60)
	at org.jabref.logic.pdf.FileAnnotationCache$1.load(FileAnnotationCache.java:30)
	at org.jabref.logic.pdf.FileAnnotationCache$1.load(FileAnnotationCache.java:27)
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)
	... 22 more

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions