You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Sodel Vazquez-Reyes <S....@postgrad.manchester.ac.uk> on 2007/07/08 13:53:24 UTC

UIMA and Windows Vista

I am using UIMA with Windows Vista, for this, reason, I am wondering if the
operating system is the cause of my problems.
Java 1.5.0_10
Eclipse 3.2.2
PlugIn Eclipse Modeling Framework v200702131851

I have executed the script UIMA_HOME/bin/adjustExamplePaths.bat, to update the
paths in the examples based on my UIMA_HOME directory path.

However, when I have executed the documentAnalyzer.bat, I have problems:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3184
        at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.
java:748)
        at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.j
ava:248)
        at sun.awt.shell.ShellFolder.get(ShellFolder.java:221)
        at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.cr
eateValue(WindowsLookAndFeel.java:1873)
        at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185)

could you send me tips in order to fix it?

Regards, Sodel.



-- 
Sodel Vazquez-Reyes
School of Informatics
The University of Manchester
E-mail: s.vazquez-reyes@postgrad.manchester.ac.uk

Re: UIMA and Windows Vista

Posted by Thilo Goetz <tw...@gmx.de>.
Sodel Vazquez-Reyes wrote:
> I am using UIMA with Windows Vista, for this, reason, I am wondering if the
> operating system is the cause of my problems.
> Java 1.5.0_10
> Eclipse 3.2.2
> PlugIn Eclipse Modeling Framework v200702131851
> 
> I have executed the script UIMA_HOME/bin/adjustExamplePaths.bat, to update the
> paths in the examples based on my UIMA_HOME directory path.
> 
> However, when I have executed the documentAnalyzer.bat, I have problems:
> 
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3184
>         at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.
> java:748)
>         at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.j
> ava:248)
>         at sun.awt.shell.ShellFolder.get(ShellFolder.java:221)
>         at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.cr
> eateValue(WindowsLookAndFeel.java:1873)
>         at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185)
> 
> could you send me tips in order to fix it?
> 
> Regards, Sodel.
> 
> 
> 

I don't have a Vista system available myself, so I can't test this.  Have
you tried a different JVM, 1.6 for example?

--Thilo


Re: UIMA and Windows Vista

Posted by Marshall Schor <ms...@schor.com>.
A search on the internet turned up:

http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=a88b2b71accaf42c761b282c37da8:YfiG?bug_id=6449933

This appears to be a known bug in Java, now fixed.

The error reported there was:

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 3184
        at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.java:797)
        at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:274)
        at sun.awt.shell.ShellFolder.get(ShellFolder.java:218)
        at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(WindowsLookAndFeel.java:2040)

which looks the same as what you are seeing.

Comments following the bug report seem to indicate that the fix may not 
be released yet.

-Marshall

Sodel Vazquez-Reyes wrote:
> I am using UIMA with Windows Vista, for this, reason, I am wondering if the
> operating system is the cause of my problems.
> Java 1.5.0_10
> Eclipse 3.2.2
> PlugIn Eclipse Modeling Framework v200702131851
>
> I have executed the script UIMA_HOME/bin/adjustExamplePaths.bat, to update the
> paths in the examples based on my UIMA_HOME directory path.
>
> However, when I have executed the documentAnalyzer.bat, I have problems:
>
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3184
>         at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.
> java:748)
>         at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.j
> ava:248)
>         at sun.awt.shell.ShellFolder.get(ShellFolder.java:221)
>         at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.cr
> eateValue(WindowsLookAndFeel.java:1873)
>         at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185)
>
> could you send me tips in order to fix it?
>
> Regards, Sodel.
>
>
>
>