Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) IE6 javascript error with getDiagram() call (Read 5069 times)
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
IE6 javascript error with getDiagram() call
Aug 5th, 2008 at 2:03pm
Print Post  
I'm getting an error in IE 6 saying the object does not support this property or method.
It works fine in IE7.

Please advise.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3265
Joined: Oct 19th, 2005
Re: IE6 javascript error with getDiagram() call
Reply #1 - Aug 6th, 2008 at 7:28am
Print Post  
Is the Java plugin installed on the system where you are using IE6?
  
Back to top
 
IP Logged
 
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
Re: IE6 javascript error with getDiagram() call
Reply #2 - Aug 7th, 2008 at 4:26am
Print Post  
Yes
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3265
Joined: Oct 19th, 2005
Re: IE6 javascript error with getDiagram() call
Reply #3 - Aug 7th, 2008 at 11:41am
Print Post  
What version of the java runtime do you have on the IE6 system? Are there any exceptions shown in the Java console? A JavaScript call to getDiagram() should fail only if the applet hasnt loaded, and not because of differences between the DOM of browsers.
  
Back to top
 
IP Logged
 
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
Re: IE6 javascript error with getDiagram() call
Reply #4 - Aug 12th, 2008 at 4:09pm
Print Post  
Java Plug-in 1.6.0_07

getting the error:

load: class com/mindfusion/diagramming/DiagramApplet.class not found.
java.lang.ClassNotFoundException: com.mindfusion.diagramming.DiagramApplet.class

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3265
Joined: Oct 19th, 2005
Re: IE6 javascript error with getDiagram() call
Reply #5 - Aug 13th, 2008 at 8:02am
Print Post  
Can you see any error code in the IIS logs for the GET JDiagram.jar request?
  
Back to top
 
IP Logged
 
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
Re: IE6 javascript error with getDiagram() call
Reply #6 - Aug 13th, 2008 at 1:28pm
Print Post  
nothing in the logs. the jar file exists and is referenced correctly.
It wouldn't work in IE7 either if it was an issue with the server correct?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3265
Joined: Oct 19th, 2005
Re: IE6 javascript error with getDiagram() call
Reply #7 - Aug 13th, 2008 at 1:42pm
Print Post  
isn't there at least a GET jdiagram.jar request with 200 OK code logged just after you load the page from IE6?
  
Back to top
 
IP Logged
 
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
Re: IE6 javascript error with getDiagram() call
Reply #8 - Aug 13th, 2008 at 1:54pm
Print Post  
I was looking in the event viewer under application events.
That's where errors would get logged wouldn't it?
Where else would you like me to look?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3265
Joined: Oct 19th, 2005
Re: IE6 javascript error with getDiagram() call
Reply #9 - Aug 13th, 2008 at 2:01pm
Print Post  
open the IIS config tool in the control panel. right-click the web site -> properties -> make sure 'enable logging' is checked -> click the properties button and see where the log files are generated, the default is C:\WINDOWS\system32\LogFiles. now load the page in IE6 and see if a GET jdiagram.jar entry appears in the today's log file. if it doesn't, may be IE6 keeps a very old cached copy of jdiagram.jar from version 1, where the applet class was called FlowchartApplet??? in such case, clear the applet cache from the Java config tool in the control panel.
  
Back to top
 
IP Logged
 
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
Re: IE6 javascript error with getDiagram() call
Reply #10 - Aug 13th, 2008 at 2:27pm
Print Post  
There is not even a GET for the jar file while using IE6. I loaded it up with IE7 and one appeared.

When the page first loads, the applet is in a div that has css display: none. ???

The same thing happens when using Firefox also.

I cleared the temporary files in the Java console and reloaded the page. A new jar file never appears.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3265
Joined: Oct 19th, 2005
Re: IE6 javascript error with getDiagram() call
Reply #11 - Aug 13th, 2008 at 2:31pm
Print Post  
the java plugin might have a problem with being in an invisible div. does it work if you move the applet out of the div?
  
Back to top
 
IP Logged
 
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
Re: IE6 javascript error with getDiagram() call
Reply #12 - Aug 13th, 2008 at 2:39pm
Print Post  
that's what I'm going to try. I can't do it today though. the app is being used. I'll have to change the way the page loads and put the deployment out on a test site to see.
I'll let you know though.

Thanks for your attention.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint