Error in the browser

I have generated with JHeadstart a master detail form.
When I run the application i get a error in the browser in second page.
line 1
char 17
expected '('
code 0
What kind of error is this.
The UIX page generated with JHeadstart has a valid syntax
Jdeveloper 9.05.02
UIX with Struts
Erik Kortman

Erik,
The error you describe is a JavaScript error. In order to solve it, we must find out in which piece of JavaScript this error occurs.
You say that with UIX this error does not occur, does that mean that it occurred with a JHeadstart-generated JSP page? Can you reproduce it with the Oil demo (with possibly some changes in the settings to make it similar to your situation)?
The error message you got looks like it was generated by Microsoft Internet Explorer. JavaScript is interpreted by the browser, and other browsers like Mozilla Firefox are much better in giving meaningful error messages. Do you have the opportunity to test this page with Mozilla Firefox? You could then open the window Tools - JavaScript Console to see the error.
Hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting

Similar Messages

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • I have graphical errors on the browser edges when i use the right click menu and close out tabs.

    Ok I will try to explain this the best way I can as I'm not sure what to call it. But simply put, if I have FF4 open, sometimes I get a graphical glitch on the edge of the window. It seems to always occur when I right click near the edge of the browser window, then close out that current tab. A small part of the context menu remains on the screen. Here is a screenshot:
    [http://img.photobucket.com/albums/v475/JunkHead/fireglitch.jpg]
    notice the section in the lower right hand part of the browser. That's the leftover context menu in the edge of the window. There is also a section on the bottom of the browser as well. I didn't plan on that one, and have no idea why it is there. I had no menu open there. Anyone every see this before?

    You can also use ctrl-T or File > New tab (if you have the menubar showing). I can't find an extension that will help you bring back the previous behavior but there probably will be one soon.

  • Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.

    Would someone tell what I missed, I have set up the following:
    1) a report using report builder on NT
    2) my database is in Unix
    3) my report server is started in NT
    4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
    null

    It sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
    http://hostname:port/cgi-bin/rwcgi60exe?
    If you get a help screen, then you should be able to bring up your report.
    Regards,
    Xiaoling

  • Unable to open PWA in browser and MSP on application server in project server 2007. ERROR: Sending the Soap message failed or no recognizable response was received.

    Hi All,
    I am using project server 2007 and WSS 3.0. 
    I have been facing a strange issue for couple of days. I am unable to open PWA in browser and MS Project Pro on application server.
    Everything is correct whether it is URL or MS Project profile account on MSP.  This is strange because i can open same PWA/MSP from other computers (Database server / Client PCs) but not locally on server.
    When i try to connect to MSP on App server, i get the following errors in event viewer.
    Event Type: Error
    Event Source: MSSOAP
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: Connection time out..
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: An unanticipated error occurred during the processing of this request..
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description: Soap error: Sending the Soap message failed or no recognizable response was received.
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: Unspecified client error..
    One more issue i am facing and i guess that is related to above issue. The Issue is, when i am creating a new project, It's workspace gets created but doesn't get linked to the project and i can't link it manually because it already exists for the project.
    sandeep

    Hi Paul ,
    Thanks for reply. The project server URL was already added to the Trusted
    Sites/Local Intranet areas in IE. 
    sandeep

  • After installing Firefox 5.0 and attempting to open the browser I get: Error: Platform Version '2.0.1' is not compatible with MinVersion = 5.0 MaxVersion = 5.0 At the top of the message is Yul Runner

    While installing Firefox 5.0 and attempting to open the browser I get: Error: Platform Version '2.0.1' is not compatible with MinVersion > = 5.0 MaxVersion < = 5.0
    Above the message in the border was XULRunner

    That can happen if the updater wasn't able to update (replace) all the files in the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • Error in sending a binary outputstream to the browser

    I am looking for information on sending a binary outputstream to a browser.I am not getting any error and am able to write out the entire buffer.Even though the browser recognizes the mime type,it only sends junk to the client.Please look at the code sample below that I am using to send the outputstream.
    response.setContentType(MimeType);
    String str_encoding = response.getCharacterEncoding();
    System.out.println("================= The Character Encoding is --------------" + str_encoding);
    int len = buf.length;
    System.out.println("Data length ===========" + len);
    response.setHeader("Content-Disposition", "inline;filename=" + "\"" + fileName + "\"");
    OutputStream o = response.getOutputStream();
    int buffer_length = 10 * 1034;
    int offset = 0;
    //read a thousand bytes from the buffer at a time
    while ((offset <= buf.length) && (loop==true))
    if ((buf.length - offset) < buffer_length)
    buffer_length = buf.length - offset;
    loop = false;
    System.out.println("---------Now Inside the Loop, Writing Output Buffer ------" + offset + " bytes");
    o.write(buf,offset,buffer_length);
    o.flush();
    offset = offset + buffer_length;
    If anyone could tell me what needs to be done to successfully send a binary input stream from a Java application to a JSP page calling it and then successfully sending the outputstream for the client to be read,that would be fantastic.

    yes,I did.That sends the data out as junk.The outputstream gets some sort of junk characters with the response.getOutputStream() method.So it errors out when I set the content length.
    I tried sending the data as a whole,but does not seem to make a difference.I was grasping at straws when I tried to break it into chunks.

  • I am getting an unable to connect error messagen when I start the browser. The setting is set to "no proxy" and my internet connection is working fine. What can I do to fix this?

    I opened up my firefox browser yesterday and it crashed. Since then I get an error message that says "unable to connect" every time I try to load the browser. The setting is set to "no proxy" So it should be connecting. My internet explorer browser is working fine. So I know it is not my internet connection. What can I do to make the firefox browser work again?

    Hi,
    Maybe the radio connection on the other end is not working. Hope this helps.
    xxmitchxx90

  • Could not initialize the browser's security component Error message when sending a link

    Using Ubuntu 9.10 64 bit. Firefox version is 3.6.3 and Thunderbird version is 2.0.0.24
    When sending a link with Firefox I get an error message "Could not initialize the browser's security component...". Tried deleting the cert8.db and secmod.db. Noticed if Thunderbird is already open I don't get the error message. But if Thunderbird is closed then opens to send the link I get that error message. Seems the security certificates aren't being passed to Thunderbird when it is opening up.
    == This happened ==
    Not sure how often
    == 2 days ago.

    Try to remove or rename the secmod.db (secmod.db.old) file in the Firefox Profile Folder.
    If that didn't help then remove or rename cert8.db (cert8.db.old) as well.
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    * C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;profile&gt;\
    The "Application Data" folder in XP/Win2K and the "AppData" folder in Vista/Windows 7 are hidden folders.
    *http://kb.mozillazine.org/Show_hidden_files_and_folders

  • Private Browsing function is suddenly not working. Error message :"The URL is not valid and cannot be loaded." How can I repair?

    Private Browsing function is suddenly not working. Error message :"The URL is not valid and cannot be loaded."
    How can I fix it?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Error message for PDF files "accept the End User License Agreement, then Quit and relaunch the browser"?

    Whenever I try to view a PDF file, I'm getting the error message "Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser." I have the new Adobe Reader but am still getting this message.

    Even after launching Reader and accepting the EULA? Most strange.

  • Getting error: Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser..  I just purchased the Adobe Acrobat Pro today on may MAC.

    Getting error:  Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser.  I just purchased and installed Adobe acrobat pro for the Mac today.

    Hi Tbeirne,
    If you just want to save a pdf opened in Safari to your machine use the save as option from within the Reader plugin window. Just click on any of the buttons highlighted in below screenshots to Save a pdf at any location on your machine.
    or
    To summarize the issue, if you had opened an Internet PDF in a browser plug-in, you must use the save feature in the plug-in, not the Safari File > PDF Export, or File > Save As...
    Please let us know if this solution works for you and you are able to save and view PDFs files locally.
    Regards,
    Shashi

  • Getting Error 500 when pressing the backbutton of the browser after log out

    I am working on a web project , and am using AJAX in my application. I need to get list of templates and events stored in the database when my page is being loaded so im using AJAX. the problem is, when i press the logout in my page and after logging out if i press the browsers back button then im getting the Http Error 500.
    Regarding this issue i previously also posted but i havent get solved my problem. (may be i havent posted my source code , rather i just posted error message.).
    Here is the error message of the browser,
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         com.koffee.eon.subscriber.action.TemplateNames.doPost(TemplateNames.java:66)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)
    Here is my source code of the TemplateNames class,
    package com.koffee.eon.subscriber.action;
    import com.koffee.eon.subscriber.persistence.*;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import java.text.SimpleDateFormat;
    import java.util.*;
    public class TemplateNames extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
         String html="",html1="";
         HttpSession session=request.getSession();
         UserCompleteDetails sessionDetails=(UserCompleteDetails)session.getAttribute("userdetails");
         System.out.println("checking session after logout"+sessionDetails);
         if(sessionDetails==null)
         System.out.println("session details in if condition is:"+sessionDetails);
         response.sendRedirect("/login.jsp");
         System.out.println("after checking "+sessionDetails);
         String type=null;
         type=request.getParameter("type");
    String subscriberUserEONId=sessionDetails.getUserEonId();
    System.out.println("subscriberUserEONId from session is: "+subscriberUserEONId);
         SimpleDateFormat sdfDate=new SimpleDateFormat("yyyy-MM-dd");
         SimpleDateFormat sdfTime=new SimpleDateFormat("HH:mm:ss");
         TemplateManagement dbObj=new TemplateManagement();          
    EventManager dbObj1=new EventManager(); // for events
         List templateNames=dbObj.getTemplates(subscriberUserEONId);
         List eventIds=dbObj1.getEventsCompleteList(subscriberUserEONId); // for events
         System.out.println("size of list of templates is:" + templateNames.size());
         System.out.println("size of list of events is: "+eventIds.size()); // for events
         if(type==null)
         html+="<table><tr><td>Select Your Invitation Card: ";
         html+="<select name=\"templateName\" class=\"cell\" onchange=getImage(this.value) onblur=checkTemplate() tabindex=\"1\">";
         html+= "<option value=\"0\">Select</option>";
         HashMap hmap=new HashMap();
         try {
         for(int i=0;i<templateNames.size();i++) {
         TemplateMaster bean=(TemplateMaster)templateNames.get(i);
         Integer templateid=bean.getTemplateId();
         String templatepath=bean.getTemplateRelevantpath();
         hmap.put(templateid,templatepath);
         System.out.println("path recevied from db for template is: "+templatepath);
    System.out.println("template id received from db is : "+templateid);
         html+= "<option value=\"" + templateid + "\">" + templateid + "</option>";
         } catch(Exception ee) {ee.printStackTrace();}
         session.setAttribute("hmap", hmap);
         html+="</select></td></tr><tr><td>";
         System.out.println("path new is : "+html);
         html+="</td>";
         System.out.println(html);
    html+="</td></tr><tr><td>Select an Event: ";
              html+="<select name=\"eventId\" class=\"cell\">";
              try {
         for(int j=0;j<eventIds.size();j++) {
         EventMaster bean=(EventMaster)eventIds.get(j);
         String eventName=bean.getEventName();
         Integer eventId1=bean.getEventId();
         String eventStartDate=sdfDate.format(bean.getEventStartdate());
         String eventStartTime=sdfTime.format(bean.getEventStarttime());
         String eventId=eventName+" on "+eventStartDate+" at "+eventStartTime;
         System.out.println("event id from database is : "+eventId1);
         System.out.println("event list from database is : "+eventId);
         html+= "<option value=\"" + eventId1 + "\">" + eventId + "</option>";
         } catch(Exception eee) {eee.printStackTrace();}
         html+="</select></td></tr></table>";
         System.out.println(html);
         out.println(html);
         out.flush();
         out.close();     
         if(type!=null)
         html1+="</td></tr><tr><td>Select an Event: ";
         html1+="<select name=\"eventId\" class=\"cell\">";
         try {
         for(int j=0;j<eventIds.size();j++) {
         EventMaster bean=(EventMaster)eventIds.get(j);
         Integer eventId1=bean.getEventId();
    String eventId2=eventId1.toString();
         String eventName=bean.getEventName();
         String eventStartDate=sdfDate.format(bean.getEventStartdate());
         String eventStartTime=sdfTime.format(bean.getEventStarttime());
         String eventId=eventName+" on "+eventStartDate+" at "+eventStartTime;
         System.out.println(eventId);
         html1+= "<option value=\""
    + eventId2 + "\">" + eventId + "</option>";
         } catch(Exception eee) {eee.printStackTrace();}
         html1+="</select></td></tr></table>";
         out.println(html1);
         out.flush();
         out.close();     
    }

    chinni wrote:
    java.lang.NullPointerException
         com.koffee.eon.subscriber.action.TemplateNames.doPost(TemplateNames.java:66)Do you understand when a NPE will be thrown? Some object reference at line 66 of TemplateNames.java is null while you didn't expect and you still invoke/access it. To fix this, add a nullcheck or just instantiate the reference.

  • Hi there I have updated to your lates version but every time I open up the browser and new windows I get this error message 'TypeError: Components.classes[cid] is undefined' although it does work but the message is very annoying

    Question
    Hi there I have updated to your lates version but every time I open up the browser and new windows I get this error message 'TypeError: Components.classes[cid] is undefined' although it does work but the message is very annoying

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Widget Browser "There was an error downloading the widget, error 2032"

    Hello,
    I ve a problem with the Adobe Widget Browser! Months ago it works fine and I ve installed some widgets without any trouble, but now I´ve this error: "There was an error downloading the widget, error 2032" already in the widget preview!
    I reinstalled the Widget Browser and Adobe Air - without any effect! Has anyone a sollution to fix the problem?
    Thank you very much,
    best wishes,
    Thorben

    http://forums.adobe.com/message/2861199?tstart=0
    http://forums.adobe.com/thread/861530
    http://forums.adobe.com/thread/892960
    http://forums.adobe.com/thread/801092
    http://forums.adobe.com/thread/869800?decorator=print&displayFullThread=true
    Has noone an idea how to fix it?

Maybe you are looking for

  • I am having issues with my mac book pro backing up

    It is taking days. I have 5200 photos on it and a few problems so the mac guys said to back it up so they can do a few things to it but nothing major. Why is it taking SO long to back up? It's at 7.45 GB and will be complete at 41 GB.

  • Why can't I see videos on QVC web site?

    When I am on the QVC.com web site the videos don't play.  Help.

  • Flash Board Game - If a player's destination space has a player on it already, move one more space.

    I have been struggeling with this for sometime and I am totally stuck. In my flash boardgame I am trying to make players unable to land ontop of each other. The code I am currently using compares the current space of Red Player comparing it to where

  • Laserjet 3050 with MacBook Pro

    I saw another support message say that the HP laserjet 3050 is no longer supported on the Mac. Is this true? After a recent Mac update I have been unable to print. The printer dialog just says "Waiting for printer to become available." And it never b

  • Error launching Help in CS4

    Just installed CS4 for the very first time as a new Photoshop user. Took the advice to do a standard install. Tried to run the Help functions and got the message "There was an error launching the Adobe Help functions.... may have to reinstall the app