Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
We are using a browser based EMC2 document management system that is using trusted applets for file system access. We don't have access to the java code, nether to the server, so with anything that follows I mean client side.
The application is used on many PCs. We now have IE11.0.23 and 11.0.25 and the application is requiring Java 1.6.0.35 or 1.7.0.13, but we have been using it ever since with 1.6.0.43 (newer Java is not supported, so don't tell me to upgrade). Previously we had IE8.
So. After we rolled out IE11 on some but not all workstations at a specific point we get a dialog that there is a JScript error that semicolon is expected. Like this[^] one.
I have enabled all tracing and debugging in IE, as I see this error is not coming from the JavaScript code from the web page itself.
I assume, that the Java code is sending Javascript code for execution to IE.
My questions:
1) Is there any way to get some intel about the portion of the Java code that sends this statement (or the exact JavaScript statement). As I mentioned before: I don't have any source code. But I would like to send as much information as I can to the developers.
2) How can I supress this message? I am prety sure, that all clients have this error, but for some reason only few get the message.
Posted
Updated 11-Dec-15 2:36am
v2
Comments
Richard MacCutchan 11-Dec-15 11:44am    
You can look at the source of the webpage to find where the script is in error, and report that back to the website owners.
Zoltán Zörgő 11-Dec-15 12:05pm    
This is what I tried at first. If you read my post properly you can see that this is not the case. IE developer toolbar's debugger would catch such an error. But there is none. It is for sure not in the source of the web page.
Richard MacCutchan 11-Dec-15 12:13pm    
The message says that the error is in Javascript, so it must be in the webpage. However, without more debug information from IE it is anyone's guess where it is occurring.
Zoltán Zörgő 11-Dec-15 12:56pm    
Not necessarily. The java (applet) code is interacting with the dom. It can also call JavaScript. See: https://docs.oracle.com/javase/tutorial/deployment/applet/invokingJavaScriptFromApplet.html
But in this case the statement is in the applet's code not in the web page itself. But the JavaScript statement is executed by the browser not by the java runtime. So the message I see is popped by the browser. And I am pretty sure this is my case. So I need the means to trace somehow this interaction between the applet and the browser. But I don't know how to do it.
Richard MacCutchan 11-Dec-15 13:19pm    
The only way forward is to talk to the website owners, and the developers of the applets.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900