JavaScript error in menus.xml

I'm working with DW 8, and some template files created in DW
MX2004.Has anyone experienced the following error when closing old
template files?
While executing DWMenu_File_Close command in menus.xml, the
following JavaScript error(s) occurred:
Exception thrown in native function.
I've gotten a similar error before, but it had to do with
imbedding library items inside template pages. But, all of those
had been created in DW MX2004. Any ideas?

You can find anything you want on these forums or on the
internet. The
question is - is it credible. This one is not.
What extensions do you have installed?
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
==================
"safetypin" <[email protected]> wrote in
message
news:[email protected]...
>I was looking around the forum a little, and I found
someone talking about
>how
> it was related to the fact that there was javascript on
the page. I opened
> each
> template file, removed the link to the javascript
(nothing was embedded),
> saved
> it (it crashed), reopened dreamweaver and then when I
opened the file, it
> didn't crash anymore. So, I added the link to the
javascript file back in
> there, and it looks like everything is ok now. But, in
case it happens
> again,
> this are the files that are giving me trouble:
>
>
http://digitalevent.net/Templates/index.dwt
>
http://digitalevent.net/Templates/index2.dwt
>
http://digitalevent.net/Templates/index3.dwt
>
> &
>
>
http://digitalevent.net/index.htm
>
http://digitalevent.net/index2.htm
>
http://digitalevent.net/index3.htm
>
> Those were the only three html files I tested for the
error. The weird
> thing
> was, sometimes there was a noticable delay between
closing a file and the
> exception being thrown. Sometimes I was actually able to
open two or three
> files (I click pretty fast sometimes) before the
exception would be
> thrown. I
> think this is why I thought I had discovered the problem
before. I also
> tried
> to detaching the html files from the templates, but that
didn't help.
>
> This is the second time I've run into the exception
being thrown while
> executing DWMenu_File_Close command in menus.xml. The
first time, as I
> mentioned before, it was related to Library items being
embedded in a
> template
> (I think). I removed the Library item and it worked
fine. Eventually I
> think I
> solved it by recreating the Library items entirely, by
copying and pasting
> each
> line from a text file. Really strange, but I think the
common element is
> that
> it has happened while dealing with a
site/template/library item created in
> DW
> MX2004. Are there any known conflicts, or anything I can
do to avoid this
> in
> the future?
>

