ADF FACES: jdeveloper hangs on opening a .jspx file

I may not have had this file open since updating to EA13, but I'm not positive. Upon trying to open the file (code below), jdeveloper hangs. It sucks down roughly 50% of the CPU and the memory footprint slowly grows (about 3 MB per minute). As of now, I've tried restarting jdeveloper and then opening the file, but the behavior is the same. I have let it run for nearly 15 minutes and it is still hung (to the point that the display is not redrawn when a window, such as the task manager, is closed after obscuring part of the jdeveloper window).
I'm running jdev version 10.1.3.0.2.223
ADF Faces EA13
On windows 2003 Server
Here's the code:
<?xml version='1.0' encoding='iso-8859-1'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/EA13"
xmlns:afh="http://xmlns.oracle.com/adf/faces/EA13/html"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
<f:view>
<afh:html>
<afh:head title="Case Details">
<!--<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>-->
<title>
Case Details
</title>
</afh:head>
<afh:script source="js/mwb_gecko.js" rendered="#{clientInfo.gecko}"/>
<afh:script source="js/mwb.js"/>
<afh:body>
<af:form>
<af:panelPage title="Case Details">
<f:facet name="messages">
<af:messages/>
</f:facet>
<f:facet name="brandingApp">
<af:panelGroup>
<af:outputFormatted value="MedCierge Workbench" styleClass="OraHeader"/>
<af:objectImage source="/images/pbs.gif"/>
</af:panelGroup>
</f:facet>
<f:facet name="brandingAppContextual">
<af:outputFormatted value="Flagship Healthcare Management, Inc."
styleUsage="inContextBranding"/>
</f:facet>
<f:facet name="menuGlobal">
<af:menuButtons>
<af:commandMenuItem text="Home" action="agenthome"/>
<af:commandMenuItem text="Logout" action="logout"/>
<af:commandMenuItem text="Help" action="help"/>
</af:menuButtons>
</f:facet>
<f:facet name="infoUser">
<af:outputText value="Logged in as #{sessionScope.agentName}"
styleClass="OraPageStampText"/>
</f:facet>
<f:facet name="actions">
<af:panelButtonBar>
<af:commandButton id="ReturnButton"
textAndAccessKey="&amp;Return to #{pageFlowScope.caseReturnName}"
action="#{nav.returnFromFlow}"/>
</af:panelButtonBar>
</f:facet>
<f:facet name="appCopyright">
<af:outputText value="copyright facet"/>
</f:facet>
<f:facet name="appPrivacy">
<af:commandLink text="privacy facet" action="action.none" />
</f:facet>
<f:facet name="appAbout">
<af:commandLink text="about facet" action="action.none" />
</f:facet>
<af:panelGroup type="vertical">
<af:panelForm labelWidth="5%">
<af:panelLabelAndMessage label="Owner:">
<af:outputText value="#{pageFlowScope.case.owningAgentId}"
styleClass="OraFieldText"/>
<af:outputFormatted value=" &lt;b>[You own this case]&lt;/b>"
styleClass="OraFieldText"
rendered="#{pageFlowScope.case.owningAgentId == sessionScope.agentId}"/>
<af:outputFormatted value=" &lt;b>[You do not own this case]&lt;/b>"
styleClass="OraFieldText"
rendered="#{pageFlowScope.case.owningAgentId != sessionScope.agentId}"/>
</af:panelLabelAndMessage>
<af:inputText label="Case ID:" value="#{pageFlowScope.case.id}" columns="10"
readOnly="true" shortDesc="Unique ID for this case"/>
<af:inputText value="#{pageFlowScope.case.serviceType}" label="Service Type:"
columns="10" readOnly="true"
shortDesc="Service requested: 'referral' or 'emergency'"/>
<af:inputText value="#{pageFlowScope.case.openDate}" label="Opened:"
columns="10" readOnly="true" shortDesc="Date this case was opened">
<f:convertDateTime pattern="MM/dd/yy HH:mm"/>
</af:inputText>
<af:inputText value="#{pageFlowScope.case.closeDate}" label="Closed:"
columns="10" readOnly="true" shortDesc="Date this case was closed"
inlineStyle="{color: red}"
rendered="#{!(empty pageFlowScope.case.closeDate)}">
<f:convertDateTime pattern="MM/dd/yy HH:mm"/>
</af:inputText>
<af:inputText value="#{pageFlowScope.case.primaryRequest}" label="Primary Request:"
columns="80" readOnly="true"
shortDesc="Short summary of the member's request"/>
<af:inputText value="#{pageFlowScope.case.appointmentPreferences}"
label="Appt. Preferences:" columns="80" readOnly="true"
shortDesc="Member's preferences on appointment times"/>
<af:inputText value="#{pageFlowScope.case.callbackData}" label="Call Back Data:"
columns="40" readOnly="true"
shortDesc="Phone/email to use for calling member back"/>
</af:panelForm>
<af:panelGroup type="vertical">
<af:forEach items="#{pageFlowScope.case.activitiesByDate}" var="act">
<af:objectSpacer height="10" width="0"/>
<af:objectSeparator/>
<af:outputFormatted value="&lt;b>#{act.date}&lt;/b>" inlineStyle="{background-color:#cccc99}"/>
<af:objectSpacer height="5" width="1"/>
<af:panelGroup type="horizontal">
<af:panelForm>
<af:inputText label="ID:" value="#{act.id}" readOnly="true"/>
<af:inputText label="Type:" value="#{act.type}" readOnly="true"/>
<af:inputText label="MedCierge:" value="#{act.agentId}" readOnly="true"/>
</af:panelForm>
<af:objectSpacer width="5" height="1"/>
<af:inputText rows="4" readOnly="true" columns="80" value="#{act.notes}"/>
</af:panelGroup>
<!-- Output data specific to Inbound Call activities -->
<af:objectSpacer height="10" width=""/>
<af:panelGroup rendered="#{act.type=='ibcall'}">
<af:commandButton text="Show Call Details" action="dialog:showCall"
partialSubmit="true" rendered="#{!(empty act.call)}"
windowHeight="500" windowWidth="750">
<af:setActionListener from="#{act.call}"
to="#{pageFlowScope.call}"/>
</af:commandButton>
</af:panelGroup>
<!-- Output data specific to Inbound Email activities -->
<af:panelGroup rendered="#{act.type=='ibemail'}">
<af:outputText value="Inbound email #{act.type}"/>
</af:panelGroup>
<!-- Output data specific to Outbound Call activities -->
<af:panelGroup rendered="#{act.type=='obcall'}">
<af:outputText value="Outbound Call #{act.type}"/>
</af:panelGroup>
<!-- Output data specific to Outbound Email activities -->
<af:panelGroup rendered="#{act.type=='obemail'}">
<af:outputText value="Outbound email #{act.type}"/>
</af:panelGroup>
</af:forEach>
</af:panelGroup>
</af:panelGroup>
</af:panelPage>
</af:form>
</afh:body>
</afh:html>
</f:view>
</jsp:root>

