Message: "Error"

Need help? Post your questions here.

Moderator: moderators

Message: "Error"

Postby tofuSCHNITZEL » Sat Mar 17, 2012 3:43 pm

Problem Description:
When I open the subsonic webpage I get a Javascript MessageBox with the Content: "Error". Everything is working fine. Navigating the site does not display the error but when I refresh the whole thing the MessageBox pops up again. I narrowed it down to the "right.view" page. When I open this the Error MessageBox appears. The error was not there all the time but I can't remember when I first saw it.
The easiest solution would be to disable the chat entirely...
Subsonic Version:
4.6 (build 2583) – December 6, 2011
Server Version:
Apache Tomcat/6.0.35, java 1.6.0_30, Windows Server 2008 R2 (117.1 MB / 385.9 MB)
Hardware Platform:
Windows Server 2008 R2 x64

the subsonic log does not contain any errors (only indexing status messages)

here is a copy of the firebug log:
Image Version:
http://i42.tinypic.com/124cyg6.jpg
Code: Select all
POST https://xxxx/subsonic/dwr/call/plaincall/__System.pageLoaded.dwr
   
200 OK
      116ms   
engine.js (line 1)
HeadersPostResponse

throw 'allowScriptTagRemoting is false.';
//#DWR-INSERT
dwr.engine.remote.handleNewScriptSession("D376B23DD0EFECA0C5E3E410A06F25E6");
//#DWR-REPLY
dwr.engine.remote.handleCallback("0","0",null);

POST https://xxxx/subsonic/dwr/call/plaincall/nowPlayingService.getNowPlaying.dwr
   
200 OK
      323ms   
engine.js (line 1)
HeadersPostResponse

throw 'allowScriptTagRemoting is false.';
//#DWR-INSERT
//#DWR-REPLY
dwr.engine.remote.handleException("1","0",{javaClassName:"java.lang.Throwable",message:"Error"});

POST https://xxxx/subsonic/dwr/call/plaincall/chatService.addMessage.dwr
   
200 OK
      470ms   
engine.js (line 1)
HeadersPostResponse

throw 'allowScriptTagRemoting is false.';
//#DWR-INSERT
//#DWR-REPLY
dwr.engine.remote.handleCallback("2","0",null);

setErrorHandler()engine.js (line 1)
message = "Error: undefined, Error"
stacktrace = true
setErrorHandler()engine.js (line 1)
message = "Error"
ex = Object { javaClassName="java.lang.Throwable", message="Error"}
setErrorHandler()engine.js (line 1)
batchId = "1"
callId = "0"
ex = Object { javaClassName="java.lang.Throwable", message="Error"}
eval()3 (line 4)
setErrorHandler()engine.js (line 1)
script = "\r\n//#DWR-INSERT\r\n//#DWR...e",message:"Error"});\r\n"
setErrorHandler()engine.js (line 2)
batch = Object { async=true, charsProcessed=0, handlers=[1], more...}
setErrorHandler()engine.js (line 1)
Error: undefined, Error
engine.js (line 1)
POST https://xxxx/subsonic/dwr/call/plaincall/chatService.getMessages.dwr
   
200 OK
      159ms   
engine.js (line 1)
HeadersPostResponse

throw 'allowScriptTagRemoting is false.';
//#DWR-INSERT
//#DWR-REPLY
dwr.engine.remote.handleCallback("3","0",{messages:[],revision:277035414});
tofuSCHNITZEL
 
Posts: 10
Joined: Tue Jan 17, 2012 11:18 pm

Re: Message: "Error"

Postby ytechie » Sun Mar 18, 2012 4:28 am

This is great! Finally some log output for this bug... Check it out: viewtopic.php?f=2&t=8579
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Message: "Error"

Postby tofuSCHNITZEL » Sun Mar 18, 2012 6:25 am

I'm glad that this may be helpful...
I just restarted the tomcat service and the error went away. Let's see how long it lasts ;-)
tofuSCHNITZEL
 
Posts: 10
Joined: Tue Jan 17, 2012 11:18 pm

Re: Message: "Error"

Postby Aethies » Tue Mar 20, 2012 3:05 pm

tofuSCHNITZEL wrote:I'm glad that this may be helpful...
I just restarted the tomcat service and the error went away. Let's see how long it lasts ;-)


It is just one of the things that I have learned to just deal with. It is not often but it does happen. So just restarting the service makes it go away for a while. Not that big of a deal. :)
Aethies

Ubuntu Server 12.04
===================
3,281 artists
9,432 albums
113,608 songs
2636.09 GB (10,769 hours)
===================
User avatar
Aethies
 
Posts: 197
Joined: Fri Oct 24, 2008 4:33 pm

Re: Message: "Error"

Postby ytechie » Thu Mar 22, 2012 12:36 am

I never had the error on my server, but I have seen it on someone else's. I am pretty sure it has to do with the user misidentification issue.

viewtopic.php?f=2&t=7837&p=37965
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Message: "Error"

Postby GJ51 » Thu Mar 22, 2012 12:53 am

Clear browser cache, reboot server. That always clears it for me.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Message: "Error"

Postby ytechie » Thu Mar 22, 2012 5:48 am

One of these days I hope to post my fix. I wrote some javascript to take care of the entire issue! It's terrific!

I was waiting to see if Sindre is taking care of the issue on the java side, because my script is a workaround.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Message: "Error"

Postby Aethies » Thu Mar 22, 2012 4:35 pm

ytechie wrote:One of these days I hope to post my fix. I wrote some javascript to take care of the entire issue! It's terrific!

I was waiting to see if Sindre is taking care of the issue on the java side, because my script is a workaround.


Well, I am pretty sure others are thinking the same thing... Better spill it ytechie! :)
User avatar
Aethies
 
Posts: 197
Joined: Fri Oct 24, 2008 4:33 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 11 guests