SyntaxError: JSON Parse error: Unexpected EOF

This message pops up in Safari from Bitdefender antivirus, does anybody have any idea how to fix?

jemz wrote:
  <cfif IsDefined("empmycode")>
         <cfset  myarray= getempCode(#mycode#)>
         <cfoutput>#myarray#</cfoutput>
  </cfif>
  <cffunction name="getempCode">
       <cfargument name="empcode">
         <cfquery  name="empQuery" datasource="#datasource#">
               Select empcode from employee where empcode = '#empcode#'
         </cfquery>
            <cfset mystruct = StructNew()>  
            <cfset mystruct.empcode=#empQuery.empcode#>
        <cfreturn   SerializeJSON(mystruct)>
  </cffunction>
The above code is confusing. You test for the existence of empmycode, yet you actually use mycode instead. In addition, what you call an array isn't, and you fail to 'var' the method's local variables.
You could modify the code, by scoping, as well as bearing in mind what Carl has said:
<cfif IsDefined("form.empmycode")>
    <cfset  code= getempCode(form.empmycode)>
    <cfoutput>#code#</cfoutput>
</cfif>
<cffunction name="getempCode">
<cfargument name="empcode">
<cfset var mystruct = StructNew()>
<!--- Alternative:  <cfqueryparam cfsqltype="cf_sql_varchar" value="'#arguments.empcode#"> --->
         <cfquery  name="empQuery" datasource="#datasource#">
               Select empcode from employee where empcode = <cfqueryparam cfsqltype="cf_sql_integer" value="'#arguments.empcode#">
         </cfquery>
<cfset mystruct.empcode=empQuery.empcode>
<cfreturn   SerializeJSON(mystruct)>
</cffunction>

Similar Messages

  • DBD: parse error unexpected " found.

    Hi,
    Login to Universe Designer by SAP account, and during editing a connection, we tried to select the auth mode as "Use Single Sign-On when view and ...." , then next, got the following error message in a popup dialog:
       DBD: parse error unexpected " found.
    I have no idea how it could happen, and please let me know how to debug, or check the underlying detail message.
    In addition, if we choose credential mapping in auth mode, will the AD user to SAP user mapping will work when user login BI by AD SSO and click on a dashboard using this data connection ?
    Thanks

    Hello Wilson,
    Could you try to delete and re-import the BW user at BOE system?
    Regards,
    Vivek

  • Parsing Error: Unexpected $ at the end of PHP file

    I have been programming in PHP for about 6 months now and this is a first for me.
    I have created a FTP upload PHP file and I keep getting this parsing error no matter what I do !?
    Parse error:  parse error, unexpected $ in ................................./html/upload_video.php on line 183
    The only thing I have on line 183 is ?>  The end of my PHP file.  I've spent 2 hours trying to get rid of this problem.
    HELP !    Any help would be greatly appreciated !

    You are right and very sarcastic at the same time.  My bad....however, I figured out the problem, I did not close out my mysql connection and I had an extra if "}" at the end of my code.

  • XML parsing error: unexpected parser state

    Hello,
    Yesterday I experienced a roblem I haven't faced before.
    The error title appeared to be "XML parsing error: unexpected parser state". I have a screenshot of the error message that I'll try to upload.

    Screenshot attached.

  • Parsing error: Unexpected text in content of Element

    Hello,
    I have a problem that is leading me to believe that something is wrong with the struts.jar (ValidatorPlugIn class in particular) file shipped with jdeveloper 11g (11.1.1.1.0). I'm wondering if anybody has experienced this problem and maybe knows a solution.
    Following is the error that I receive when deploying the application on weblogic 10.3:
    [ERROR] Digester - Parse Error at line 5 column 100: <Line 5, Column 100>: XML-20145: (Error) Unexpected text in content of Element 'field'. <org.xml.sax.SAXParseException: <Line 5, Column 100>: XML-20145: (Error) Unexpected text in content of Element 'field'.>org.xml.sax.SAXParseException: <Line 5, Column 100>: XML-20145: (Error) Unexpected text in content of Element 'field'.
    at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:225)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
    at org.apache.commons.digester.Digester.parse(Digester.java:1666)
    at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
    at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
    at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1374)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    This error is referring to a file with the following contents:
    <form-validation><formset><form name="ShowNotesForm"><field property="PmnNote" depends="required"> <arg0 key="Note"/></field></form><form name="ShowAttachmentsForm"><field property="pmaAttName" depends="required"><arg0 key="Name"/></field><field property="pmaNote" depends="required"><arg0 key="Description"/></field></form></formset></form-validation>
    This error occurs wherever there is a white space or a new line character in the contents of a tag! If I have the entire file on one line, then I do not get the error.
    In the code above, I placed all the contents of the file on one line and just added one space character (it's right before <arg0 key="Note"/>), that character is causing the error and the stack trace shown above.
    If I use an older version of struts.jar (i.e. place it in the domain's lib directory so that it's added to the classpath), then I don't have a problem with white space or new line characters.
    Thanks in advance

    You are right and very sarcastic at the same time.  My bad....however, I figured out the problem, I did not close out my mysql connection and I had an extra if "}" at the end of my code.

  • Json parsing error WP8

    Hi,
    I'm using System.Json in order to communicate with my server.
    Here is my code:
    WebClient wc;
    ObservableCollection<ProductModel> products;
    string baseURI = "http://ec2-54-149-185-231.us-west-2.compute.amazonaws.com/";
    public AddProductReportViewModel()//ctor
    wc = new WebClient();
    products = new ObservableCollection<ProductModel>();
    wc.DownloadStringCompleted += wc_DownloadStringCompleted;
    wc.DownloadStringAsync(new Uri(baseURI + "get_products_json.php?search=במבה"));
    void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
    if (e.Error == null && e.Result != "")
    JsonValue completeResult = JsonPrimitive.Parse(e.Result);
    //string resultType = completeResult[“returnType”].ToString().Replace('"', ' ').Trim();
    //if (resultType == “todoItems”)
    products.Clear();
    JsonArray toDoItemsJson = (JsonArray)completeResult["products"];
    foreach (JsonValue todoItemJson in toDoItemsJson)
    ProductModel product = new ProductModel();
    if (todoItemJson["PID"] != null)
    product.Product_code = Convert.ToInt32(todoItemJson["PID"].ToString().Replace('"', ' ').Trim());
    if (todoItemJson["Name"] != null)
    product.Product_name = todoItemJson["Name"].ToString().Replace('"', ' ').Trim();
    products.Add(product);
     e.Result contains following data(it retrieved data from the server) :
    "Array\n(\n    [products] => Array\n        (\n            [0] => Array\n                (\n                
       [PID] => 54401079\n                    [Name] => חטיף מתוק, במבה מתוקה, אסם\n                )\n\n            [1] =>
    Array\n                (\n                    [PID] => 54401059\n                    [Name] => חטיף בוטנים, במבה,
    פרפר נחמד, שוש, אסם, עלית, תלמה\n                )\n\n        )\n\n    [success] => 1\n)\n{\"products\":[{\"PID\":\"54401079\",\"Name\":\"\\u05d7\\u05d8\\u05d9\\u05e3
    \\u05de\\u05ea\\u05d5\\u05e7, \\u05d1\\u05de\\u05d1\\u05d4 \\u05de\\u05ea\\u05d5\\u05e7\\u05d4, \\u05d0\\u05e1\\u05dd\"},{\"PID\":\"54401059\",\"Name\":\"\\u05d7\\u05d8\\u05d9\\u05e3 \\u05d1\\u05d5\\u05d8\\u05e0\\u05d9\\u05dd,
    \\u05d1\\u05de\\u05d1\\u05d4, \\u05e4\\u05e8\\u05e4\\u05e8 \\u05e0\\u05d7\\u05de\\u05d3, \\u05e9\\u05d5\\u05e9, \\u05d0\\u05e1\\u05dd, \\u05e2\\u05dc\\u05d9\\u05ea, \\u05ea\\u05dc\\u05de\\u05d4\"}],\"success\":1}"
    But when the debugger reaches the bold line: 
    JsonValue completeResult = JsonPrimitive.Parse(e.Result);
    I get the following exception:
    An exception of type 'System.Runtime.Serialization.SerializationException' occurred in System.ServiceModel.Web.ni.dll but was not handled in user code
    If there is a handler for this exception, the program may be safely continued.
    I'm totally new in this domain (servers..), so any help would be very appreciated :)

    got it...the problem was in the server: I changed it to return encoded data only.

  • Json parsing error in J2ME

    Problem in J2ME application
    while using Json Object in Midlet file
    JSONObject obj=new JSONObject();
    .Json-lib2.4-jdk15.jar added in project libraries but application shows error as
    java.lang.NoClassDefFoundError: net/sf/json/JSONObject.
    Project created in NetBeans 7.4

    Hello,
    This library contains classes in the class format version 49 which is not supported by Java ME. Java ME supports class file versions up to 48 (preverify tool shall be ran against them as it was in Java ME mobile phone times) or versions 51 and greater (no preverification needed)
    You might want to download source code from the SF and recompile it with javac from JDK 7 or 8 (please do not specify -target argument when compiling)
    Regards,
    Andrey

  • Custom profiles in IC Web client terminate in XSLT error 'unexpected EOF'

    Hello,
    we've upgraded from CRM 4.0 SP7 to CRM2005 (i.e. CRM 5.0) SP7.
    The IC web client is not able to start our custom web client profiles. However, SAP's default profile is OK.
    When launching via transaction CRM_IC or SE80 and default.htm, the window opens up, but if we use one of the custom IC Web client profiles, the application won't load correctly. It only displays the logos and the clipboard, then gives the error message:
    The runtime repository could not be interpreted. An XSLT transformation error occurred.
    Reason: Unexpected end-of-file.
    Transformation: BSP_WD_RT_REP_RUNTIME
    I've checked the customization, and I find no errors. All function profiles (XML files) from 4.0 have been migrated correctly into 5.0 customization tables.
    The custom profile launches our BSP application Z_CRM_IC, which is a copy of the standard BSP with a few controller replacements. The corresponding runtime framework profile calls the repository Z_CRM_IC_RT_REP, which is also a copy of the original.
    When I check the repository Z_CRM_IC_RT_REP in SE80, the system displays the error
    BSP Application Z_CRM_IC_RT_REP,BSP Page CRM_IC.XM
    The included page "CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" is created in language "ABAP".          
    However, I don't think that's really an error, because the include merely points to the standard xml file
    ../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml
    and when I run a check on that, the workbench finds no errors.
    Any idea on how to get the IC Web client up and running again?
    Regards,
    Arto

    Note 880180 seems to help.
    After making the suggested changes, I ran into another translation error, but that's a different story...

  • Json parsing error

    Hi
    I have a requirement that we will get json string dynamically and we need to convert that Json string to Json object and we have get corresponding values from json object
    but while converting that Json string to Json object extra things are appending
    ex :
       “productId” : “aaaaaa”,
       “skuId” : “bbbbbb”,
    This is json string while convering this string to json object i am getting like this    
    {"\u201cproductId\u201d":"\u201caaaaaa\u201d","\u201cskuId\u201d":"\u201cbbbbbb\u201d"}
    so i am getting corresponding productId and skuId values it is expecting \u201cproductId\u201d as key
    please give me a solution how to parse this and how to get productId and skuId values from json object

    How are you generating JSON. It seems like double quotes character you are using is not right.
    Use " instead of “ as double quotes

  • [solved] Unexpected EOF error while reading

    Hi
    I created a bootable jumpstart DVD for x86, and erverything works up to the extract of the flash archive.
    During the extract, I receive this error:
    Extracted 2046.00 MB ( 92% of 2208.35 MB archive)
    Extracted 2047.00 MB ( 92% of 2208.35 MB archive)
    ERROR: Unexpected EOF error while reading (/cdrom/latest_archive)
    ERROR: Could not extract Flash archive
    ERROR: Flash installation failed
    Solaris installation program exited.
    The size of the archive on the DVD is ok.
    Any Idea?

    I solved it like this:
    - added the "-I" option to flar when the archive get created.
    - added the "-x /usr" option to flar to skip the /usr filesystem.
    - created and compressed a fs dump of /usr which I placed on the dvd.
    - added the ufsrestore of /usr to my jumpstart finish script.
    With this I got files smaller than 2gb on my isofs.
    --- Joris Vuffray

  • I am getting this error message every time i open firefox: "catch all: json.parse: unexpected end of data"

    Every time i open Firefox i am getting this message "catch all: json.parse: unexpected end of data". Otherwise everything works just fine, i didn't notice any kind of functionality problems.
    Thanks for the help!

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

    Hi,
    I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
    Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
    Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
    Since, I can't launch the ConnectIQ simulator app, I have this message in console :
    8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
    The data couldn’t be read because it isn’t in the correct format.
    <CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
    entries =>
      0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
      1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
    I have looked at this file and it looks like a binary plist
    bplist00ß^P^V^A^B^C^D^E^F^G^H
    ^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi    on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE    xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph    oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos    TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^    A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
    I guess it is a normal format but my system seems to be unable to read binary plist ?
    I tried some stuff with plutil
    plutil -lint Info.plist
    Info.plist: Unexpected character b at line 1
    Same for convert
    plutil -convert xml1 Info.plist
    Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
    I also try to download a fresh version of the connectIQ SDK and no changes.
    Any idea ?
    Thanks

    Step by step, how did you arrive at seeing this agreement?

  • Syntax Error with JSON.Parse method to parse SharePoint List Items

    Hi All,
    I want to get SharePoint List data and bind that retrived data to the JQuery Grid Control.
    For this I used SPServices to get the SharePoint List data in SOAP Envelope. Now I need to parse the soap envelope and store the retrieved items in array to pass it to the Grid Control.
    While using the JSON.Parse(resporseText) method, Iam consistenly getting an Syntax Error!
    Could anyone help me with this ?
    Please find the SOAP Envelope I received from SP List as below:
    "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
    xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
    xmlns:rs='urn:schemas-microsoft-com:rowset'
    xmlns:z='#RowsetSchema'>
    <rs:data ItemCount="2">
    <z:row ows_OBNumber='112211.000000000' ows_Project_x0020_Name='Project 1' ows_MetaInfo='11;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 1' ows_ID='11' ows_UniqueId='11;#{FBBCBCF9-666D-42F9-92D7-67188C51BC9B}' ows_owshiddenversion='1' ows_FSObjType='11;#0' ows_Created='2015-01-12 10:25:06' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:25:06' ows_FileRef='11;#sites/Lists/Projects/11_.000' />
    <z:row ows_OBNumber='1122343.00000000' ows_Project_x0020_Name='Project 2 ' ows_MetaInfo='12;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 2' ows_ID='12' ows_UniqueId='12;#{0D772B76-68E4-4769-B6FF-6A269F9C7ABD}' ows_owshiddenversion='1' ows_FSObjType='12;#0' ows_Created='2015-01-12 10:33:48' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:33:48' ows_FileRef='12;#sites/Lists/Projects/12_.000' />
    </rs:data>
    </listitems></GetListItemsResult></GetListItemsResponse></soap:Body></soap:Envelope>"
    Any help on this will be greatly appreciated.
    Thanks In Advance.!

    Hi,
    According to your description, there is an issue when parsing result from the data retrieved using SPServices.
    By default, SPServices returns data as XML format, however, the JSON.parse() method “Throws a SyntaxError exception if the string to parse is not valid JSON”:
    https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
    To extract the data needed from the response, you can either take the demo below for as a reference:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Or use the jQuery.parseXML() function:
    http://api.jquery.com/jquery.parsexml/
    Best regards
    Patrick Liang
    TechNet Community Support

  • [SOLVED]oracle.xdo.parser.v2.XMLParseException: Unexpected EOF

    hi frs,
    i have created a custom report using XML Publisher.
    i hve used two parameters in the report. one required and other optional.
    when i give both parameters report is working fine.
    but when i give only required it ends with an error.
    problem is not with the report because it works fine in the report builder.
    i hve check the OPP Service log file got error like
    [3/20/08 10:10:26 PM] [UNEXPECTED] [91537:RT3406762] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java(Compiled Code))
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java(Inlined Compiled Code))
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 18 more
    for some other report also getting same kind of error.
    why it is so.
    help pls.
    Regards
    Rajesh
    Message was edited by:
    Rajesh.mani

    Where you able to resolve this issue.. I'm having similar problem with no pointers where to look for...

  • Oracle.xdo.parser.v2.XMLParseException:Unexpected EOF.

    I have created a custom DataTemplate from comverting a RDF to XML template. Also created the custom RTF template.
    When I run the custom request it runs for for more than 3 hrs and then errors out.When I look at the OPP log file it has this error. Cant figure out what is causing this issue.
    Also when i submit the concurrent program request the completion text field value has value called
    "Input value not long enough for date format".
    OPP error log:
    [8/14/08 8:17:41 PM] [UNEXPECTED] [993297:RT9634742] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:526)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more

    It`s your problem - "Input value not long enough for date format"
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Input+value+not+long+enough+for+date+format&objID=c84&dateRange=all&userID=&numResults=15

Maybe you are looking for