Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Runtime JavaScript Error of accessing JavaRanch  RSS feed

 
Tiffiny Yang
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody experienced "Runtime Error has occured - Error 'google is undefined'" java script error message box while accessing Java Ranch?

I did not have this error message pops-up until Sunday. Now it's being constantly dipslaying each time I am accessing the site.

Thanks
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to JavaRanch forum.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reporting this. I've fixed the problem. It only affected the SCJP forum.

Out of curiosity, what browser pops up an error dialog about this? Firefox just quietly ignores it.
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
Thanks for reporting this. I've fixed the problem. It only affected the SCJP forum.

Out of curiosity, what browser pops up an error dialog about this? Firefox just quietly ignores it.


Probably IE and depends on your configuration. I have this in my IE. For debugging purposes though it gets annoying... I think if you install Visual Studio this gets set up helpfully for you. Maybe interdev or something.
 
Tiffiny Yang
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for fixing the problem.

You're right, it only affected the SCJP forum. I had the problem on Sunday.
Now it's OK.

I'm using IE browser version 6.02.


Thanks.
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tiffny Yang:
Thanks for fixing the problem.

You're right, it only affected the SCJP forum. I had the problem on Sunday.
Now it's OK.

I'm using IE browser version 6.02.


Thanks.


If you want to turn this off permanently. I believe it is:

Tools -> Internet Options -> Advanced -> Browsing -> Disable script debugging (Check that box it's probably unchecked now)
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
...Firefox just quietly ignores it.

I didn't see anything unusual using Safari.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EFH: Firefox just quietly ignores it.

MW: I didn't see anything unusual using Safari.


Firefox logs all JS errors in the Tools > JavaScript Console, while Safari writes them to console.log, which can be viewed easiest with Console.app.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!