Helo there,
I am having exactly the same problem, everytime I include af:forEach tag inside the af:selectOneChoice for example, preview of JSP is not shown and whole developer hangs, in task manager I can see 100% CPU occupation by JDeveloper.
But the code itself is ok, if I run the page while editor is in Source mode Page is properly shown in browser, but when I change editor mode to Design it hangs.
I am using Faces EA17 and JDeveloper 10.1.3
Does anybody else face the same issue?
ferdo

Similar Messages

  • Adobe reader XI crash and hangs when open the pdf file

    After update the adobe reader xi 11.0.10, the reader always crashes and hangs when open the pdf file. Please help me how to do.

    Ben Leung wrote:
    HThis situation is started after I clear the pop up advertisement.
    What kind of advertisement?  In Adobe Reader?  Can you post a screenshot of that: https://forums.adobe.com/thread/1070933
    Regarding the crash, can you try disabling Protected Mode through the registry: download, unzip, then run the registry script https://files.acrobat.com/a/preview/49eeb48b-07c5-4502-984c-8a25259914fa

  • Adobe Reader hangs after opening a PDF file for a minuet

    Adobe Reader hangs after opening a PDF file for a minuet

    Pat. Thanks for your promote reply. I have resolved the issue.
    Closing the tools pane at the right side:
    open Adobe Reader without opening a PDF file
    collapse 'Tools' pane
    then open some PDF
    It shouldn't hang anymore

  • Errors while compiling ADF faces - Jdeveloper preview 2

    Hello,
    I am trying to compile/run (using F11) a jspx page that involves JSF/ADF faces. While compiling, I am getting following error messages.
    //Message 1
    C:\Jdev11g\jdk\bin\javaw.exe -jar C:\Jdev11g\j2ee\home\admin.jar ormi://192.168.1.100:23891 fmwadmin **** -updateConfig
    //Message 2
    07/11/25 13:24:17 [JpsAuth] For permisson (oracle.security.jps.JpsPermission IdentityAssertion), domain that failed: ProtectionDomain cs(file:/C:/Jdev11g/j2ee/home/jps-api.jar), []
    //Message 3
    07/11/25 13:24:17 [JpsAuth] For permisson (oracle.security.jps.service.policystore.PolicyStoreAccessPermission context=SYSTEM getSystemPolicy), domain that failed: ProtectionDomain cs(file:/C:/Jdev11g/j2ee/home/jps-api.jar), []
    I have checked all the installation settings for JDK and also checked the permissions on my local folders and everythign seems to be fine.
    Any insight in this regard will be highly appreciated. Thank you so much in advance.
    -Ruchir

    Hi,
    does the application run ? Note that TP2 shows warnings and exceptions that not necessarily impact the application
    Frank

  • Suggestions needed for ADF Faces & JDeveloper 10.1.3.4 af:menu

    Hi all,
    We are running out space on our top level menu items and was curious if anyone has alternatives for a dynamic menu structure built using JDeveloper 10.1.3.4. Here is what our screen looks like:
    Any suggestions are much appreciated.
    Thanks,
    Wes

    Hi again Wes,
    If you want to keep using the ADF Faces menus... get a larger screen? :P
    Seriously, though, [url http://www.simplica.com/menu.htm]Simplica has an interesting-looking menu component that perhaps you could use (it looks much like the ADF Faces Rich Client menus). I've not tried the components, but have seen them - no idea if they would work "well" with ADF Faces.
    Best,
    John

  • Quicktime hangs when opening a .avi file

    Please help. for the past two years ever since i got my powerbook g4 i have no problem opening a .avi file until today all my .avi files cannot be open at all. the quicktime program will hang when i click to open any .avi files. please help if anyone got a solution.

    Hi,
    He's right!
    Install the Perian plugin, and I would advise you to follow their recommendations on removing redundant Quicktime plugins.
    I was having the same problems with slow loading .avi movies in Quicktime, and in the Finder preview window, until I installed Perian and got rid of Divx 3ivx and other plugins from my Hard Drive/Library/Quicktime folder
    Everything works fine now.
    Regards

  • BUG : JDev 10.1.3 SR2 hangs when opening a java files

    Hi,
    think I've found a bug. I'm using JDev 10.1.3, patched with SR1 & 2, my machine is a Windows XP SP2 box with 1GB mem and Intel Pentium 4 2.60 Ghz with HT.
    When I try to open a file in the Java editor the IDE hangs. Launching jdev.exe I can see that the following output is continuously printed:
    Exception occurred updating RowMap: 16
    startRow: 0
    numRows: 1
    startLine: 0
    numLines: 15
    _rowCount: 15
    lineCount: 15
    Stack trace follows
    java.lang.ArrayIndexOutOfBoundsException: 16
         at oracle.javatools.buffer.ArrayLineMap.getLineEndOffset(ArrayLineMap.java:326)
         at oracle.javatools.editor.BasicView$LineRowMap.recalculateLineWidths(BasicView.java:3576)
         at oracle.javatools.editor.BasicView$LineRowMap.recalculateRows(BasicView.java:3487)
         at oracle.javatools.editor.BasicView$LineRowMap.handleInsert(BasicView.java:3315)
         at oracle.javatools.editor.BasicView$LineRowMap.rebuildRowMap(BasicView.java:3286)
         at oracle.javatools.editor.BasicView$LineRowMap.<init>(BasicView.java:3259)
         at oracle.javatools.editor.BasicView$FoldedRowMap.<init>(BasicView.java:3966)
         at oracle.javatools.editor.BasicView.updateMetrics(BasicView.java:1128)
         at oracle.javatools.editor.BasicView.getPreferredSpan(BasicView.java:1730)
         at javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1257)
         at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:819)
         at oracle.javatools.editor.BasicEditorUI.getPreferredSize(BasicEditorUI.java:158)
         at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
         at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1227)
         at javax.swing.JViewport.getViewSize(JViewport.java:1003)
         at javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(BasicScrollPaneUI.java:264)
         at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.viewportStateChanged(BasicScrollPaneUI.java:855)
         at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:797)
         at javax.swing.JViewport.fireStateChanged(JViewport.java:1357)
         at javax.swing.JViewport.setView(JViewport.java:975)
         at oracle.ideimpl.editor.SplitPane.setEditorComponent(SplitPane.java:343)
         at oracle.ideimpl.editor.SplitPane.attachEditor(SplitPane.java:949)
         at oracle.ideimpl.editor.SplitPane.attachCurrentEditor(SplitPane.java:919)
         at oracle.ideimpl.editor.SplitPane.setCurrentEditorStatePos(SplitPane.java:1138)
         at oracle.ideimpl.editor.SplitPane.setSplitPaneState(SplitPane.java:207)
         at oracle.ideimpl.editor.TabGroup.attachCurrentNode(TabGroup.java:517)
         at oracle.ideimpl.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:1294)
         at oracle.ideimpl.editor.TabGroup.activateEditor(TabGroup.java:639)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1273)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1504)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1841)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1862)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Forcing RowMap rebuild
    I also disabled ALL extension and removed the jar files in jdev/extension, except the one that was originally included in the 10.1.3 and those that seems related to the service releases.
    The file I'm trying to open is done like this:
    --- start after this line ---
    package com.websiteitalia.jsftest.view.controllers.people.list;
    import com.websiteitalia.jsftest.model.list.people.PeopleListUtil;
    import com.websiteitalia.jsftest.view.controllers.BaseListBacker;
    import com.websiteitalia.weblib.ejb.list.IWSList;
    public class PeopleListBacker extends BaseListBacker {
    public IWSList getListRemote() throws Exception {
    return PeopleListUtil.getList();
    --- end before this line ---
    I include also an HEX encoding of the file:
    00000000h: 70 61 63 6B 61 67 65 20 63 6F 6D 2E 77 65 62 73 ; package com.webs
    00000010h: 69 74 65 69 74 61 6C 69 61 2E 6A 73 66 74 65 73 ; iteitalia.jsftes
    00000020h: 74 2E 76 69 65 77 2E 63 6F 6E 74 72 6F 6C 6C 65 ; t.view.controlle
    00000030h: 72 73 2E 70 65 6F 70 6C 65 2E 6C 69 73 74 3B 0D ; rs.people.list;.
    00000040h: 0A 0D 0A 69 6D 70 6F 72 74 20 63 6F 6D 2E 77 65 ; ...import com.we
    00000050h: 62 73 69 74 65 69 74 61 6C 69 61 2E 6A 73 66 74 ; bsiteitalia.jsft
    00000060h: 65 73 74 2E 6D 6F 64 65 6C 2E 6C 69 73 74 2E 70 ; est.model.list.p
    00000070h: 65 6F 70 6C 65 2E 50 65 6F 70 6C 65 4C 69 73 74 ; eople.PeopleList
    00000080h: 55 74 69 6C 3B 0D 0A 69 6D 70 6F 72 74 20 63 6F ; Util;..import co
    00000090h: 6D 2E 77 65 62 73 69 74 65 69 74 61 6C 69 61 2E ; m.websiteitalia.
    000000a0h: 6A 73 66 74 65 73 74 2E 76 69 65 77 2E 63 6F 6E ; jsftest.view.con
    000000b0h: 74 72 6F 6C 6C 65 72 73 2E 42 61 73 65 4C 69 73 ; trollers.BaseLis
    000000c0h: 74 42 61 63 6B 65 72 3B 0D 0A 69 6D 70 6F 72 74 ; tBacker;..import
    000000d0h: 20 63 6F 6D 2E 77 65 62 73 69 74 65 69 74 61 6C ; com.websiteital
    000000e0h: 69 61 2E 77 65 62 6C 69 62 2E 65 6A 62 2E 6C 69 ; ia.weblib.ejb.li
    000000f0h: 73 74 2E 49 57 53 4C 69 73 74 3B 0D 0A 0D 0A 0D ; st.IWSList;.....
    00000100h: 0A 70 75 62 6C 69 63 20 63 6C 61 73 73 20 50 65 ; .public class Pe
    00000110h: 6F 70 6C 65 4C 69 73 74 42 61 63 6B 65 72 20 65 ; opleListBacker e
    00000120h: 78 74 65 6E 64 73 20 42 61 73 65 4C 69 73 74 42 ; xtends BaseListB
    00000130h: 61 63 6B 65 72 20 7B 0D 0A 20 20 20 20 0D 0A 20 ; acker {..    ..
    00000140h: 20 20 20 70 75 62 6C 69 63 20 49 57 53 4C 69 73 ; public IWSLis
    00000150h: 74 20 67 65 74 4C 69 73 74 52 65 6D 6F 74 65 28 ; t getListRemote(
    00000160h: 29 20 74 68 72 6F 77 73 20 45 78 63 65 70 74 69 ; ) throws Excepti
    00000170h: 6F 6E 20 7B 0D 0A 20 20 20 20 20 20 20 20 72 65 ; on {..        re
    00000180h: 74 75 72 6E 20 50 65 6F 70 6C 65 4C 69 73 74 55 ; turn PeopleListU
    00000190h: 74 69 6C 2E 67 65 74 4C 69 73 74 28 29 3B 0D 0A ; til.getList();..
    000001a0h: 20 20 20 20 7D 0D 0A 20 20 20 20 0D 0A 7D 0D 0A ; }.. ..}..
    Note the last empty line before the end-of-file. If I try to past this code into a Java file and open it in JDev, it hangs as described.
    Moreover, if I remove the last empty line, JDev will open the file in the editor but, as soon as I enter it again (placing the cursor at the end of the file a hitting enter) JDev hangs again.
    A final note: I experienced many hangs also in JSP editor, especially selecting a block of text and pasting something in its place, but don't know if the two behaviours are related.

    Ok, maybe I've tracked down at least one factor that makes JDev hang. I changed my font back to the default "DialogInput" instead of "Lucida Console" and now it opens my file.
    This is the settings that works in system/oracle.jdeveloper.10.1.3.36.73/preferences.xml
    <Item>
    <Key>FontSizeOptions</Key>
    <Value class="oracle.ide.ceditor.options.FontSizeOptions">
    <fontFamily>DialogInput</fontFamily>
    <fontSize>12</fontSize>
    <showOnlyFixedWidth>false</showOnlyFixedWidth>
    </Value>
    </Item>
    With this one it hangs:
    <Item>
    <Key>FontSizeOptions</Key>
    <Value class="oracle.ide.ceditor.options.FontSizeOptions">
    <fontFamily>Lucida Console</fontFamily>
    <fontSize>12</fontSize>
    <showOnlyFixedWidth>false</showOnlyFixedWidth>
    </Value>
    </Item>
    Logging the exception
    Exception occurred updating RowMap: 16
    startRow: 0
    numRows: 1
    startLine: 0
    numLines: 15
    _rowCount: 15
    lineCount: 15
    Stack trace follows
    java.lang.ArrayIndexOutOfBoundsException: 16
         at oracle.javatools.buffer.ArrayLineMap.getLineEndOffset(ArrayLineMap.java:326)
         at oracle.javatools.editor.BasicView$LineRowMap.recalculateLineWidths(BasicView.java:3576)
         at oracle.javatools.editor.BasicView$LineRowMap.recalculateRows(BasicView.java:3487)
         at oracle.javatools.editor.BasicView$LineRowMap.handleInsert(BasicView.java:3315)
         at oracle.javatools.editor.BasicView$LineRowMap.rebuildRowMap(BasicView.java:3286)
         at oracle.javatools.editor.BasicView$LineRowMap.<init>(BasicView.java:3259)
         at oracle.javatools.editor.BasicView$FoldedRowMap.<init>(BasicView.java:3966)
         at oracle.javatools.editor.BasicView.updateMetrics(BasicView.java:1128)
         at oracle.javatools.editor.BasicView.getPreferredSpan(BasicView.java:1730)
         at javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1257)
         at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:819)
         at oracle.javatools.editor.BasicEditorUI.getPreferredSize(BasicEditorUI.java:158)
         at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
         at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1227)
         at oracle.javatools.editor.gutter.LineGutterPlugin.getRowCount(LineGutterPlugin.java:1485)
         at oracle.javatools.editor.gutter.LineGutterPlugin.getPreferredSize(LineGutterPlugin.java:890)
         at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:690)
         at java.awt.Container.preferredSize(Container.java:1558)
         at java.awt.Container.getPreferredSize(Container.java:1543)
         at javax.swing.JComponent.getPreferredSize(JComponent.java:1617)
         at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:78)
         at java.awt.Container.preferredSize(Container.java:1558)
         at java.awt.Container.getPreferredSize(Container.java:1543)
         at javax.swing.JComponent.getPreferredSize(JComponent.java:1617)
         at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:717)
         at java.awt.Container.layout(Container.java:1401)
         at java.awt.Container.doLayout(Container.java:1390)
         at java.awt.Container.validateTree(Container.java:1473)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validateTree(Container.java:1480)
         at java.awt.Container.validate(Container.java:1448)
         at java.awt.Window.show(Window.java:515)
         at oracle.ideimpl.MainWindowImpl.show(MainWindowImpl.java:572)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:773)
         at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Forcing RowMap rebuild

  • View link refresh issue in a ADF Faces application

    ADF BC, ADF Faces, JDeveloper 10.1.3.3
    There is an example.
    I have an Entity SaleEntity and two view objects: SalesView (based on the SaleEntity) and ProductsView (read only). SaleEntity has an attribute productId to reference a product sold. SalesView and ProductsView are related by a view link. The link works fine in a Business Component Browser.
    Then I created a ADF Faces form to edit a sale. I used an af:selectInputText component for a productId:
    <af:selectInputText
        value="#{bindings.ProductId.inputValue}"
        label="#{bindings.ProductId.label}" 
        required="true"
        columns="6"
        action="dialog:ProductSearch"
        autoSubmit="true"
        valueChangeListener="#{CreateSaleBean.productId_valueChanged}" 
        tip="#{bindings.ProductsViewName.inputValue}">
      <af:validator binding="#{bindings.ProductId.validator}"/>
    </af:selectInputText>
    {code}
    User can enter productId directly or select a product from a LOV. I set a tip attribute of af:selectInputText to display a name of the current product. The tip uses ProductsView through the view link between SalesView and ProductsView. valueChangeListener is used here to make tip update right after partial form submit:
    {code:java}
      public void productId_valueChanged(ValueChangeEvent valueChangeEvent) {
        String prodId = (String) valueChangeEvent.getNewValue();  
        JSFUtils.setExpressionValue("#{bindings.ProductId.inputValue}", prodId);
        getIteratorBinding("SalesViewIterator").refresh(DCExecutableBindingDef.RC_REFRESH);
        getIteratorBinding("ProductsView").refresh(DCExecutableBindingDef.RC_REFRESH);
    {code}
    SaleEntity has a productId attribute validator to ensure that id of existing product was specified. The validator is implemented in the same way as ADF Developer Guide chapter "9.6.2 Implementing an Efficient Existence Check" describes.
    All this works fine when user enters correct productId - the new value is submitted and the tip is updated. But if user enters non existing productId - the tip doesn't change. It seems that detail view row currency doesn't change in that case. I want to make the tip empty when the provided productId is incorrect. Any ideas how to achieve this?
    Thanks,
    Marius                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Blaise,
    no I don't want to insert new product. I want make products view object have no current row.
    In addition product existence check code is in a sale entity. I don't think it is a good idea to have an entity object depending to some specific view object. Maybe I'm in the wrong.
    Marius

  • Oracle ADF in JDeveloper

    I am new to both ADF Faces & JDeveloper and I tried the sample application Master/Detail/Detail/Detail program which is posted in http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html. What is the possible way to give the foreign key reference between two entities in JDEveloper. Physically there is no relation between these two tables(Entities).
    It would be helpful if you give me a basic steps required to re create this application.
    Thanks in advance

    See section 5.10.2 "How to Create Master/Detail Hierarchies Using View Links" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html
    There is no requirement that the master/detail relationship you setup be based on an underlying foreign key at the DB level.
    The sample you reference just uses the above technique to create a 4-level master/detail hierarchy, and then the pages were created by dragging and dropping appropriate collections from the data control palette.

  • ADF Faces refresh conditions cause NullPointerException

    We are developping an ADF faces web application. For the jspx pages we use EJB3 data controls to display data from the database and other legacy systems.
    Most values in our application are read-only and some take some time to be provided by the database. To increase performance of our web application we decided to change the refresh condition from Refresh="ifNeeded" to Refresh="renderModelIfNeeded". The parameters of the bindings should not change so this seemed to be o.k. for our needs. To avoid the call during postbacks we added RefreshCondition="${!adfFacesContext.postback}".
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.41.57" id="app_pagePageDef"
    Package="web.pageDefs"
    EnableTokenValidation="false">
    <methodIterator id="findSomething"
    Binds="findSomething.result"
    DataControl="GatewayLocal" RangeSize="-1"
    BeanClass="entities.MyObject"
    RefreshCondition="${!adfFacesContext.postback}"
    Refresh="renderModelIfNeeded"/>
    Performance is now really good and all data is displayed.
    On the other hand we now experience a strange behaviour and from time to time we get the following error message:
    07/10/30 14:02:37 java.lang.NullPointerException
    07/10/30 14:02:37 at oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(JUCtrlListBinding.java:1096)
    07/10/30 14:02:37 at oracle.jbo.uicli.binding.JUCtrlListBinding.setValueAt(JUCtrlListBinding.java:1726)
    07/10/30 14:02:37 at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:1339)
    07/10/30 14:02:37 at oracle.jbo.uicli.binding.JUIteratorBinding.navigated(JUIteratorBinding.java:282)
    07/10/30 14:02:37 at oracle.jbo.common.RowSetHelper.fireNavigationEvent(RowSetHelper.java:261)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.notifyNavigationEvent(DCRowSetIteratorImpl.java:1611)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCGenericRowSetIteratorImpl.notifyNavigationEvent(DCGenericRowSetIteratorImpl.java:313)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.syncIterator(DCRowSetIteratorImpl.java:258)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.first(DCRowSetIteratorImpl.java:653)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:649)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:735)
    07/10/30 14:02:37 at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:172)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.notifyRangeRefreshed(DCRowSetIteratorImpl.java:1570)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.buildProviderIterator(DCRowSetIteratorImpl.java:465)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.fetchDataSource(DCRowSetIteratorImpl.java:394)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.getRowAtAbsoluteIndex(DCRowSetIteratorImpl.java:1008)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.syncIterator(DCRowSetIteratorImpl.java:225)
    07/10/30 14:02:37 at oracle.adf.model.generic.DCRowSetIteratorImpl.first(DCRowSetIteratorImpl.java:653)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:1919)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:1866)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.prepareCurrentRow(DCIteratorBinding.java:548)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:683)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:3499)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCBindingContainer.refreshExecutables(DCBindingContainer.java:2637)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2568)
    07/10/30 14:02:37 at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
    07/10/30 14:02:37 at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:534)
    07/10/30 14:02:37 at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:99)
    07/10/30 14:02:37 at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
    07/10/30 14:02:37 at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    07/10/30 14:02:37 at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
    07/10/30 14:02:37 at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:426)
    07/10/30 14:02:37 at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
    07/10/30 14:02:37 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
    07/10/30 14:02:37 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    07/10/30 14:02:37 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    07/10/30 14:02:37 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    07/10/30 14:02:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    07/10/30 14:02:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    07/10/30 14:02:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    07/10/30 14:02:37 at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    07/10/30 14:02:37 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    07/10/30 14:02:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    07/10/30 14:02:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    07/10/30 14:02:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    07/10/30 14:02:37 at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    07/10/30 14:02:37 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    07/10/30 14:02:37 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    07/10/30 14:02:37 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    07/10/30 14:02:37 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:436)
    07/10/30 14:02:37 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    07/10/30 14:02:37 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    07/10/30 14:02:37 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    07/10/30 14:02:37 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    07/10/30 14:02:37 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    07/10/30 14:02:37 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    07/10/30 14:02:37 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/10/30 14:02:37 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/10/30 14:02:37 at java.lang.Thread.run(Thread.java:595)
    Has anyone seen this error before or can anyone explain this error? This problem is mission criticle to us so any help is appreciated. Without the boost of performance and unnecessary callbacks the application is just unusable.
    Thanks in advance,
    Robert

    Hi Frank,
    it seems that this issue is dependent to the renderModelIfNeeded phase. I still have no explanation for this behaviour. For now I've changed our implementation to use the prepareModel phase but I'm still not happy with the ADF phase implementation and documentation. Some methods that we use in the backend are called many times.
    I'll keep on trying to find a solution...
    Thanks
    Robert

  • How to save multiple rows using ADF faces ?!

    Hello;
    I am developing a search page using ADF faces (jdeveloper 10.1.3).
    after building my view i dragged it as search form on my page then i dragged it again as a read only table to display results with different iterator.
    I have a field act as a flag with 'Y' and 'N' value so i converted this field in the table to select boolean checkbox.
    what i need is ...
    after processing search operation i want to update this flag by 'Y' or 'N' (select/un-select checkbox) then click on a save button to save all result rows flag with its new status to the data base.
    Wish to know how to implement that.
    Thanks a lot

    Searching this forum yields How to do a bound af:SelectBooleanCheckbox inside of af:Table
    Hope this helps

  • Adf-faces-ea15 missing share-1_1_18.jar?

    Hi,
    I've just tried to install adf-faces from ea15 without having any previous version of it. Target is the production version of JDev. Reading through how-to-adf-faces-10gjdev.htm it seems there are some files in ea15 missing: share-1_1_18.jar and the adf-faces-install.zip. In ea12 these files are available. So does one have to install an older version to get ea15 working?

    Yes, after writing the post I've read it in an older documentation. I do understand that the how-to does not necessarily get update everytime a ea is released.
    Nethertheless, thank you.

  • Workaround for missing ADF Faces Cache taglib

    I've downloaded Steve's migrated version of SRdemo (http://otn.oracle.com/products/jdev/tips/muench/1013srdemo/SRDemoSampleADFBC_migrated_to_11g_otn3.zip) and am trying to run it on JDev 11g TP3. However it couldn't find the ADF Faces Cache taglib in the afc.jar file that is deployed within the UserInterface project as it looks for a D:\temp... path.
    A workaround for this is to:
    * go to UserInterface "Project Properties...", choose JSP Tag Libraries: "ADF Faces Cache 1.0" will be shown in red as it references jar:file:/D:/temp/SRDemoSampleADFBC/UserInterface/public_html/WEB-INF/lib/afc.jar!/META-INF/afc.tld
    * delete the red "ADF Faces Cache 1.0"
    * click "Add", "User" folder at top, then click "New" button.
    * navigate to the directory where your SRDemo project is stored and then UserInterface/public_html/WEB-INF/lib/afc.jar - then click OK.
    * it calls this "ADF Faces Cache [1] 1.1" - select this and click OK, then save the project properties.
    You should now see ADF Faces Cache [1] 1.1 in the list - I'm assuming this is a new version of afc.jar not yet bundled with JDev 11g.
    HTH. Any comments or alternative suggestions welcome!

    2. Answer its question Itself. Yes, change the filling items in SelectOneChoice through ForEach on preparing the reference book in BackBean and bind it with attribute "value" of f:selectItems speedup rendering about 6 times!

  • DVD SP 2.05 hangs while opening file

    DVD Studio Pro 2.0.5 hangs while opening a project file that until recently worked fine.
    The "hang" seems to accur while DVD SP is opening the project's menus. The dialog box "Loading Project" appears and progresses until it reaches "Loading Menus", then it hangs until I click "Cancel", then DVD SP crashes.
    I trashed DVD SP's prefs, no success. I even tried to move the project's menu files offline, without success - DVD SP even hangs when the referenced assets are not available to it. All project files that are variations of the main file also hang, all at the same time. I don't think the project files are corrupted, more likely something wrong with DVD SP? Any ideas? Reinstall? I'm a little worried about the project files - lots of work is at stake...
    Thanks

    Previously when this has happened for folks it has been related to font management. If you have turned off a font that DVDSP uses as a default for the menus then it won't be able to create the menu when it loads. The solution is to turn on the fonts again.
    Are you using font management software?

  • Encore and Premiere CS3 hanging while opening - EMERGENCY

    I try opening Premiere or Encore on my Mac they just hang while opening ANY project file that is dated before today. I can make a new project, save it and open it...but any project made before today freezes both programs. They start loading the project and then it just hangs, with the colored wheel staying on screen until Force Quit is used. I have months of work done on this project and am literally 2-3 days away from completion, and backup projects won`t load either.  I need some serious help on getting this resolved before I lose my mind and seriously contemplate quitting film altogether.
    I have 3 gigs of ram, 2 x 2.66 Ghz dual core Intel xeon and CS3 

    One thing to try... create a new project and then import the old project into the new project
    Other than that... this is for the Windoze world, but some of the steps may help
    http://ppro.wikia.com/wiki/Troubleshooting

Maybe you are looking for

  • Problem with customer exit variable on date range

    Hi All, I have customer exit variable on date range. In the selection screen it has to give the week range  as a default (05/21/2009 to 05/27/2009). Earlier its working fine and from yesterday onwards it is not working properly. yesday onwards defaul

  • My iPod Classic shows link to support

    Hello, I have an iPod Classic 20G. When I turn it on, the apple appears and stays for a few seconds, then it displays an iPod on screen with the link to Apple.com/support/ipod. When I go there, I try to get help with a tech. It asks for my type of iP

  • Feature Request - Replace MacBook Pro Feet

    So the feet on my MacBook Pro fell off after normal use.  (Turns out that this is a problem many MacBook users are having.)  Took my MacBook Pro to the Genious Bar and was told that the feet could not be replaced because they were part of the unibody

  • Different behaviors of Ant's MappingToolTask and "Refresh Mappings" in eclipse

    Hello I'm using KodoJDO 3.0 rc2. I tried two different ways, to generate the mappings file and update the tables in the database. Strangely, they both behave differently: 1. using ant with the task: kodo.jdbc.ant.MappingToolTask -a refresh does ignor

  • How much will the ipod touch 5th Gen. cost?

    Just want to know how much I would have to save. I don't want to end up going to Wal Mart and being a penny short, or whatever..