Create account / Log in

Internal Error

Issues with the Vassal engine.

Moderators: uckelman, Tim M

Internal Error

Postby billcoop4 » December 21st, 2020, 7:36 pm

Using Win 10, I can't open Vassal 3.4.11 this afternoon, but I could this morning.

I cannot see this file: C:\Users\billc\AppData\Roaming\VASSAL\errorLog-3.4.11 There is no "AppData" to follow the path

Here was the error message:

2020-12-21 14:28:33,031 [0-main] INFO VASSAL.launch.StartUp - Starting
2020-12-21 14:28:33,035 [0-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0
2020-12-21 14:28:33,035 [0-main] INFO VASSAL.launch.StartUp - Java version 15
2020-12-21 14:28:33,035 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.4.11
2020-12-21 14:28:33,081 [0-main] ERROR VASSAL.tools.ErrorDialog -
java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge
at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:473)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:489)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1694)
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.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:537)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:598)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at VASSAL.launch.StartUp.initUIProperties(StartUp.java:71)
at VASSAL.launch.StartUp.initSystemProperties(StartUp.java:44)
at VASSAL.launch.ModuleManager.<init>(ModuleManager.java:280)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:193)
Caused by: java.lang.ClassNotFoundException: com.sun.java.accessibility.AccessBridge
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:468)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:486)
... 17 common frames omitted
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Re: Internal Error

Postby uckelman » December 22nd, 2020, 1:22 pm

Two questions:

1) Are you able to reproduce the error with 3.4.11? Does it happen every time you open VASSAL now? Intermittently?

2) Are you able to reproduce the error with this test build?

http://www.vassalengine.org/~uckelman/t ... ows-64.exe
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby JoelCFC25 » December 22nd, 2020, 7:50 pm

billcoop4 wrote:I cannot see this file: C:\Users\billc\AppData\Roaming\VASSAL\errorLog-3.4.11 There is no "AppData" to follow the path


In Windows, AppData is a hidden folder by default in your user directory. You can type the path in manually or change the settings in Windows Explorer to be able to see hidden files/folders.
JoelCFC25
 
Posts: 793
Joined: October 12th, 2010, 5:15 pm
Location: Minnetrista, MN

Re: Internal Error

Postby billcoop4 » December 28th, 2020, 12:56 pm

It happens every time on this computer now, and is also happening now with 3.4.12.

I am also unable to send the bug report. See the details below.

I am unable to upload either errorLog because I am told the "extension 11 [or 12] is not allowed.

Vassal works fine on my Win10 Laptop, but I am at my desk right now.


2020-12-28 07:43:59,670 [0-main] INFO VASSAL.launch.StartUp - Starting
2020-12-28 07:43:59,676 [0-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0
2020-12-28 07:43:59,676 [0-main] INFO VASSAL.launch.StartUp - Java version 15.0.1
2020-12-28 07:43:59,676 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.4.12
2020-12-28 07:43:59,746 [0-main] ERROR VASSAL.tools.ErrorDialog -
java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge
at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:473)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:489)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1694)
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.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:537)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:598)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at VASSAL.launch.StartUp.initUIProperties(StartUp.java:71)
at VASSAL.launch.StartUp.initSystemProperties(StartUp.java:44)
at VASSAL.launch.ModuleManager.<init>(ModuleManager.java:282)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:195)
Caused by: java.lang.ClassNotFoundException: com.sun.java.accessibility.AccessBridge
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:468)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:486)
... 17 common frames omitted
Attachments
error message.png
error message.png (96.92 KiB) Viewed 2570 times
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Re: Internal Error

Postby uckelman » December 29th, 2020, 7:49 pm

I have a series of troubleshooting questions and things to check for you. PLEASE don't change anything in the meantime while we're working through this. It's very difficult to troubleshoot against a moving target.

1) First, do you have Java Access Bridge installed? Some sort of screen reader? Screen magnifier?

