File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unterminated string constant

 
Sumi Kuppusamy
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting unterminated string constant error. It says Line 16 and I hve no code from line 1 to line 24. This error is not coming in Mozilla. Can anyone pls help in figuring out the error location.

Thanks in Advance
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you not think it might be useful to show us the code?
 
Sumi Kuppusamy
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file has more than 2000 lines, also its not part of the code it throws the error. I did file comparison of view source of 2 files, one which throws this error and one which doesnt throw this exception, there were no differences.
 
Yuriy Fuksenko
Ranch Hand
Posts: 413
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so, its magic

when you say it is not happening in Mozilla, you mean the dialog is not showing, or that you looked at "Tools->JavaScript console" and there is no error there?
Also, if your file is to big to post on a forum, you can put it somewhere else and give us a link to it.

with line number, if you have js files used with script tags, IE will actually give you a line number within such file.
 
Sumi Kuppusamy
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Yuriy. I was thinking I will get the dialog box in mozilla like IE. Using Javascript console in mozilla, I were able to figure out the exact location of that error. Thanks a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic