Aquileo | Recent changes to bugshttps://sourceforge.net/p/nite/bugs/2014-08-19T12:30:17.847000ZRecent changes to bugsAquileo | Resource bug exposed by MultiAnnotatorDisplay2014-08-19T12:30:17.847000Z2014-08-19T12:30:17.847000ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.netc9a4ddcec57e694502f7f217284f837093c94b0e<div class="markdown_content"><p>MultiAnnotatorDisplay fails with errors if the multi-annotated layer points to an ontology that ontology is not loaded resulting in many complaints about inability to resolve links. Following the reliability example at <a href="http://groups.inf.ed.ac.uk/nxt/nxtdoc/docreliability.xml" rel="nofollow">http://groups.inf.ed.ac.uk/nxt/nxtdoc/docreliability.xml</a> for example will fail.</p></div>Aquileo | NTranscriptionView incompatible with new Java version2012-10-18T18:34:21Z2012-10-18T18:34:21ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.netd0f26675bdfcb0f89d3fffd7c467e1540c9b7656<div class="markdown_content"><p>Use of TreeSet in NTranscriptionView where the comparator is not defined causes a ClassCastError. That's because if the comparator is not defined, TreeSet assumes the elements you add will implement Comparable, but gui.transcriptionviewer.DefaultTransToAnnoMap does not. As far as I can see in those cases we could be using HashSet (and on a very quick test it looks OK and fixed the bug), but it needs more work to confirm. This has only manifested on Win7 systems, but I don't think that's the issue. Here's the exception:</p>
<p>java.lang.reflect.InvocationTargetException<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />
at java.lang.reflect.Method.invoke(Unknown Source)<br />
at net.sourceforge.nite.nxt.GUI$RunProg.run(Unknown Source)<br />
at java.lang.Thread.run(Unknown Source)<br />
Caused by: java.lang.ClassCastException:<br />
net.sourceforge.nite.gui.transcriptionviewer.DefaultTransToAnnoMap cannot be cast to java.lang.Comparable<br />
at java.util.TreeMap.compare(Unknown Source)<br />
at java.util.TreeSet.add(Unknown Source)<br />
at net.sourceforge.nite.gui.transcriptionviewer.NTranscriptionView.<init>(Unknown Source)<br />
at net.sourceforge.nite.gui.util.AbstractCallableTool.setupTranscriptionView(Unknown Source)</p></div>Aquileo | Element name oddness2012-10-17T10:59:18Z2012-10-17T10:59:18ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.netf0931573c6a853c6ac16ab478ea862d59103bd31<div class="markdown_content"><p>The query language breaks when you have elements named "e"! I've not found any other eelement names that cause problems but a query like<br />
($e e) will give you a syntax error in spite of being perfectly valid. Thanks to Ian Hughson for finding!</p></div>Aquileo | Layer type error2012-06-26T17:04:11Z2012-06-26T17:04:11ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.net975c4b4d316de271238e111097f33c400f359569<div class="markdown_content"><p>If a structural layer appears in a hierarchy *below* a time-aligned layer, its layer type is TIMED instead of STRUCTURAL.</p>
<p>There is a workaround of setting the inherits-time attribute of the layer to be false, though that is rather counter-intuitive.</p>
<p>Should return structural unless the structural layer has children from which it can inherit.</p></div>Aquileo | some loads can fail when multiple observations are loaded2011-09-26T15:51:32Z2011-09-26T15:51:32ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.net09c3d1489fb3b6c92899f9e0acade09b3b5ef914<div class="markdown_content"><p>Some checks for loading related layers are insufficient to deal with the case where multiple observations are loaded at once - for certain types of load the fact a layer is loaded is not recorded along with the observation name, so the layer will only be loaded for one of the multiple observations.</p>
<p>Error occurs in loadRequestedChildren and loadRequestedParent only.</p></div>Aquileo | Time propagation fails in certain cases2011-09-16T16:55:58Z2011-09-16T16:55:58ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.net346bda57d33e8238a92cf4d08eb84db42f324033<div class="markdown_content"><p>If a time-aligned layer has already propagated its times to a parent (structural) layer, a subsequent load of any ancestor of the parent layer will never have timings propagated to it. </p></div>Aquileo | NTextArea clearing bug2011-05-26T16:55:42Z2011-05-26T16:55:42ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.net9abcb8e7ee2c41dd0e735b632a00f7c1788af10d<div class="markdown_content"><p>Using the clear method to clear an NTextArea works, but using setText("") can cause exceptions:<br />
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: <br />
Attempt to mutate in notification<br />
at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1323)<br />
at javax.swing.text.DefaultStyledDocument.setCharacterAttributes(DefaultStyledDocument.java:348)<br />
at net.sourceforge.nite.gui.textviewer.NTextArea.removeStyleFromChain(Unknown Source)<br />
at net.sourceforge.nite.gui.textviewer.NTextArea.clearHighlights(UnknownSource)<br />
at net.sourceforge.nite.gui.textviewer.NTextArea.newSelection(Unknown Source)<br />
at net.sourceforge.nite.gui.textviewer.NTACaretListener.caretUpdate(Unknown Source)<br />
at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:391)<br />
at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4387)<br />
at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4409)<br />
at javax.swing.text.DefaultCaret.fireStateChanged(DefaultCaret.java:782)<br />
at javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1257)<br />
at javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:1153)<br />
at javax.swing.text.DefaultCaret.setDot(DefaultCaret.java:1134)<br />
at javax.swing.text.DefaultCaret$Handler.removeUpdate(DefaultCaret.java:1777)<br />
at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243)<br />
at javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:608)<br />
at javax.swing.text.AbstractDocument.remove(AbstractDocument.java:576)<br />
at javax.swing.JEditorPane.setText(JEditorPane.java:1493)<br />
at nxtAnnotation.AccuracyAnnotator$MimickingStatusDisplayComponent.update(AccuracyAnnotator.java:477)<br />
at nxtAnnotation.AccuracyAnnotator$MimickingStatusDisplayComponent.setCycleByChildren(AccuracyAnnotator.java:472)<br />
at nxtAnnotation.AccuracyAnnotator$3.selectionChanged(AccuracyAnnotator.java:216)<br />
at net.sourceforge.nite.gui.textviewer.NTextArea.notifyNTASelectionListeners(Unknown Source)<br />
at net.sourceforge.nite.gui.textviewer.NTextArea.newSelection(Unknown Source)<br />
at net.sourceforge.nite.gui.textviewer.NTACaretListener.caretUpdate(Unknown Source)<br />
at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:391)<br />
at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4387)<br />
at javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:4443)<br />
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)<br />
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)<br />
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)<br />
at java.awt.Component.processMouseEvent(Component.java:6289)<br />
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)<br />
...</p></div>Aquileo | media rate slider does not work2011-01-31T16:44:09Z2011-01-31T16:44:09ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.netb2232cf932c9a10e4b7eecc8349a76d170d35a08<div class="markdown_content"><p>In most cases and on most platforms the rate slider on the NITE Clock inteface actually has no effect on the replay speed of the media. Worse than that, it's only on the Mac platform where FMJ is used that an explicit error message is printed (only on teh console) when you try to set the rate: FMJ does not support rate changes. Investigate the problem to see if it can be solved and at the very least grey out the slider and/or give errors if rate changes will have no effect.</p></div>Aquileo | Ctrl-right-click while playing causes problems2011-01-17T16:28:54Z2011-01-17T16:28:54ZJonathan Kilgourhttps://sourceforge.net/u/jonathankil/https://sourceforge.net7be70f7db3a04ef9021e74446b072f47c755bb3a<div class="markdown_content"><p>In any interface that shows media, ctrl-right-click to play a single utterance causes a problem if the media is already playing: the media player does not stop at the end of the selected utterance, and in fact can then not be stopped at all.</p></div>Aquileo | "Bad version number in .class file" when starting GUI on OSX2010-11-01T17:52:06Z2010-11-01T17:52:06ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.net931bbf28478aab1ca85fde1eed6be634d17641bd<div class="markdown_content"><p>The following terminal transcript illustrates the problem:</p>
<p>[max@radon:~/Downloads/nxt_1.4.4]$ java -version<br />
java version "1.5.0_26"<br />
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_26-b03-376-9M3263)<br />
Java HotSpot(TM) Client VM (build 1.5.0_26-156, mixed mode)<br />
[max@radon:~/Downloads/nxt_1.4.4]$ ./NXT-start-GUI.command<br />
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file<br />
at java.lang.ClassLoader.defineClass1(Native Method)<br />
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)<br />
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)<br />
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)<br />
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)<br />
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)<br />
at java.security.AccessController.doPrivileged(Native Method)<br />
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)<br />
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)<br />
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)</p>
<p>You can see that I have java 1.5.0_26 installed, which I believe is the most current version provided by Apple for OS X. The NXT readme file states that Java 1.4.2_05 should be sufficient to run the tools. Nonetheless, you can see that I am getting an UnsupportedClassVersionError exception, which I believe usually means that the class file was compiled with a newer java version than that of the VM trying to execute it. This occurs regardless of which java invocation I use in the .command file.</p></div>