2) Open a terminal, then cd to the directory where you've installed VASSAL. (It will probably be under C:\Program Files\VASSAL-3.4.12.) Then run:

jre\bin\java -cp lib\Vengine.jar -Djavax.accessibility.assistive_technologies="" VASSAL.launch.ModuleManager

What happens when you do that?
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby uckelman » December 29th, 2020, 7:59 pm

3) Do you have a file called C:\Users\billc\.accessibility.properties? If so, what's in it and do you know what the origin of that file is?
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby billcoop4 » December 29th, 2020, 10:22 pm

uckelman wrote:I have a series of troubleshooting questions and things to check for you. PLEASE don't change anything in the meantime while we're working through this. It's very difficult to troubleshoot against a moving target.

1) First, do you have Java Access Bridge installed? Some sort of screen reader? Screen magnifier?

For work I have NVDA screen reader on my computer -- we are working on making websites etc more accessible.


2) Open a terminal, then cd to the directory where you've installed VASSAL. (It will probably be under C:\Program Files\VASSAL-3.4.12.) Then run:

jre\bin\java -cp lib\Vengine.jar -Djavax.accessibility.assistive_technologies="" VASSAL.launch.ModuleManager

What happens when you do that?[/quote]

Vassal opens
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Re: Internal Error

Postby billcoop4 » December 29th, 2020, 10:23 pm

Yes, I do. It probably downloaded/was created when I downloaded the NVDA screen reader.
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Re: Internal Error

Postby uckelman » December 30th, 2020, 2:17 pm

billcoop4 wrote:Yes, I do. It probably downloaded/was created when I downloaded the NVDA screen reader.


1) So you're saying you do have C:\Users\billc\.accessibility.properties?

2) If so, what are its contents? (Try opening it in Notepad.)

3) Has the screen reader ever worked? Is it something you use?
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby billcoop4 » December 30th, 2020, 2:30 pm

uckelman wrote:
billcoop4 wrote:Yes, I do. It probably downloaded/was created when I downloaded the NVDA screen reader.


1) So you're saying you do have C:\Users\billc\.accessibility.properties?


2) If so, what are its contents? (Try opening it in Notepad.)


3) Has the screen reader ever worked? Is it something you use?


1) Yes.

2) Contents are:

assistive_technologies=com.sun.java.accessibility.AccessBridge
screen_magnifier_present=true

3) Yes; I've used it for work because we do websites and check for accessibility.
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Re: Internal Error

Postby uckelman » December 30th, 2020, 2:44 pm

Ok. That's what I expected the contents would be---those are the default contents.

Have you ever used the screen reader with a _Java_ program that you know of?
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby billcoop4 » December 30th, 2020, 3:07 pm

No, not that I'm aware. I've actually just started with it because of several clients requesting accessibility checks on their sites at the same time. I keep it off most of the time.
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Re: Internal Error

Postby uckelman » December 30th, 2020, 3:14 pm

This is very helpful. Thanks for your answers. We'll have something for you to try soon.
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby uckelman » December 31st, 2020, 2:22 pm

Try http://www.vassalengine.org/~uckelman/t ... ows-64.exe. When you run that, you should get an error message explaining how to resolve the problem. Let me know how that works out for you. (Either way, I'd like to hear back---if the message gave sufficient instructions for you to solve the problem on your own or if it didn't, in which case we can keep trying.)
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Internal Error

Postby billcoop4 » December 31st, 2020, 3:18 pm

Nope. I get this error message, no matter where I try to save the file and open it from. I'm not being allowed to save it to the Programs folder.
Attachments
v.13 error.png
v.13 error.png (84.02 KiB) Viewed 2214 times
billcoop4
 
Posts: 11
Joined: September 27th, 2010, 5:49 pm

Next

Return to Technical Support & Bugs

Who is online

Users browsing this forum: Google [Bot] and 2 guests