Similar Messages

  • CS4 menus.xml error?

    Hello!
    I just installed Dreamweaver CS4 on my Mac, but whenever I
    launch the application I get an error that tells me Dreamweaver has
    encountered an error, when accessing the menus.xml file. It then
    recommends that I delete the current menus.xml file and rename
    "menus.bak" as menus.xml.
    After doing this several times, uninstalling and reinstalling
    Dreamweaver, I still cannot launch the application. Any
    suggestions?
    Thanks!

    What extensions have you installed? This error is typically
    associated with
    installation of a non-DWCS3-compatible extension.
    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
    ==================
    "pg1380" <[email protected]> wrote in
    message
    news:fatb9h$eup$[email protected]..
    > I'm have installed Dreamweaver CS3 and i keep getting a
    menus.xml error.
    > I
    > ha've renamed the menus.bak files to menus.xml as stated
    and have even
    > reinstalled a couple of times after removing the files
    manual as well. I
    > am
    > getting quite desparate so any ideas would be most
    appreciated.
    >

  • Menus.xml error on startup

    I'm have installed Dreamweaver CS3 and i keep getting a
    menus.xml error. I ha've renamed the menus.bak files to menus.xml
    as stated and have even reinstalled a couple of times after
    removing the files manual as well. I am getting quite desparate so
    any ideas would be most appreciated.

    What extensions have you installed? This error is typically
    associated with
    installation of a non-DWCS3-compatible extension.
    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
    ==================
    "pg1380" <[email protected]> wrote in
    message
    news:fatb9h$eup$[email protected]..
    > I'm have installed Dreamweaver CS3 and i keep getting a
    menus.xml error.
    > I
    > ha've renamed the menus.bak files to menus.xml as stated
    and have even
    > reinstalled a couple of times after removing the files
    manual as well. I
    > am
    > getting quite desparate so any ideas would be most
    appreciated.
    >

  • Help! Why am i getting these JavaScript errors in Dreaweaver and how can I fix it???

    This only happens whenever I try to access code view, and it won't allow me to add any more code. This is the error message I get:
    "While executing DWMenu_View_Text command in menus.xml, the following JavaScript error(s) occurred:
    Exception thrown in native function"
    A third party tried to access my site, but the page froze, with an error message:
    "Script error on line........."
    I'm not sure if this has something to do with FileZilla, but now when I try to open it, I get number of error messages about, "failed to write xml file" and "Application Data\FileZilla\filezilla.xml (error 5: access is denied.)"
    I've tried deleting the WinFileCache from Dreamweaver and disabled all extensions, but none of these helped.
    Please help. does anyone know what's going on?

    I've never heard of a Filezilla DW extension, but this is the KB article for you:
    http://kb2.adobe.com/cps/405/kb405604.html

  • Getting javascript error in dmw 8

    was working fine....now when i go to save to the remote
    server it freezes and gives me this error:
    While executing DMW_File SaveDocumentToRemoteServer command
    in menus.xml, the following javascript errors ocurred:
    Exception thrown in native function.
    ive tried uninstalling and reinstalling....deleteing all keys
    and files...nothing works.....what could be causing this?

    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
    ==================
    "djtheraven" <[email protected]> wrote in
    message
    news:eogv6o$hoa$[email protected]..
    > was working fine....now when i go to save to the remote
    server it freezes
    > and
    > gives me this error:
    >
    > While executing DMW_File SaveDocumentToRemoteServer
    command in menus.xml,
    > the
    > following javascript errors ocurred:
    > Exception thrown in native function.
    >
    > ive tried uninstalling and reinstalling....deleteing all
    keys and
    > files...nothing works.....what could be causing this?
    >

  • Exception caught while loading menus.xml: TypeError: Access is denied. (IE), WORKS IN Firefox

    hi iam trying to get the data into spry table(Dr-cs3) from xml file and iam using spry xml dataset.  my application is working in every browser except in IE.
    ERROR IS :  
    Exception caught while loading menus.xml: TypeError: Access is denied.

    Hi
    this error is because of spryData.js, spryXapth.js generated by Dr CS3, I used Dr CS4 generated javascript files, then the same application is working.

  • Javascript error. 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.

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    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
    ==================
    "sarsie64" <[email protected]> wrote in
    message
    news:e9dld7$2hq$[email protected]..
    > um...
    > I have Dreamweaver MX 2004 and suddenly, when I tried to
    open a file, it
    > came
    > up with this error message
    > "while executing DWMenu_File_Open command in menus.xml,
    the following
    > JavaScript error(s) occured:
    > The dreamweaver.createDocument() and
    document.openDocument() functions can
    > only be called by a command or property inspector, not
    an object or
    > behaviour"
    > this is slightly worring. I was only trying to open a
    ordinary HTML file
    > and
    > it has another error message for when you try and open
    something from File
    > >
    > Open Recent as well... please someone help.. Dreamweaver
    is my LIFE!!!
    >

  • Opening javascript error.. please help!

    um...
    I have Dreamweaver MX 2004 and suddenly, when I tried to open
    a file, it came up with this error message
    "while executing DWMenu_File_Open command in menus.xml, the
    following JavaScript error(s) occured:
    The dreamweaver.createDocument() and document.openDocument()
    functions can only be called by a command or property inspector,
    not an object or behaviour"
    this is slightly worring. I was only trying to open a
    ordinary HTML file and it has another error message for when you
    try and open something from File > Open Recent as well... please
    someone help.. Dreamweaver is my LIFE!!!

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    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
    ==================
    "sarsie64" <[email protected]> wrote in
    message
    news:e9dld7$2hq$[email protected]..
    > um...
    > I have Dreamweaver MX 2004 and suddenly, when I tried to
    open a file, it
    > came
    > up with this error message
    > "while executing DWMenu_File_Open command in menus.xml,
    the following
    > JavaScript error(s) occured:
    > The dreamweaver.createDocument() and
    document.openDocument() functions can
    > only be called by a command or property inspector, not
    an object or
    > behaviour"
    > this is slightly worring. I was only trying to open a
    ordinary HTML file
    > and
    > it has another error message for when you try and open
    something from File
    > >
    > Open Recent as well... please someone help.. Dreamweaver
    is my LIFE!!!
    >

  • Dreamweaver 6.1 - JavaScript error when switching between open tabs

    When switching between open tabs a sequence of javascript
    errors occurs. I had not used Dreamweaver for about 2 weeks, and
    last time I used it with no problems.
    I have tried uninstalling it, OKing removal of all files when
    asked, re-installing it and updating with dwmx61_updater.exe, but I
    still get the same errors.
    This has rendered the software virtually unuseable, so any
    help would be greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Forward enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error occurred"
    The relevant code seems to be :
    <!-- Browser nav toolbar -->
    <toolbar id="Browser_Toolbar" platform="win"
    label="Browser Navigation" container="document"
    initiallyVisible="false">
    <button id="Browse_Back"
    image="Toolbars/images/MM/back.gif"
    disabledImage="Toolbars/images/MM/back_dis.gif"
    tooltip="Back"
    label="Back"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    command="dw.getDocumentDOM().browser.backPage()"
    update="onEveryIdle"/>
    <button id="Browse_Forward"
    image="Toolbars/images/MM/forward.gif"
    disabledImage="Toolbars/images/MM/forward_dis.gif"
    tooltip="Forward"
    label="Forward"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    command="dw.getDocumentDOM().browser.forwardPage()"
    update="onEveryIdle"/>
    <button id="Browse_Stop"
    image="Toolbars/images/MM/stop.gif"
    disabledImage="Toolbars/images/MM/stop_dis.gif"
    tooltip="Stop"
    label="Stop"
    enabled="dw.getDocumentDOM().browser.getPageBusy()"
    command="dw.getDocumentDOM().browser.stopPage()"
    update="onBrowserPageBusyChange"/>
    <button id="Browse_Refresh"
    image="Toolbars/images/MM/browserRefresh.gif"
    tooltip="Refresh"
    label="Refresh"
    enabled="true"
    command="dw.getDocumentDOM().browser.refreshPage()"/>
    presumably the next error is caused by the previous ones
    failing :
    "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error occurred"
    the relevan tcode :
    function getCurrentValue()
    var dom = dw.getDocumentDOM();
    var value = dom.browser.getURL();
    if (value && value.length)
    //check if is it not a temp file
    //extract the tail of the url
    var filename = value;
    var slashIndex = filename.lastIndexOf("/");
    filename = filename.substring(slashIndex+1);
    var tempIndex = filename.indexOf("TMP");
    if (tempIndex != 0)
    addRecentAddress(value);
    return value;

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    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
    ==================
    "earthdoctor" <[email protected]> wrote in
    message
    news:[email protected]...
    > When switching between open tabs a sequence of
    javascript errors occurs. I
    > had
    > not used Dreamweaver for about 2 weeks, and last time I
    used it with no
    > problems.
    >
    > I have tried uninstalling it, OKing removal of all files
    when asked,
    > re-installing it and updating with dwmx61_updater.exe,
    but I still get the
    > same
    > errors.
    >
    > This has rendered the software virtually unuseable, so
    any help would be
    > greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    >
    >
    > "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    > followed by
    > "While executing Browse_Forward enabled in toolbars.xml,
    a JavaScript
    > error
    > occurred"
    > followed by
    > "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    >
    > The relevant code seems to be :
    >
    > <!-- Browser nav toolbar -->
    >
    > <toolbar id="Browser_Toolbar" platform="win"
    label="Browser
    > Navigation"
    > container="document" initiallyVisible="false">
    >
    > <button id="Browse_Back"
    > image="Toolbars/images/MM/back.gif"
    > disabledImage="Toolbars/images/MM/back_dis.gif"
    > tooltip="Back"
    > label="Back"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    > command="dw.getDocumentDOM().browser.backPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Forward"
    > image="Toolbars/images/MM/forward.gif"
    > disabledImage="Toolbars/images/MM/forward_dis.gif"
    > tooltip="Forward"
    > label="Forward"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    > command="dw.getDocumentDOM().browser.forwardPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Stop"
    > image="Toolbars/images/MM/stop.gif"
    > disabledImage="Toolbars/images/MM/stop_dis.gif"
    > tooltip="Stop"
    > label="Stop"
    > enabled="dw.getDocumentDOM().browser.getPageBusy()"
    > command="dw.getDocumentDOM().browser.stopPage()"
    > update="onBrowserPageBusyChange"/>
    >
    > <button id="Browse_Refresh"
    > image="Toolbars/images/MM/browserRefresh.gif"
    > tooltip="Refresh"
    > label="Refresh"
    > enabled="true"
    > command="dw.getDocumentDOM().browser.refreshPage()"/>
    >
    >
    >
    > presumably the next error is caused by the previous ones
    failing :
    >
    > "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error
    > occurred"
    > the relevan tcode :
    >
    >
    > function getCurrentValue()
    > {
    > var dom = dw.getDocumentDOM();
    > var value = dom.browser.getURL();
    > if (value && value.length)
    > {
    > //check if is it not a temp file
    > //extract the tail of the url
    > var filename = value;
    > var slashIndex = filename.lastIndexOf("/");
    > filename = filename.substring(slashIndex+1);
    > var tempIndex = filename.indexOf("TMP");
    > if (tempIndex != 0)
    > {
    > addRecentAddress(value);
    > }
    > }
    > return value;
    > }
    >
    >

  • OnClick JavaScript error

    I have made several changes to my nav bar through Fireworks
    and exported, which I have done a million times, but this time when
    I inser Fireworkd HTML image it gives me the following message:
    While executing onClick in Fireworks HTML.htm, the following
    JavaScript error occurred:
    At line 438 of File C:\Program Files\Macromedia\Dreamweaver
    MX 2004\Configuration\Shared\MM\Scripts\InsertFireworksHTML.js":
    TypeError: menuFn.match(searchPatt)has no properties.
    I should tell you we have two sites we are putting this in.
    One to test pages and one that is live.
    Any help would be great!
    BigD

    Don't use FW menus.
    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    or on Mac -
    Library/Application Support/Macromedia/Dreamweaver
    8/Configuration/MacFileCache-*.dat
    and delete it.
    Restart DW. Works better?
    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
    ==================
    "BigD05" <[email protected]> wrote in
    message
    news:es6jpt$551$[email protected]..
    >I have made several changes to my nav bar through
    Fireworks and exported,
    >which
    > I have done a million times, but this time when I inser
    Fireworkd HTML
    > image it
    > gives me the following message:
    >
    > While executing onClick in Fireworks HTML.htm, the
    following JavaScript
    > error
    > occurred:
    > At line 438 of File C:\Program
    Files\Macromedia\Dreamweaver MX
    >
    2004\Configuration\Shared\MM\Scripts\InsertFireworksHTML.js":
    TypeError:
    > menuFn.match(searchPatt)has no properties.
    >
    > I should tell you we have two sites we are putting this
    in. One to test
    > pages
    > and one that is live.
    >
    > Any help would be great!
    >
    > BigD
    >
    >

  • Javascript error

    Hi!
    My problem is: I create a new template (Page Designs CSS)
    there is a frame for picture (280x200). When I try to right click
    in it I get the following error message:
    While executing DWContext_Image_EditImage setMenuText in
    Primary_ImageEditor_Dynamic.htm, the following JavaScript error(s)
    occoured:
    At line 70 of the file "C:\Program
    Files\Macromedia\Dreamweaver
    8\Configuration\Menus\MM\Primary_ImageEditor_Dynamic.js":
    TypeError: placeholderArray has no properties
    I'm using WinXP and DW 8.
    I have tried to reinstall DW even with safe mode as described
    in technote and tried renaming Configuration folder and deleted
    wincash.dat file, too.
    Can someone come up with a solution to fix this issue,
    please?
    Regards
    Zeliad

    Uninstall and reinstall DW8, please.
    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
    ==================
    "zeliad" <[email protected]> wrote in
    message
    news:ef63v3$pqt$[email protected]..
    >
    quote:
    Originally posted by:
    zeliad
    > Hi!
    >
    > My problem is: I create a new template (Page Designs
    CSS) there is a frame
    > for
    > picture (280x200). When I try to right click in it I get
    the following
    > error
    > message:
    >
    > While executing DWContext_Image_EditImage setMenuText in
    > Primary_ImageEditor_Dynamic.htm, the following
    JavaScript error(s)
    > occoured:
    > At line 70 of the file "C:\Program
    Files\Macromedia\Dreamweaver
    >
    8\Configuration\Menus\MM\Primary_ImageEditor_Dynamic.js":
    > TypeError: placeholderArray has no properties
    >
    > I'm using WinXP and DW 8.
    > I have tried to reinstall DW even with safe mode as
    described in technote
    > and
    > tried renaming Configuration folder and deleted
    wincash.dat file, too.
    >
    > Can someone come up with a solution to fix this issue,
    please?
    >
    > Regards
    >
    >
    > Zeliad
    >
    >
    > Hi!
    >
    > In my first post I was referring to wincash.dat file
    (which is correctly
    > WinFileCache-*.dat) that has been deleted already. Think
    I was wrong
    > becasue I
    > wasn't accurate about the filename but I can assure you
    I was trying to
    > find
    > all available solutions on forums and read a lot, so
    that's why I started
    > a new
    > topic about this error.
    > Still waiting for a solution.
    >
    > Regards
    >
    >
    > Zeliad
    >

  • Javascript error when creating a new OC4J instance?

    Hi
    Im trying to deploy the documentum portlet, and a requirement was to install Ant, Java SDK....and i did
    after that...on my Application server machine (the portal), when i login to the enterprise manager to start a new OC4j instance, my browser shows a script error in the status bar in IE 6.0.
    it says: Object expected, ....and whenever i click "Create OC4j instance" the page is scrolled up to the top part of the page. so there is some kind of javascript error. how can i fix this? its stopping me from my development process.
    Your help is appreciated. thanks
    Faisal[b]

    On Windows this is caused most often by the temporary directory setting.
    Change the temporary directory to some fixed directory writable by anybody, e.g. "C:\temp".
    Change this in:
    Registry entry: hkey_local_machine\software\oracle\key_<oashome>\REPORTS_TMP
    <oashome>\opmn\conf\opmn.xml: search for environment variable TEMP (under ias-instance)
    Good luck!

  • JavaScript error using UIXML to generate frames

    Hello all,
    I am trying to use the uix:frameBoderLayout and uix:frame elements to generate an HTML page with frames. I get a Javascript error when running the testFrame.uix in JDeveloper 9.0.3. Both MSIE and Netscape yield the same error.
    The JavaScript error is:
    JavaScript Error:
    http://20.19.205.86:8988/pssWeb-pss-context-root/testFrame.uix,
    line 1:
    _checkLoad is not defined.
    The HTML generated is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html dir="ltr" lang="en-US">
    <head>
    <title>Property Security System Application</title>
    <link rel="stylesheet" charset="UTF-8" type="text/css" href="/pssWeb-pss-context-root/cabo/styles/cache/blaf-en-netscape.css">
    </head>
    <body class="xc" style="background-color:#FFFFE1" onload="_checkLoad(event)" onunload="_checkUnload(event)">
    <script src="/pssWeb-pss-context-root/cabo/jsLibs/MarlinCore.js">
    </script>
    <frameset border="0" rows="100%,*">
    <frameset rows="*,0" onresize="if(!frames['_uixJS'].cached){location.reload();}">
    <frameset rows="null,*,null">
    <frame name="top" marginwidth="5" frameborder="0" marginheight="0" noresize src="topFrame.uix">
    <frame name="center" marginwidth="5" frameborder="0" marginheight="0" noresize src="centerFrame.uix">
    <frame name="bottom" marginwidth="5" frameborder="0" marginheight="0" noresize src="bottomFrame.uix">
    </frameset>
    <frame frameborder="0" marginwidth="0" marginheight="0" title="" name="_uixJS" noresize src="/pssWeb-pss-context-root/cabo/jsps/a.jsp?_t=jsCache">
    </frameset>
    <noframes>
    </noframes>
    </frameset>
    </body>
    </html>
    <!-- Created by Oracle UIX 2.1.7 -->
    _checkLoad is contained in the MarlinCore.js file.  That file should be in cabo/jslib/ directory.
    Two things strike me odd about the generated HTML code with relation to JavaScript. First, I expect to see JavaScript source files declared in the head portion. Second, the source files is declared after the onload call is made to the _checkLoad function.
    The third thing that I can see possibly causing the error is that the MarlinCore.js file is not visible to the server and therefore not delivered to the browser. But I am not certain where to find the files used by the embedded OC4J server.
    Is this a bug in 9.0.3?
    The uix files follow. All three framed pages (topFrame.uix, centerFrame.uix and bottomFrame.uix) display nicely in the uix preview and run nicely in the embedded OC4J.
    testFrame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="Property Security System Application"/>
    </metaContainer>
    <contents>
    <body>
    <inlineStyle>
    <property name="background-color">#FFFFE1</property>
    </inlineStyle>
    <contents>
    <frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <top>
    <frame name="top" source="topFrame.uix">
    </frame>
    </top>
    <center>
    <frame name="center" source="centerFrame.uix">
    </frame>
    </center>
    <bottom>
    <frame name="bottom" source="bottomFrame.uix">
    </frame>
    </bottom>
    </frameBorderLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    </page>
    topFrame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <pageLayout>
    <contents>
    <text text ="Top frame"></text>
    </contents>
    </pageLayout>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    center Frame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <pageLayout>
    <contents>
    <text text="center frame"></text>
    </contents>
    </pageLayout>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    bottomFrame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <pageLayout>
    <contents>
    <text text="bottom frame"></text>
    </contents>
    </pageLayout>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    Your assistance is appreciated,
    Bill

    Did you create the files with JDev 903 preview or JDEV 902? If you created with JDEV 902 and upgraded your project to
    903 you need to delete all the files in the cabo directory in your public_html directory. That should get rid of your
    javascript errors.

  • ADF Javascript error in MS IE v 8.0.6001.18702

    Hi,
    I'm using jdeveloper v11.1.2.0.0. I have a login page with language, username, password fields. Language is af:selectonechoice and is using ppr to re-render the page on language change. It's working fine with FireFox 4 and chrome. But when I open the page in IE (8.0.6001.18702), it's showing the following javascript error, and I cannot even submit the login details(eventhough I'm not changing language). The error is,
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; the Windows NT 5.1; Trident/4.0; NET CLR 2.0.50727)
    Timestamp: Thu, 23 Feb 2012 01:57:28 UTC
    Message: Element not found.
    Line: 6219
    Characters: 2
    Code: 0
    URI: http://192.168.5.140:7101/eMotor/afr/partition/ie/default/opt/boot-SHERMAN-1147.js
    Please find my web.xml code below,
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5">
        <display-name>eMotor</display-name>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <context-param>
            <description>No obfuscation of CSS.</description>
            <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
            <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
            <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
            <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
            <param-value>differentDomain</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
            <param-value>*.jsf;*.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_DECORATORS</param-name>
            <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
            <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
        </context-param>
        <filter>
            <filter-name>JpsFilter</filter-name>
            <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
            <init-param>
                <param-name>enable.anonymous</param-name>
                <param-value>true</param-value>
            </init-param>
        </filter>
        <filter>
            <filter-name>SecurityFilter</filter-name>
            <filter-class>com.allianz.common.web.filter.SecurityFilter</filter-class>
        </filter>
        <filter>
            <filter-name>trinidad</filter-name>
            <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
        </filter>
        <filter>
            <filter-name>adfBindings</filter-name>
            <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ADFLibraryFilter</filter-name>
            <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>JpsFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>SecurityFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>trinidad</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>ADFLibraryFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <listener>
            <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
        </listener>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>resources</servlet-name>
            <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>MapProxyServlet</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>adflibResources</servlet-name>
            <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/adf/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/afr/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <url-pattern>/servlet/GraphServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <url-pattern>/servlet/GaugeServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>MapProxyServlet</servlet-name>
            <url-pattern>/mapproxy/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/bi/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>adflibResources</servlet-name>
            <url-pattern>/adflib/*</url-pattern>
        </servlet-mapping>
        <context-param>
            <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_ TIMEOUT</param-name>
            <param-value>1800</param-value>
        </context-param>
        <session-config>
            <session-timeout>30</session-timeout>
        </session-config>
        <mime-mapping>
            <extension>swf</extension>
            <mime-type>application/x-shockwave-flash</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>amf</extension>
            <mime-type>application/x-amf</mime-type>
        </mime-mapping>
        <welcome-file-list>
            <welcome-file>/faces/Login.jspx</welcome-file>
        </welcome-file-list>
        <mime-mapping>
            <extension>rrpa</extension>
            <mime-type>application/x-orarrp-pdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rar</extension>
            <mime-type>application/octet-stream</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>zip</extension>
            <mime-type>application/x-zip-compressed</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>doc</extension>
            <mime-type>application/msword</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>docx</extension>
            <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
        </mime-mapping>
        <servlet>
        <servlet-name>imageServlet</servlet-name>
        <servlet-class>com.allianz.web.servlet.ImageServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>imageServlet</servlet-name>
        <url-pattern>/image/*</url-pattern>
    </servlet-mapping>
    </web-app>
                And in faces-config, I have the following details,
    <application>
            <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
            <locale-config>
                <default-locale>zh</default-locale>
                <supported-locale>en</supported-locale>
            </locale-config>
            <resource-bundle>
                <base-name>resources.UIResources</base-name>
                <var>msg</var>
            </resource-bundle>
        </application>My Login.jspx code,
    <af:pageTemplate viewId="/template/LoginTemplate.jspx" id="pt1">
                    <f:facet name="loginArea">
                        <af:panelFormLayout id="pgl1"
                                            inlineStyle="width: 398px; height: 278px; margin-top: 150px; margin-left: 300px; 
                                           background: url(#{facesContext.externalContext.requestContextPath}/img/login.PNG);">
                            <af:spacer height="15px"/>
                            <af:outputLabel value="#{msg['login.loginheader']}"
                                            inlineStyle="font-weight: bold; font-size: 15px; align: left; margin-left: 5px"/>
                            <af:panelFormLayout labelAlignment="start" inlineStyle="margin-top: 30px">
                                <af:selectOneChoice label="#{msg['login.country']}" value="#{authorizationBean.country}"
                                                    autoSubmit="true" styleClass="select_normal" id="country"
                                                    valueChangeListener="#{authorizationBean.changeLanguage}">
                                    <af:selectItem value="zh" label="#{msg['label.china']}"/>
                                    <af:selectItem value="en" label="#{msg['label.english']}"/>
                                </af:selectOneChoice>
                                <af:spacer height="5px"/>
                                <af:inputText label="#{msg['login.username']}" value="#{authorizationBean.auth.userName}" required="true"
                                            requiredMessageDetail="#{msg['message.mandatoryselect']}"/>
                                <af:spacer height="5px"/>
                                <af:inputText label="#{msg['login.password']}" secret="true" value="#{authorizationBean.auth.password}" required="true"
                                            requiredMessageDetail="#{msg['message.mandatoryselect']}">
                                   </af:inputText>
                                <af:spacer height="5px"/>
                                <af:commandButton text="#{msg['label.login']}" accessKey="L" styleClass="button_normal"
                                                  action="#{authorizationBean.doLogin}" id="loginButton"/>
                                 <af:commandLink text="#{msg['title.forgotPassword']}" id="cl1" immediate="true" partialSubmit="true"  >
                                    <af:clientListener method="openForgetPasswordPage" type="action"/>
                                </af:commandLink>                
                              <af:outputLabel value="#{authorizationBean.loginErrorMsg}" inlineStyle="color:Red;"/>
                            </af:panelFormLayout>
                        </af:panelFormLayout>
                    </f:facet>
                </af:pageTemplate>Any help would be much appreciated...

    chk this
    http://vtkrishn.com/2011/08/23/ie8-element-not-found-error/

  • While executing findDynamicSources in SpryDataSet.htm, a JavaScript error occurred.

    I'm working with Spry datasets for some time now. But now I have a very annoying problem.
    When I use  the character '{' in any part of the HTML-sourcecode (HTML or JS) my Dreamweaver CS5 (11.0 build 4964)  freezes and crashes.
    When I try to examine the reason (by re-bulding part by part the code), I've got the message "While executing findDynamicSources in SpryDataSet.htm, a JavaScript error occurred." . Any ideas what is happening here?
    I know, DW wants to analyze the inside of XML dataset, but it's not there. It will be generated online. So while editing the source code it's not available.
    var dsLog = new Spry.Data.XMLDataSet("xml_log.php", "LOGS/ITEM", {filterFunc: MyPagingFunc, useCache:false, entityEncodeStrings:false});
    Any clues how to solve this?
    Thanks, Pieter

    Two possible solutions
    create a local file for a design time feed
    use SpryDataYQLDataSet which allows cross domain access
    Gramps

Maybe you are looking for

  • Trying to set up wireless network on PC with Airport Express

    I'm helping a friend set up his network with AirPort Express. He's got a modem attached to his PC, and currently has a router that sends a wireless signal to a receiver on the PC in the other room. Now he's added a Mac, and the old router/receiver do

  • MY ONE OF THE RIGHT INBUILT SPEAKER IS NOT WORKING IN HP PAVILION DV4 ENTERTAINMENT PC

    i brought this hp note book from U.S .NOW,MY ONE OF MY RIGHT INBUILT SPEAKER IS NOT WORKING..SUGGEST ANY SOLUTION TO THIS ..NOW I AM IN INDIA ,OFCOURSE I AM AN INDIAN..SUGGESTS HP STORE IN ANDHRA PRADESH

  • Pass REQUEST from button to item on another page

    Maybe it's too early in the morning but I'm not seeing what I'm missing: Button on page 1 branches to page 2. Page 2 is Interactive Report Need report to restrict display per button request, i.e., the "Vice President of Finance/Operations" button wil

  • How can I tell my apps where their Application Support folders are?

    Hi there- I thought I had this solved with an earlier post but looks like I don't. I just installed an 120GB SSD in addition to my 500GB HDD in my Mid-2010 MacBook Pro running Mountain Lion. I did the following things: 1. Carbon copied my entire HDD

  • In ear headphones on itouch 2nd gen

    I just bought an in ear headphones with volume adjustable, it does state that it will work on ipod touch 2nd gen couple of questions how do I KNOW THAT MY ITOCH IS 2ND GEN???????? is there anithing I have to set up on the itocuh to use the volume adj