Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D5339877 for ; Fri, 18 May 2012 15:33:28 +0000 (UTC) Received: (qmail 5801 invoked by uid 500); 18 May 2012 15:33:28 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 5782 invoked by uid 500); 18 May 2012 15:33:28 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 5757 invoked by uid 99); 18 May 2012 15:33:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 15:33:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 15:33:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0E2B8C711 for ; Fri, 18 May 2012 15:33:07 +0000 (UTC) Date: Fri, 18 May 2012 15:33:07 +0000 (UTC) From: "Patrick Mueller (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <854985341.14359.1337355187059.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1688827710.8316.1337254387833.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-803) Server Bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278867#comment-13278867 ] Patrick Mueller commented on CB-803: ------------------------------------ I'm wondering if there was some crud between different sessions here; I recently changed the way I generate session keys to a mechanism where there's likely to be re-use between the keys, if you start/stop the server. Maybe some gunk from the old session got picked up from a new session, or something. Not much you can do about it, if it is a problem, besides reloading your debug clients and targets AFTER you restart the server (if you restarted the server). > Server Bug > ---------- > > Key: CB-803 > URL: https://issues.apache.org/jira/browse/CB-803 > Project: Apache Cordova > Issue Type: Bug > Components: weinre > Affects Versions: 2.0.0 > Environment: Node Server running on OSX 10.7 > Device - iOS 5.1 > Reporter: Adam Butler > Assignee: Patrick Mueller > Labels: ios, json, syntaxerror, weinre > > When loading a page I am receiving this error in the node server console only when the client is an iOS device. > --------------------------------------------------------- > error: SyntaxError: Unexpected token m > --------------------------------------------------------- > stack: > native json.js:56 - parse() > jsonBodyParser.coffee:23 - parseBodyAsJSON() > events.js:64 - EventEmitter.emit() > http.js:137 - parser.onMessageComplete() > http.js:1410 - socket.ondata() > net.js:354 - onread() -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira