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

htmlvis: can't use only "annis:BEGIN" or "annis:END" #478

Closed
thomaskrause opened this issue Dec 17, 2015 · 0 comments
Closed

htmlvis: can't use only "annis:BEGIN" or "annis:END" #478

thomaskrause opened this issue Dec 17, 2015 · 0 comments
Assignees
Labels

Comments

@thomaskrause
Copy link
Member

If there are only BEGIN or END statements in the html visualization configuration an exception is thrown:

Caused by: java.util.NoSuchElementException: null
    at java.util.TreeMap.key(TreeMap.java:1323) ~[na:1.8.0_66-internal]
    at java.util.TreeMap.firstKey(TreeMap.java:290) ~[na:1.8.0_66-internal]
    at annis.visualizers.htmlvis.HTMLVis.createHTML(HTMLVis.java:395) ~[classes/:na]
    at annis.visualizers.htmlvis.HTMLVis.createComponent(HTMLVis.java:129) ~[classes/:na]
    at annis.visualizers.htmlvis.HTMLVis.createComponent(HTMLVis.java:73) ~[classes/:na]
    at annis.gui.resultview.VisualizerPanel.createComponent(VisualizerPanel.java:292) ~[classes/:na]
    at annis.gui.resultview.VisualizerPanel.access$500(VisualizerPanel.java:86) ~[classes/:na]
    at annis.gui.resultview.VisualizerPanel$LoadComponentTask.call(VisualizerPanel.java:621) ~[classes/:na]
    at annis.gui.resultview.VisualizerPanel$LoadComponentTask.call(VisualizerPanel.java:612) ~[classes/:na]
@thomaskrause thomaskrause self-assigned this Dec 17, 2015
@thomaskrause thomaskrause added this to the 3.4.0-preview10 milestone Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant