Javascript Error after insert a Webpart into Page

Hi everone, have you ever experienced getting error just after inserting a Webpart into page? I'm using Sharepoint Server 2013. These steps what I did:
1. Create new page
2. Click 'Add Webpart'
3. Choose the webpart and click OK
4. Webpart showed on page (simple table form)
5. All ribbon controls are disable and there is javascript error on browser's console with message:
SCRIPT1004: Expected ';' 
Picture: http://i(dot)imgur(dot)com/UBM91b3(dot)png
That line is not from my codes, it's automatically added by sharepoint after inserting webpart. Thanks for anyone who has workaround for this..
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContractReviewWP.ascx.cs" Inherits="Mitrais.SP2013.ContractManagement.WebParts.ContractReviewWP.ContractReviewWP" %>
<script type="text/javascript">
$(function () {
Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(function (evt, args) {
//datepicker
$(".datePicker").datepicker();
</script>
<div id="divMain">
<asp:UpdatePanel ID="upContract" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:HiddenField ID="currentStage" runat="server" />
<h1>
<asp:Label ID="lblFormTitle" runat="server" Text="Request"></asp:Label>
Contract Review/Approval
</h1>
<div class="divControl">
<table>
<tr>
<td>
<asp:Label ID="lblTitle" runat="server" Text="Title"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="requiredValidatorTitle" runat="server" ErrorMessage="*" ControlToValidate="txtTitle" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblRequestType" runat="server" Text="Request Type"></asp:Label>
</td>
<td>:</td>
<td>
<asp:DropDownList ID="ddlRequestType" runat="server" CssClass="dropdownRequestType" OnSelectedIndexChanged="ddlRequestType_SelectedIndexChanged" AutoPostBack="true">
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblDocumentType" runat="server" Text="Document Type"></asp:Label>
</td>
<td>:</td>
<td>
<asp:DropDownList ID="ddlDocumentType" runat="server">
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblRequestedBy" runat="server" Text="Requested By"></asp:Label>
</td>
<td>:</td>
<td class="tdPeoplePick">
<SharePoint:PeopleEditor Enabled="false" ID="pplRequestedBy" runat="server" AllowEmpty="false" MultiSelect="false" SelectionSet="User" />
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblRequiredDate" runat="server" Text="Required Date"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="dtRequiredDate" runat="server" CssClass="datePicker"></asp:TextBox>
<asp:RequiredFieldValidator ID="requiredValidatorRequiredDate" runat="server" ControlToValidate="dtRequiredDate" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
</td>
</tr>
<asp:Panel ID="pnlRequestedDate" runat="server">
<tr>
<td>
<asp:Label ID="lblRequestedDate" runat="server" Text="Requested Date"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="dtRequestedDate" runat="server" CssClass="datePicker"></asp:TextBox>
</td>
</tr>
</asp:Panel>
<tr>
<td>
<asp:Label ID="lblDescription" runat="server" Text="Description"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredValidatorDescription" runat="server" ControlToValidate="txtDescription" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblClientCode" runat="server" Text="Client Code"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="txtClientCode" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="requiredValidatorClientCode" runat="server" ControlToValidate="txtClientCode" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblSSOCode" runat="server" Text="SSO Code"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="txtSSOCode" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="requiredValidatorSSOCode" runat="server" ControlToValidate="txtSSOCode" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
</td>
</tr>
<asp:Panel ID="panelCPC" runat="server">
<tr>
<td>
<asp:Label ID="lblCPC" runat="server" Text="CPC"></asp:Label></td>
<td>:</td>
<td><asp:TextBox ID="txtCPC" runat="server"></asp:TextBox></td>
<asp:CustomValidator ID="customValidatorCPC" runat="server" ControlToValidate="txtCPC" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:CustomValidator>
</tr>
</asp:Panel>
<tr>
<td>
<asp:Label ID="lblValue" runat="server" Text="Value (US$)"></asp:Label>
</td>
<td>:</td>
<td>
<asp:DropDownList ID="ddlValue" runat="server"></asp:DropDownList>
</td>
</tr>
<asp:Panel ID="panelCRM" runat="server">
<tr>
<td><asp:Label ID="lblCRMUpdated" runat="server" Text="CRM Updated"></asp:Label></td>
<td>:</td>
<td>
<asp:CheckBox ID="checkBoxCRMUpdated" runat="server" />
</td>
</tr>
</asp:Panel>
<tr>
<td>
<asp:Label ID="lblAgreement" runat="server" Text="Agreement Authorisation Level"></asp:Label>
</td>
<td>:</td>
<td>
<asp:DropDownList ID="ddlAgreement" runat="server"></asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblAssignedTo" runat="server" Text="Assigned To"></asp:Label>
</td>
<td>:</td>
<td class="tdPeoplePick">
<SharePoint:PeopleEditor ID="pplAssignedTo" runat="server" AllowEmpty="true" MultiSelect="false" SelectionSet="User" />
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblStatus" runat="server" Text="Status"></asp:Label>
</td>
<td>:</td>
<td>
<asp:DropDownList ID="ddlStatus" runat="server" CssClass="dropdownStatus"></asp:DropDownList>
</td>
</tr>
<asp:Panel ID="panelStartDate" runat="server">
<tr>
<td>
<asp:Label ID="lblStartDate" runat="server" Text="Start Date"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="txtStartDate" runat="server" CssClass="datePicker"></asp:TextBox>
</td>
</tr>
</asp:Panel>
<asp:Panel ID="panelEndDate" runat="server">
<tr>
<td>
<asp:Label ID="lblEndDate" runat="server" Text="End Date"></asp:Label>
</td>
<td>:</td>
<td>
<asp:TextBox ID="txtEndDate" runat="server" CssClass="datePicker"></asp:TextBox>
</td>
</tr>
</asp:Panel>
<asp:Panel ID="pnlTemplate" runat="server">
<tr id="rowTemplate">
<td>Selected Template</td>
<td>:</td>
<td>
<span id="selectedTemplateSpan"></span>
<asp:HiddenField ID="hdnSelectedTemplate" runat="server" />
<asp:Button ID="buttonLookupTemplate" runat="server" Text="Choose Template" CssClass="buttonTemplate" /></td>
</tr>
</asp:Panel>
<tr>
<td>
<asp:Label ID="lblLatestDocument" runat="server" Text="Latest Document"></asp:Label>
</td>
<td>:</td>
<td>
<asp:HyperLink ID="linkLatestDocument" runat="server"></asp:HyperLink>
<asp:FileUpload ID="fuLatestDocument" runat="server" />
<asp:CustomValidator ControlToValidate="fuLatestDocument" OnServerValidate="LatestDocument_ServerValidate"
ErrorMessage="The document with same name already exist, please use different name." SetFocusOnError="true" runat="server" ForeColor="Red" />
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblTaggedPerson" runat="server" Text="Person Tagged">
</asp:Label>
</td>
<td>:</td>
<td class="tdPeoplePick">
<SharePoint:PeopleEditor ID="peopleTaggedPerson" runat="server" MultiSelect="true" AllowEmpty="true" SelectionSet="User" />
</td>
</tr>
</table>
</div>
<div>
<table class="tbButton">
<tr>
<td></td>
<td>
<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" OnClientClick="PreSubmit();" ValidationGroup="SubmitValidation"/>
</td>
<td>
<asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click"/>
</td>
<asp:TextBox ID="txtCheck" runat="server" Text="Add" Visible="false"></asp:TextBox>
<asp:TextBox ID="txtTempID" runat="server" Style="visibility: hidden;"></asp:TextBox>
<asp:TextBox ID="txtIsAddNew" runat="server" Text="true" Visible="false"></asp:TextBox>
</tr>
</table>
</div>
<div id="tabContainer">
<div class="tabs">
<ul>
<li id="tabHeader_1">Comment</li>
<li id="tabHeader_2">Document Template History</li>
</ul>
</div>
<div class="tabscontent">
<div class="tabpage" id="tabpage_1">
<div id="phComment" runat="server"></div>
</div>
<div class="tabpage" id="tabpage_2">
<div id="phDocHistory" runat="server" />
</div>
</div>
</div>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnSubmit" />
</Triggers>
</asp:UpdatePanel>
<asp:HiddenField ID="hfComment" runat="server" />
</div>
<script type="text/javascript">
$("#<%= upContract.ClientID %>").ready(function () {
setTimeout(MitraisCM.contract(), 5000);
</script>

Hi,                                                             
Per my knowledge, such error might occurred when we modify the HTML code of the page, through SharePoint Designer or Content Editor Web Part.
What web part you added into the page?
What if you create another new page and insert a list into it, will the error occurs?
Feel free to reply with the test result if the issue still exists.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • Got this error after deploying ear file into OC4J server.

    Hello Frnsz,
    Can any one help to resolve the following error :)
    Got this error after deploying ear file into OC4J server.
    2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
    2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
    2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
    2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
    Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
    Cheers,
    Cap

    Cross posted in correct forum
    [http://forum.java.sun.com/thread.jspa?threadID=5302192]

  • Javascript error with insert record. Please help!

    I  contacted Adobe  support today and they said to get on these forums as  they cant help  with coding errors.
    When i try to  insert a Record I  get the following error:
    while executing onLoad in  InsertRecord.htm, the  following JavaScript error(s) occurred:
    At  line 665 of file  "C:\Program Files\Adobe   DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord.js":
    name    has no properties
    Line 655
          if (columnName.toUpperCase() ==   name.toUpperCase())
    Im running Win 7 64bit
    I contacted  Adobe  support today and they said to get on these forums as they cant  help  with coding errors.
    I have formatted my Pc and reinstalled and the  same error  comes up. If I try to edit and existing insert record it  works fine,  when I create a new page and then try to add a new insert  recordset i  get this erro again.
    i have since reinstalled Windows & 32Bit  to see if  that helped, nope. I have installed no extensions its a  clean install.
    Any  help  after spending a small fortune on this software.

    I think you are trying to run the program but you don't have the required class POP3Session.class or it's .java file which you can compile.
    Another example for pop3 and smtp is on the following link..check if it helps you..
    http://www.cs.umu.se/~hed/java/ch11.htm

  • How can you insert foreign letters into pages in Maverick? The old option of holding down the key has disappeared.

    After downloading Mavericks on the MacBook Air, the ability to hold down a key and insert a foreign language symbol or letter disappeared. How can foreign language alphabet symbols/letters be inserted into Pages?

    Are you still using the US keyboard layout?
    Pending a solution to restore the Character Picker, you can use the traditional option key shortcuts for many characters, e.g. option + e, then e produces é.
    Plus you can use Edit > Special Characters to bring up the Character Viewer.

  • Insert ImageReady HTML Into Page

    I created a very cool navigational graphic with remote
    rollovers, all sliced up and ready to go. I did the standard 'Save
    Optimized As...' and have an HTML file with a subfolder of graphic
    image slices.
    Now I want to insert this HTML into a page and it won't do
    it. I even downloaded the exchange extension for this, but that
    extension was created back in 2000 and apparently it doesn't work
    (you get an error if you try to insert it). You can't use the
    Insert Fireworks HTML either because it says it's not a fireworks
    doc and rejects the insert.
    OK... now why is it the best image editing software is not
    compatible with the best web design software..... when they are
    both owned by adobe now? suggestions other then reslicing
    everything all over in fireworks?

    Copy and paste? It shouldn't be hard....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jsteinmann" <[email protected]> wrote in
    message
    news:ejaesd$pj4$[email protected]..
    >I created a very cool navigational graphic with remote
    rollovers, all
    >sliced up
    > and ready to go. I did the standard 'Save Optimized
    As...' and have an
    > HTML
    > file with a subfolder of graphic image slices.
    >
    > Now I want to insert this HTML into a page and it won't
    do it. I even
    > downloaded the exchange extension for this, but that
    extension was created
    > back
    > in 2000 and apparently it doesn't work (you get an error
    if you try to
    > insert
    > it). You can't use the Insert Fireworks HTML either
    because it says it's
    > not a
    > fireworks doc and rejects the insert.
    >
    > OK... now why is it the best image editing software is
    not compatible with
    > the
    > best web design software..... when they are both owned
    by adobe now?
    > suggestions other then reslicing everything all over in
    fireworks?
    >

  • Error while inserting .doc file into CLOB object in oracle

    hello everybody ,
    i am trying to insert .doc file into clob column in oracle database.i am using oracle 8i. But i am getting error saying
    ORA-01461: can bind a LONG value only for insert into a LONG column
    i have no clue.
    i am pasting code here
    please help me out.
    regards
    darshan
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileReader;
    import java.io.Reader;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    public class InsertingClob {
    public static void main(String[] args) {
    File f = new File("E:\\dar
    sowres.doc");
    int len = (int) f.length();
    System.out.println(len);
    Connection conn = null;
    PreparedStatement ps = null;
    try {
    FileReader fr = new FileReader(f);
    String FILE_INSERT_QUERY = "INSERT INTO RESUMED VALUES(?,?)";
    conn = JDBCUtility.getConnection();
    ps = conn.prepareStatement(FILE_INSERT_QUERY);
    ps.setString(1,"1");
    ps.setCharacterStream(2,fr,len);
    int result = ps.executeUpdate();
    if(result ==1) {
    System.out.println("file has been successfully inserted into the db");;
    }else {
    System.out.println("not inserted");
    }catch (Exception e) {
    e.printStackTrace();
    and the error is
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:609)
    at InsertBlob.main(InsertBlob.java:21)
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column

    You may have one of a few errors going for you there:
    The error says your column in Oracle is a Long not a CLOB, if it is, then make your column a CLOB.
    CLOB's are not suppored in all environments and/or all interfaces (specifically Windoz ODBC has a problem).
    I believe a DOC (Windoz MS-Word) file is a BLOB, due to formatting characters in the file.
    I had a very similar error using Access and trying to do this, but changing to SAS fixed the problem. It could very well be that your version of ODBC/JDBC drivers does not support it properly.

  • Javascript error throws the portal theme configuration page

    General Description: Javascript error and jump to the portal theme
    configuration page
    EP: NW04s SP12 including KMC
    We have a problem when we entry to the portal, a javascript
    error happens and immediately jumps to the portal theme configuration
    page. We entry at the portal with a user that have assigned the next groups.
    LR_Administrador LR_Administrador Base de datos UME
    Everyone Built-in Group Everyone Adaptador de grupo integrado
    Authenticated Users Built-in Group Authenticated Users Adaptador de
    grupo integrado
    The group LR_Administrador have assigned this role
    Nombre unívoco:
    pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles/kof.com.mx.LR_MX_ROL_Administrador
    Nombre de visualización: kof.com.mx.LR_MX_ROL_Administrador
    Ubicación:
    pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles
    Descripción: Libro Rojo
    ID unívoco: ROLE.PCD_ROLE_PERSISTENCE.38yt+Psq/fFQuE3Uxdt52Azfdpg=
    The role LR_MX_ROL_Administrador, have assigned only one page called:
    LR_MX_PAG_Edicion
    This page contains a KM Navigation iview.
    When we entry with this user, the browser show us this javascript error:
    Linea: 107
    Car: 116
    Error: 'children' es nulo o no es un objeto
    Codigo: 0
    URL: http://fedbdvep:50000/irj/portal
    And immediately show the portal theme configuration page.
    We need that the user see the page assigned, but this error shows him
    always the portal theme configuration page. This kind of error happens with
    other roles too. We've found a workaround
    for this situation, doing click on the first level navigation, the
    LR_MX_PAG_Edicion page shows normally.
    Thank for any help.
    Regards
    Jose

    Thanks for your update, we have resolved the issue with this help. Very thankfull.
    regards,
    kishore

  • Javascript error after upgrade

    Hello All,
    We have just upgarded from Sp12 to SP14. We have developed web dynpro applications which are to be viewed from the portal. We did not use any custom themes for the web dynpro applications ,although we used a custom theme for the portal itself. After upgrading to SP14 all the web dynpro controls have become non-interactive. The browser also shows that there are javascript errors. Somehow I think that my problem is related to themes. I have tried to read up many postings on the forums but can't seem to find a way to fix this issue? Can anyone help me out?
    Thanks

    I got the same problem but I saw in an another thread :
    BSP - non Unicode caracters - need to put an "InpuField" after a "Tray"
    Mr. bindiya have try on the same release without any problem. I sent to him an email to check.
    Regards,
    Francesco

  • JavaScript error after installing WebAssist Extentions

    Hello,
    I'm running Windows XP Pro UK SP2 with all updates. After
    installing extention from WebAssist I got two errors saying:
    1.) While excuting receiveArguments in WASA_Settings.htm, the
    following JAvaScript error(s) occured: At line 24 of file
    C:\Program Files\Macromedia\Dreamweaver
    8\Commands\WASA_Settings.js: Exeption thrown in native fuction.
    2.) While excuting receiveArguments in WASA_Settings.htm, the
    following JAvaScript error(s) occured: At line 234 of file
    C:\Program Files\Macromedia\Dreamweaver
    8\Commands\WASA_Settings.js:THe object is not currently contained
    in a document.
    It looks like the problem is related to IE security. When I
    turn off IE security level it worked fine but in XP SP2 you can not
    turn down your security level below Medium.
    Can anyone tell how to resolve this error.
    Thanks

    Techlion wrote:
    > Can anyone tell how to resolve this error.
    Have you contacted their support?
    Cheers jojo
    Adobe Community Expert for Dreamweaver 8
    http://www.webade.co.uk
    http://www.ukcsstraining.co.uk/
    Extending Knowledge, Daily.
    http://www.communityMX.com/
    Free 10 day trial
    http://www.communitymx.com/joincmx.cfm

  • Javascript error after last sharepoint 2013 update : unable share single list element

    After yesterday update of SharePoint 2013 using Windows update we receive a JavaScript error when we try to share a single list element. Our IE is Italian the error is "Properties or field not inizialized"
    This is the user interface "hanged" and wait ....
    The problem not exist if we share an entire list or website.
    LSo Lorenzo Soncini Trento TN - Italy

    Hi Lorenzo,
    Glad that you solved the issue and thanks for sharing, this will benefit others who have similar issue.
    Regards,
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • JavaScript errors after v4 upgrade

    Hi,
    we are currently in the process of upgrading our APEX from v2 to v4.
    We have copied all of the application over and are currently testing them.
    One thing we have noticed is that there are JavaScript errors on the pages which are not present in v2.
    e.g Line: 2
    Char: 61979
    Error: 'length' is null or not an object
    The application still works despite this error message. Was wondering if anyone has had similar problems in APEX 4?
    Thanks
    Edited by: Cashy on 23-Nov-2010 03:22

    I removed all report regions from the page, then run it and the errors disappeared. I then put the regions back one by one and the error didnt come back.
    Quite confusing and not quite sure what was wrong but it works OK now.
    The version we are upgrading to is Application Express 4.0.0.00.46 and the templates we are using is template12.
    Thanks for your time
    Chris
    Edited by: Cashy on 23-Nov-2010 05:15

  • Javascript error when inserting dynamic table in DW

    Hi
    Im using DW9 (CS3) and have problem.
    When i klick on the 'dynamic table' button i get this error:
    While executing insertObject in Dynamic Table.htm, a
    Javascript error(s)
    occurred:
    Any sulution?
    Please send me a copy fo the reply to my mail:
    [email protected]
    /Torbjörn

    If that fails to solve the problem, then I recommend you
    contact Adobe
    directly and use one of your one-on-one support incidents.
    http://www.adobe.com/support/programs/dreamweaver/index.html?tab:contact=1
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Torbjörn Sjögren" <[email protected]>
    wrote in message
    news:fa26gs$bns$[email protected]..
    >I have tried several of the tips in the article. But no
    luck.
    > Did a reinstall of DW but no luck.
    > I´m very thankful for any tips.
    >
    > "Murray *ACE*" <[email protected]>
    skrev i meddelandet
    > news:fa004o$np6$[email protected]..
    >> Troubleshooting JavaScript errors in Dreamweaver
    >>
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    >>
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Torbjörn Sjögren"
    <[email protected]> wrote in message
    >> news:f9vu6c$lol$[email protected]..
    >>> Hi
    >>>
    >>> Im using DW9 (CS3) and have problem.
    >>> When i klick on the 'dynamic table' button i get
    this error:
    >>> ---------
    >>> While executing insertObject in Dynamic
    Table.htm, a Javascript error(s)
    >>> occurred:
    >>> ---------
    >>>
    >>> Any sulution?
    >>>
    >>> Please send me a copy fo the reply to my mail:
    >>> [email protected]
    >>>
    >>> /Torbjörn
    >>>
    >>
    >>
    >
    >

  • Javascript errors after ecc upgrade

    Hi,
    At customer site an ECC 4.7 -> 6.0 upgrade has been performed. The BSPs from the old portal server are moved to the ECC6 backend system (ABAP stack installed only).
    Now the BSPs are returning javascript errors when pressing buttons, tabstripitems etc. The error is 'object expected'. These BSPs are using htlmb tags. I made a simple test BSP with a click button and that one is also returning the javascript error.
    When checking the generated code, I see a lot of javascript methods being called, but I dont see them declared.
    Can anyone help me out?
    With regards,
    Mike

    js definitions would be as a separate file in the mime repository.
    couple of things to check
    1. check in SICF whether sap/public/bc and sap/public/bsp nodes are active
    2. invalidate the server cache from transaction SMICM->goto
    and search for possible oss notes

  • Javascript error for Inserting Pages from a source

    Below is a script I wrote that isn't functioning properly on my large 200 page document that I need it to. Granted there might be a much easier way to script this, but I'm no expert. I have a 200 page document that needs to be 600 pages, basically every page needs to be copied twice (and obviously placed right after the original. So I have the original PDF, then I copied that PDF to use as a source document to copy from. (To clarify if I'm not being clear, the first 3 pages would be page 1, 2, 3,... it needs to be: 1,1,1,2,2,2,3,3,3 etc)
    var targetpage = 0;
    var sourcepage = 0;
    while(sourcepage < 199)
        this.insertPages({
            nPage: targetpage,
            cPath: "source.pdf",
            nStart: sourcepage,
            nEnd: sourcepage
        targetpage++;
        this.insertPages({
            nPage: targetpage,
            cPath: "source.pdf",
            nStart: sourcepage,
            nEnd: sourcepage
        sourcepage++;
        targetpage=targetpage+2;
    It gives me an error that I have no idea means, nor how to correct after only placing a total of 3 pages - so the doc went from 200 to 203 (2 of page 1 as intended, then 1 page of page 2, then for some reason it stops...
    InvalidArgsError: Invalid arguments.
    Doc.insertPages:9:Batch undefined:Exec
    Why is it stopping? And please don't assume I know what I'm doing Thank you.

    Have you read the Acrobat JS API Reference about the insertPages and the path value and restrictions?
    insertPages now needs to use the "privileged context" when not being run as a console or batch event.
    Safe path
    Acrobat 6.0 introduced the concept of a safe path for JavaScript methods that write data to the local hard drive based on a path passed to it by one of its parameters.
    A path cannot point to a system critical folder, for example a root, windows or system directory. A path is also subject to other unspecified tests.
    For many methods, the file name must have an extension appropriate to the type of data that is to be saved. Some methods may have a no-overwrite restriction. These additional restrictions are noted in the documentation.
    Generally, when a path is judged to be not safe, a NotAllowedError exception is thrown (see Error object) and the method fails.

  • JBO-26048 error after insert delete commit

    Using JDeveloper 10.1.2 running local OC4J against Oracle 9i database
    * JBO-26048: Constraint "APPLREFLTR_PK" violated during post operation:"Insert" using SQL Statement "BEGIN INSERT INTO DCSAT_APPL_REF_LETTER(APPLICANT_ID,LETTER_ID,LETTER_INF,CREATED_BY,CREATED_DATE,UPDATED_BY,UPDATED_DATE) VALUES (:1,:2,:3,:4,:5,:6,:7) RETURNING APPLICANT_ID INTO :8; END;".
    * ORA-00001: unique constraint (APPTRACK.APPLREFLTR_PK) violated ORA-06512: at line 1
    This was working yesterday??? I was so close then spent a day trying to track down what broke. I tried changing the database primary key to deferrable, which just changed the error message to one that said I had too many primary keys.
    Basically the following code inserts a blank row into the view object. It then looks for an existing record, if found row.remove() is called on the found row. I then update the primary key in the current record from data on the form. (The primary key is set as a dbsequence, but there isn't a trigger to set it.) then commit. I was thinking that it was the chronological order bit that is listed in the latest ADF documentation. The thing is, this did work. A case of turning off the computer, removing all class files, rebuilding the tables and running the app - now broken...
    I would appreciate ideas on where to troubleshoot, or help on how to troubleshoot this one.
    Thanks,
    Ken
    I am uploading files into an ORDSYS.ORDDOC datatype following example 3 from Steve Muench's weblog. Here is the code in my DataActionForward:
    <code>
    public class UploadReferenceLettersAction extends DataForwardAction {
    protected void processUpdateModel(DataActionContext actionContext) {
    System.out.println("*** UploadReferenceLettersAction.processUpdateModel() ***");
    super.processUpdateModel(actionContext);
    if (!(handlingEvents(actionContext))) {
    /* Create a blank record in the model and set it as the current row - only the first time in. */
    BindingContext bc = actionContext.getBindingContext();
    DCDataControl dc = bc.findDataControl("ApptrackModuleDataControl");
    ApptrackModule service = (ApptrackModule)dc.getDataProvider();
    service.insertRowRefLetterView();
    protected void findForward(DataActionContext actionContext) throws Exception {
    System.out.println("*** UploadReferenceLettersAction.findForward() ***");
    /* Try to catch errors instead of the default error handler. */
    try {
    List events = actionContext.getEvents();
    if (events != null && events.size() > 0) {
    ListIterator li = events.listIterator();
    while (li.hasNext()) {
    System.out.println("UploadApplicantResumeAction.findForward()- event : " + li.next().toString());
    } catch (Exception e) {
    System.out.println(e.getMessage() );
    // e.printStackTrace(System.out);
    super.findForward(actionContext);
    public void onCommit( DataActionContext ctx ) {
    System.out.println("*** UploadReferenceLettersAction.onCommit() ***");
    /* Get LetterId from the form
    DCBindingContainer bindings = ctx.getBindingContainer();
    DCControlBinding binding;
    binding = bindings.findCtrlBinding("LetterId");
    String letterId = (binding != null) ? binding.toString() : "";
    DBSequence letterID = new DBSequence(letterId);
    /* get applicantId */
    HttpSession session = ctx.getHttpServletRequest().getSession();
    String applicantId = "" + (String)session.getAttribute("applicantid");
    DBSequence applicantID = new DBSequence(applicantId);
    /* Remove and existing record with applicantId and letterId */
    BindingContext bctx = ctx.getBindingContext();
    DCDataControl dc = bctx.findDataControl("ApptrackModuleDataControl");
    ApptrackModule service = (ApptrackModule)dc.getDataProvider();
    // service.deleteRefLetterByApplicantidLetterid(applicantId, letterId); // passing values as Strings
    service.deleteRefLetterByApplicantidLetterid(applicantId); // passing values as Strings
    /* Update the currentRow */
    System.out.println("UploadReferenceLettersAction.onCommit() - applicantId = " + applicantId);
    // System.out.println("UploadReferenceLettersAction.onCommit() - letterId = " + letterId);
    DCBindingContainer bc = ctx.getBindingContainer();
    DCIteratorBinding iter = bc.findIteratorBinding("ApplRefLetterView1Iterator");
    Row r = iter.getCurrentRow();
    r.setAttribute("ApplicantId",applicantID); // Setting value that is of type DBSequence
    // r.setAttribute("LetterId",letterID); // Setting value that is of type DBSequence
    /* Commit the transaction */
    System.out.println("UploadReferenceLettersAction.onCommit() - Saving upload starting");
    if (ctx.getEventActionBinding() != null) {
    ctx.getEventActionBinding().doIt();
    System.out.println("UploadReferenceLettersAction.onCommit() - Saving upload complete");
    ctx.setActionForward(ctx.getActionMapping().findForward("success"));
    public void onRollback(DataActionContext ctx) {
    System.out.println("*** UploadReferenceLettersAction.onRollback() ***");
    ctx.setActionForward(ctx.getActionMapping().findForward("Edit"));
    if (ctx.getEventActionBinding() != null) {
    ctx.getEventActionBinding().doIt();
    protected boolean handlingEvents(DataActionContext ctx) {
    List events = ctx.getEvents();
    return (events != null) && (events.size() > 0);
    </code>
    In my ApplicationModule, I have the following methods for adding and deleting code:
    <code>
    public void insertRowRefLetterView() {
    ViewObject vo = getApplRefLetterView1();
    Row aRow = vo.createRow();
    vo.insertRow(aRow);
    vo.setCurrentRow(aRow);
    public void deleteRefLetterByApplicantidLetterid(String applicantId) {
    Key k = new Key(new Object[] { new DBSequence(applicantId) });
    System.out.println("ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - key = " + k.toStringFormat(false));
    ViewObject vo = getApplRefLetterView1();
    Row[] r = vo.findByKey(k, 1);
    if (r.length < 1) {
    System.out.println("ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - No key to delete");
    } else {
    System.out.println("ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - Found key to delete");
    Row rowFound = r[0];
    String appId = rowFound.getAttribute("ApplicantId").toString();
    System.out.println("ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - appId = " + appId);
    rowFound.remove();
    return;
    </code>

    I ran again with the -Djbo.debugoutput=console
    There was one line that didn't seem right:
    EntityCache:add WARNING - new row key matches a removed row
    Shortly after this, I get the primary key violation.
    *** UploadReferenceLettersAction.onCommit() ***
    ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - key = 00010000000132
    ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - Found key to delete
    ApptrackModuleImpl.deleteRefLetterByApplicantidLetterid(applicantId) - appId = 2
    [472] OracleSQLBuilder Executing Select on: DCSAT_APPL_REF_LETTER (true)
    [473] Built select: 'SELECT APPLICANT_ID, LETTER_ID, LETTER_INF, CREATED_BY, CREATED_DATE, UPDATED_BY, UPDATED_DATE FROM DCSAT_APPL_REF_LETTER ApplRefLetter'
    [474] Executing LOCK...SELECT APPLICANT_ID, LETTER_ID, LETTER_INF, CREATED_BY, CREATED_DATE, UPDATED_BY, UPDATED_DATE FROM DCSAT_APPL_REF_LETTER ApplRefLetter WHERE APPLICANT_ID=:1 FOR UPDATE NOWAIT
    [475] QueryCollection: afterRemove(1)
    [476] ViewRowCache: removeReference, vr id = 6
    [477] Delete [DeleteEvent: ApplRefLetterView1 rowIndex=1 countB4=2 count=1 rmvFromTab=true]
    UploadReferenceLettersAction.onCommit() - applicantId = 2
    UploadReferenceLettersAction.onCommit() - Saving upload starting
    [478] EntityCache:add WARNING - new row key matches a removed row
    [479] [UpdateEvent: ApplRefLetterView1 rowIndex=0 attrIndices=0]
    [480] OracleSQLBuilder: SAVEPOINT 'BO_SP'
    [481] [UpdateEvent: ApplRefLetterView1 rowIndex=0 attrIndices=5]
    [482] [UpdateEvent: ApplRefLetterView1 rowIndex=0 attrIndices=6]
    [483] OracleSQLBuilder Executing, Lock 1 DML on: DCSAT_APPL_REF_LETTER (Insert)
    [484] INSERT buf ApplRefLetter>#i SQLStmtBufLen: 480, actual=178
    [485] BEGIN INSERT INTO DCSAT_APPL_REF_LETTER(APPLICANT_ID,LETTER_ID,LETTER_INF,CREATED_BY,CREATED_DATE,UPDATED_BY,UPDATED_DATE) VALUES (:1,:2,:3,:4,:5,:6,:7) RETURNING APPLICANT_ID INTO :8; END;
    [486] OracleSQLBuilderImpl.doEntityDML failed...
    [487] X/Open SQL State is: 23000
    [488] java.sql.SQLException: ORA-00001: unique constraint (APPTRACK.APPLREFLTR_PK) violated
    ORA-06512: at line 1
    Thanks! Ken

Maybe you are looking for