Struts-Diagram slow

My struts-diagram is becoming pretty huge by now and due to that it's terribly slow. Opening it, changing something in it, etc... it all takes seconds and it's getting worse because it's still getting bigger. My pc has 1.26GB of RAM, that should be enough I would say. Does somebody has an idea...?

It seems to work a lot faster now... Great improvement...!
Only now I'm stuck with a NoClassDefFoundError when I deploy to my application server (AS). I supose I have run the ADF Runtime Installer again, beacuse of the migration to the new UIX-version. The only thing I don't get is, why can you only run this locally...? Last time, we ran ran JDeveloper using X on our linux AS-server, isn't there an easier way for this...?

Similar Messages

  • JDeveloper IDE Crashing using double click on DataAction in struts-diagram.

    Hello,
    Has anyone had this problem with Jdeveloper10g?
    We have a workspace for an application that has grown fairly large. The
    problem happens when we try to drag a DataAction from the Component Palette
    onto the struts-diagram when in the the JDeveloper10g IDE and then
    double click the icon to create a data action. We get this message:
    An Error has occurred in the Java VM
    An operation has failed because an error has occurred in the Java VM. The current
    activity may fail and the system may have been left in an unstable state. The following
    is a stack trace.
    java.lang.StackOverflowError
    If further errors occur, you should restart the application.
    If the error was an OutOfMemoryError, try closing some components, such as some
    diagrams, or increase the Java heap size.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle
    support, giving the information in this message.
    The Version of JDeveloper we are using is: 10.1.2.1.0 Build 1913 but we also had the
    same problem using this same workspace in Build 1811. If we try a different workspace
    there is no problem and we don't see the issue. Neither do we see the problem if we drag
    either a DataPage or a plain Action from the Component Palette and the double click
    either of those to create a Jsp page or an action.
    We have spent hours using diffing software recursively on the workspace directories trying
    to determine what may have gone wrong. We have eliminated a great deal from the problem
    workspace including deleting everything from the struts-diagram (In a copy of the ws of course).
    We really can't afford to rebuild the workspace from scratch and this problem causes us a
    significant headache. It seems like a serious bug in JDeveloper itself.
    Any help would be appreciated.
    Thanks,

    Problem Solved! This condition is caused by a circular dependency set up when the view was checked as a depndency for the model. We had a small class in the view that was being used in the model so the model was made dependant on the view and this causes an infinite loop condition of some sort when double clicking on a newly dropped in DataAction as described below.

  • Struts Diagram and CVS Problems

    We're having a difficult time with the StrutsPageFlow.oxd_struts and CVS. Anytime a developer makes a change to the Struts diagram and commits the struts-config.xml file, the StrutsPageFlow.oxd_struts file also gets committed. When a different developer updates the struts-config.xml file the StrutsPageFlow.oxd_struts file has a conflict on just about every item. We're also encountering this on our *.jpr and bc4j.xcfg files.
    JDeveloper 10g is stealing a lot of our time as we're having to manually work around a lot of CVS conflicts on files that are not shown in the project but associated with project files like the struts-config.
    Anyone else having CVS issues with these "behind-the-scene" files?

    Hi Jason,
    Unfortunately, this is a known issue. The only workaround we can suggest for struts at the moment is using an exclusive editing mode. Whenever a developer needs to modify the struts diagram, he should issue a cvs edit. Other developers should use the "List Editors" functionality in JDev to check whether someone is currently editing the file.
    We're working on resolving these team development issues in the 10.1.3 release.
    Thanks,
    Brian

  • Struts diagram not opening?

    Hi gang
    In JDev 9.0.5.2 my struts diagram wont open. It's odd as the structure window correctly shows the struts elements, I can also edit the struts elements via the struts editor, but the diagram wont open?
    Anybody had this problem and found a solution?
    Cheers,
    CM.

    I thought it could be this too. I had been fooling around in the extension manager earlier in the day to speed up JDeveloper. However I left this option checked as I do use the struts diagrammer. As a re-assurance, I checked all options under the extension manager, restarted JDeveloper and again tried to open my struts diagram with no success.
    I also tried turning off the struts extension, restarting, turning the struts extension back on, restarting, then viewing the diagram to no success also. However this does allow me to view the actual XML file now, where as previously this wouldn't open either.
    Finally I performed a 'validate-XML' on the struts-config.xml which reports the file's contents are fine.
    Any other ideas? Is there any way to get any diagnostics out of JDeveloper to see what's happening? Is there a limit to the # of elements the struts diagrammer can handle? - I have around 50 data pages and many more forwards.

  • JDev10G:  Struts Diagramming and Action calls in JavaScript

    I've noticed that a Struts diagram does not reflect actions that are called from within JavaScript methods. Is this something that will be included in JDeveloper 10G 9.0.5 production?

    We are not currently going into the code (java or java script) to look for action calls. I will enter an enhancement request for this functionality.
    Thanks,
    Pete

  • Struts-config.xml page flow diagram

    I am using JDeveloper 10.1.2.17.84 version. When I double click on the struts-config.xml file of my application it does not have a tab for the page flow diagram. What's wrong? How can I correct this?

    "Struts diagram support has to be enabled or disabled at the extension level, this means that when JDeveloper is running with the support disabled, all Struts configurations in the IDE will be shown without diagrams."
    Please refer to
    http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.html

  • JDev 10.1.3 Errors BME-01605 and BME-99033 in Struts Page Flow

    Hi All,
    I get the following error when I choose the Data Page icon in Struts Page Flow and try to drag into the diagram. Any ideas???
    Thanks!!!
    java.lang.NullPointerException     at oracle.bm.diagrammer.registry.RBaseShape.setDefaultCore(RBaseShape.java:539)     
    at oracle.bm.diagrammer.shape.BaseDiagramShape.initProperties(BaseDiagramShape.java:450)     
    at oracle.bm.diagrammer.shape.BaseDiagramShape.initShape(BaseDiagramShape.java:322)     
    at oracle.bm.diagrammer.shape.BaseDiagramNode.initShape(BaseDiagramNode.java:291)     
    at oracle.adfdt.controller.struts.diagram.shape.StrutsActionNode.initShape(StrutsActionNode.java:68)     
    at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:6913)
    at oracle.adfdt.controller.diagram.PageFlowDiagram.addShape(PageFlowDiagram.java:197)     
    at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:6838)
    at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.doCreateNode(CreateRegisteredShapeTracker.java:715)     
    at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker$6.performAction(CreateRegisteredShapeTracker.java:297)
    at oracle.bm.diagrammer.LockMonitor.performLockedAction(LockMonitor.java:64)     
    at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(BaseDiagram.java:2429)     
    at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:279)     
    at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:403)
    at oracle.bm.diagrammer.track.TrackerStack.pop(TrackerStack.java:198)
    at oracle.bm.diagrammer.track.RectangularTracker.mouseReleased(RectangularTracker.java:441)
    at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:196)
    at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:389)
    at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:719)
    at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2904)
    at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3097)
    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)

    Never mind!!! I restarted Jdeveloper and now works!!!
    Sorry

  • 10g Struts/ADF: Problem with updating a DataAction

    We have a web application (JSP/Struts/ADF) that we developed using the 10g (build 1542) Struts Page Flow designer. It is a great tool for building the application the first time but when we go to change something, DataActions end up being ignored when the application is run.
    Here is the scenario:
    We have SQL-based VOs which require a paramter at run-time. We use a Struts DataAction to bind the VO SQL query through a custom method in the App Module (AM). This works fine the first time that we create it and run it.
    The problem comes when we want to change the custom method (which was already associated with a DataAction) in the AM and then rebuild and run the app, it looks like the DataAction is not there and we get an error on the DataPage (that the DataAction forwards to) which says that "not all variables bound". We have printlns in the custom method so we know when it is accessed and in the scenario that I pose here, the custom method is not called.
    This has also occurred when we had a DataPage forward to another DataPage and then later we added a DataAction in between. The application continued to forward from the DataPage to the DataPage completely ignoring the DataAction that we added and that can be seen on the Struts diagram.
    The only way that we have been able to work around this issue is to delete the Data Action and the DataPage from the struts diagram and then recreate them under a different name. This seems like it is a bug and I wonder if anyone else has experienced this?
    Is this a known bug which will be fixed in the production release?
    Thanks, Les

    This seems to be related to Bug# 3537056.
    Please contact Worldwide Support and register that you are running into this bug. Unfortunately, the bug doesn't list a workaround at present.
    Once you have correctly set SelectMethod=Cursor and passed the -Djbo.sql92.locktrailer=null runtime parameter to avoid using the FOR UPDATE clause, you hit an issue when the UPDATE statement is issued that our developers are looking into.

  • Inserting a template into a struts generated default page

    I first add the pages in struts, and then build them as I go, but I like have the pages and data actions layed out before hand (though not necessarily connected). The problem is when I use struts to generate the page, by double clicking, I can't seem to use a template for that page.
    Probabaly something obvious I'm missing here...?

    I assume that you mean that if you drop a DataPage or a Page Forward onto the page flow diagram, and then Double Click on it or choose "Go To Page" to create the page for the first time you don't get the opportunity to select a template?
    If that's the issue then you're correct there is no way to do this you'll either have to pre-create the pages using the template you want and associate them with the DataPage when the drilldown dialog pops up (or simply drag and drop them onto the diagram on the first place - the Struts diagram will represent them as a PageForward in the first instance and then convert them to a DataPage if you happen to do some databinding), or you can of course save the template as a code snippet in the Component palette and simply select that when you create the new empty page.
    I'd probably choose the latter approach then you can set up multiple templates as snippets and insert the one you need.

  • Migrating struts application from 10.1.2 to 10.1.3.1

    I've tried migrating my struts application from using JDev 10.1.2 to 10.1.3.1. When I try to open up the struts-config.xml file, I get a Java runtime exception error. I am using JDK 5.0.60.5. I'm not sure how to fix this....
    Message
    BME-99004: A Java runtime exception has occurred.
    Cause
    This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.ClassCastException: oracle.adfdt.controller.struts.diagram.db.shape.StrutsDataActionNode
         at oracle.adfdt.controller.struts.diagram.shape.StrutsPageLink.connect(StrutsPageLink.java:79)
         at oracle.bm.diagrammer.shape.BaseDiagramEdge.validate(BaseDiagramEdge.java:3176)
         at oracle.bm.diagrammer.registry.RBaseShape.validate(RBaseShape.java:788)
         at oracle.bm.diagrammer.BaseDiagram.validateOnLoad(BaseDiagram.java:6436)
         at oracle.bm.persist.diagram.impl.BaseDiagramReader.loadDiagram(BaseDiagramReader.java:141)
         at oracle.bm.diagrammer.BaseDiagram.loadDiagram(BaseDiagram.java:1381)
         at oracle.adfdt.controller.diagram.PageFlowDiagram.loadDiagram(PageFlowDiagram.java:108)
         at oracle.bm.addinUtil.IDEAppContext.buildDiagram(IDEAppContext.java:2269)
         at oracle.bm.addinUtil.DiagAppPanel.buildDiagram(DiagAppPanel.java:50)
         at oracle.bm.addinUtil.IDEAppContext.openLoad(IDEAppContext.java:3735)
         at oracle.bm.addinUtil.IDEAppContext.open(IDEAppContext.java:3368)
         at oracle.adfdt.controller.diagram.PageFlowEditor.open(PageFlowEditor.java:82)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         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:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         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)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    Yes, but the application under 10.1.3 points to the application.jws file in the old 10.1.2 directory.
    I want the application to point to the .jws file JDeveloperApplication/<application>/<application>.jws.
    10.1.3 keeps this pointer somewhere and would like to change it. I scanned the jdev directory for files containing <application>.jws, and found it in the binary file jdev/system/oracle.jdeveloper.10.1.3.36.73/system.sys file, and the ide.properties file, and the system/oracle.ide.10.1.3.26.73/windowinglayout.xml file.
    None of these files seem to be the place to make the adjustments.
    I guess the more general question for me is "How should JDeveloper be configured to allow for migration of applications? (It does not seem to be a no-brainer!) How should it be configured when additional libraries have been included in the list libraries of prior JDeveloper version and need to be migrated/duplicated to a new version of JDeveloper? How are connections supposed to be migrated (for database, cvs, application servers)? How should JDeveloper be configured for team use? (Each member of a team should maintain identical JDeveloper configurations. Yes?)"
    But, first things, first. How do I point a JDeveloper application to a different .jws and application directory?

  • Clearcase fails on struts-config.xml

    Clearcase LT 5.0 worked for this file in jdev 9.0.3 for a few days. Now it failed in jdev every time I do source control operations from source control option. I tryed all kinds of things and could not fix it including a new clearcase view and new jdev workspace. Every time it shows an error in error dialog as following:
    java.lang.NullPointerException
         boolean oracle.jdevimpl.jotimpl.JotWorkAreaImpl.isValidPossibleClass(java.lang.String)
              JotWorkAreaImpl.java:232
         oracle.jdeveloper.jot.JotClass oracle.jdevimpl.jotimpl.JotWorkAreaImpl.getClass(java.lang.String, int)
              JotWorkAreaImpl.java:125
         oracle.jdeveloper.jot.JotClass oracle.jdevimpl.jotimpl.JotManagerImpl.getClass(java.lang.String, int)
              JotManagerImpl.java:77
         java.net.URL oracle.jdevimpl.web.struts.ActionNode.getURL()
              ActionNode.java:248
         boolean oracle.ideimpl.scm.impl.ElementUtils.isOperable(oracle.ide.model.Element)
              ElementUtils.java:157
         void oracle.ideimpl.scm.impl.ActionController.addSelection(oracle.ide.model.Element, java.util.List, boolean)
              ActionController.java:463
         void oracle.ideimpl.scm.impl.ActionController.addSelection(oracle.ide.model.Element, java.util.List, boolean)
              ActionController.java:481
         java.util.List oracle.ideimpl.scm.impl.ActionController.buildSelection(oracle.ide.model.Element[], boolean)
              ActionController.java:442
         void oracle.ideimpl.scm.impl.ActionController.handleEventImpl(oracle.ide.scm.SCMOperation, oracle.ide.IdeAction, oracle.ide.addin.Context)
              ActionController.java:592
         void oracle.ideimpl.scm.impl.ActionController.access$2000071(oracle.ideimpl.scm.impl.ActionController, oracle.ide.scm.SCMOperation, oracle.ide.IdeAction, oracle.ide.addin.Context)
              ActionController.java:68
         void oracle.ideimpl.scm.impl.ActionController$1.run()
              ActionController.java:181
         void oracle.ideimpl.scm.impl.OperationThread$ThreadRunnable.run()
              OperationThread.java:212
         void oracle.ideimpl.scm.impl.OperationThread$ThreadRunnable.access$2000071(oracle.ideimpl.scm.impl.OperationThread$ThreadRunnable)
              OperationThread.java:184
         void oracle.ideimpl.scm.impl.OperationThread.run()
              OperationThread.java:157
    Please help.

    "Struts diagram support has to be enabled or disabled at the extension level, this means that when JDeveloper is running with the support disabled, all Struts configurations in the IDE will be shown without diagrams."
    Please refer to
    http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.html

  • Struts - Automatic back forward

    Hi.
    I'm using Jdev 9051 with uix and struts.
    Is there anyway to do an automatic back forward without explicit put the link on struts diagram ?
    Thanks.

    Can you clarify what you mean? If you want to carry out some processing and then automatically forward onto another page rather than back to the submitting page then the answer is Yes. You can call ctx.setActionForward() to override the default forward processing (where ctx is the DataActionContext) passed to an on<Event> method.
    If you're not familiar with the event handling in ADF DataPages then it's worth having a look at the ADF Data Binding Primer:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfbindingprimer/index.html

  • Edit  Struts Page Flow : locking JDev 10g

    I tried to use the "Edit Struts Page Flow" option for an existing project in JDev 10g.
    The "struts-config.xml" is not in web-inf directory (it�s in a directory together with others xml files. In build time it�s placed in the right place in the war file).
    If I create a new "struts-config.xml" it works fine.
    Thanks in advance.

    Just thought I'd provide the following to supplement my previous posting.
    Left click on struts-config.xml in the navigator pane. After 5 minutes or so the following stack trace appears in the console window:
    java.lang.NullPointerException
    at ndOrCreateConfigurationNodeInProject(JUDTNodeObjectFactory.java
    :176)
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findConfigurationNodeInProject(JUDTNodeObjectFactory.java:150)
    at
    oracle.adf.dt.providers.XcfgDataControlProvider.addControlsToArrayList(XcfgDataControlProvider.java:45)
    at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:110)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
    at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
    at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    If I then right click on struts-config.xml in the navigator pane and select edit struts page flow, a few minutes
    later the following stack trace appears in the console window:
    java.lang.NullPointerException
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findOrCreateConfigurationNodeInProject(JUDTNodeObjectFactory.java
    :176)
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findConfigurationNodeInProject(JUDTNodeObjectFactory.java:150)
    at
    oracle.adf.dt.providers.XcfgDataControlProvider.addControlsToArrayList(XcfgDataControlProvider.java:45)
    at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:110)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
    at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
    at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at oracle.ideimpl.flateditor.FlatEditorManager.createEditor(FlatEditorManager.java:1203)
    at oracle.ideimpl.flateditor.FlatEditorManager.createEditorInFrame(FlatEditorManager.java:1147)
    at oracle.ideimpl.flateditor.FlatEditorManager.openEditorInFrame(FlatEditorManager.java:1078)
    at oracle.ideimpl.flateditor.FlatEditorManager.openDefaultEditorInFrame(FlatEditorManager.java:1053)
    at oracle.adfimpl.struts.StrutsProjectConfigurer.addStrutsDiagram(StrutsProjectConfigurer.java:356)
    at oracle.adfimpl.struts.navigator.StrutsMenuListener.showDiagram(StrutsMenuListener.java:220)
    at oracle.adfimpl.struts.navigator.StrutsMenuListener.handleEvent(StrutsMenuListener.java:92)
    at oracle.ide.IdeAction.performAction(IdeAction.java:812)
    at oracle.ide.IdeAction$1.run(IdeAction.java:781)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    As I'm then left looking at a grey screen and a blank dialogue, my only option at this point is to use Windows' Task manager to terminate JDeveloper.
    HTH,
    Justin.

  • Struts ActionForm wizard

    In jdev 9.0.3 you used to be able to select File..New..Struts..ActionForm which would then create a skeleton class extending struts.action.actionform.
    Any way of doing this jdev 10g ???
    I know I can do new..Java class then extend it myself but the previous way was a lot easier.
    Thanks
    Conrad

    Using the Struts Diagram:
    --If you already have the Action element in the Struts diagram, Rt click on the Action element to invoke the context menu and select "Go to Form Bean".
    --A dialog ("Create Struts Form Bean") opens, enter Action Form details and click OK
    --You should see the skeleton class for your action form.
    HTH,
    Prashanth

  • Trying to delete a record from an entity-based VO in ADF

    We are using J-Developer 9.0.5.2
    This is a web app using struts and ADF BC
    Click the link below to view part of the struts diagram that relates to this question
    http://home.earthlink.net/~katie1les/images/delete.gif
    1. We have a DataPage that displays a list of items (catalogItemLIsting.jsp). This is a view of all items in a particular category based on the ItemsVO. Each item has a delete icon beside it.
    2. The user clicks the delete icon which forwards to the bindDeleteItem DataAction that will bind that item number (through custom method in the AM) to an entity-based DeleteItemVO (the only record that will be in the DeleteItemVO is the item they selected to delete). This step corresponds to the deleteItem Data Page as seen in the image link above).
    We do this step (step 2) because we want to show the user a confirmation page with additional item information before they actually delete the item. Otherwise, we could just perform the delete from the original page.
    3. On the deleteItem data page there is a Delete (">Select</a>) link beside the single item in the view that when clicked should set the current row (the only row in the view object) and forward to the setDeleteItemDA Data Action.
    4. I dragged the setCurrentRowWithKey method from the DeleteItemVO onto the setDeleteItemDA data action.
    5. I forwarded that data action to the deleteItemDA data action where I dragged the Delete method from the DeleteItemVO.
    6. This action forwards to a deleteItemDP data page where I dropped a Commit action from the AM which owns the DeleteItemVO.
    The result of executing these steps brings it back to itself (deleteItem.do) and tries to rebind the single record view object producing a ORA-01008: not all variables bound error and not forwarding to the setDeleteItemDA data action.
    Are we using the right approach here?
    I tried following the example located at: http://otn.oracle.com/products/jdev/collateral/tutorials/9050/bizcomp_jsp_tut.html#delete, but there are some differences between the two. We are using data pages and a single view object, while the example is using regular jsp pages and a master detail view relationship.

    Thanks Steve for the reply. We dowloaded the following example (http://otn.oracle.com/products/jdev/tips/muench/DeleteEmpWithConfirm.zip) and tried to make it work for us. We set everything exactly the same (as far as we could tell). There is one difference though between what you have in this example and ours and that is that the VO that is dropped on the first data page is first bound by a custom method through a preceeding data action. When the page is rendered we see the item we choose (and that was bound in the data action) correctly on the page.
    The problem comes in when we click on the delete link on that page, it does not seem to be posting back properly - it appears to be ignoring the "confirmDelete" event, which is part of the url (and it's corresponding forward named the same) and instead ends up trying to rebind the VO on the same page which produces a "not all variables bound" error. Error listed below.
    Why is the Datapage seeking to rebind the VO again, when it was already bound previously? Shouldn't the setCurrentRowKey method simply set the current row on the VO without having to requery the VO again?
    *** error page ***
    You must correct the following error(s) before proceeding:
    JBO-29000: Unexpected exception caught: oracle.jbo.SQLStmtException, msg=JBO-27122: SQL error during statement preparation. Statement: SELECT DeleteItemInfoEntityObject.RETAILER_NUMBER, DeleteItemInfoEntityObject.AUTH_ITEM_CODE, DeleteItemInfoEntityObject.UPC, DeleteItemInfoEntityObject.ITEM_DESCRIPTION, DeleteItemInfoEntityObject.PACK, DeleteItemInfoEntityObject.RETAIL_SIZE, DeleteItemInfoEntityObject.UNIT_COST, DeleteItemInfoEntityObject.AWI_DEPT_NAME, DeleteItemInfoEntityObject.RETAILER_CATALOG_NAME, DeleteItemInfoEntityObject.RETAILER_CATEGORY_NAME, DeleteItemInfoEntityObject.RETAIL_PRICE, DeleteItemInfoEntityObject.QUANTITY_AT FROM DELETEITEMINFOVIEW DeleteItemInfoEntityObject WHERE AUTH_ITEM_CODE = :1 AND RETAILER_NUMBER = :2
    JBO-27122: SQL error during statement preparation. Statement: SELECT DeleteItemInfoEntityObject.RETAILER_NUMBER, DeleteItemInfoEntityObject.AUTH_ITEM_CODE, DeleteItemInfoEntityObject.UPC, DeleteItemInfoEntityObject.ITEM_DESCRIPTION, DeleteItemInfoEntityObject.PACK, DeleteItemInfoEntityObject.RETAIL_SIZE, DeleteItemInfoEntityObject.UNIT_COST, DeleteItemInfoEntityObject.AWI_DEPT_NAME, DeleteItemInfoEntityObject.RETAILER_CATALOG_NAME, DeleteItemInfoEntityObject.RETAILER_CATEGORY_NAME, DeleteItemInfoEntityObject.RETAIL_PRICE, DeleteItemInfoEntityObject.QUANTITY_AT FROM DELETEITEMINFOVIEW DeleteItemInfoEntityObject WHERE AUTH_ITEM_CODE = :1 AND RETAILER_NUMBER = :2
    ORA-01008: not all variables bound
    *** error ***
    Les, here's a minimal working sample:
    http://otn.oracle.com/products/jdev/tips/muench/Delete
    mpWithConfirm.zip
    It uses just two data pages and leverages the
    built-in event-handling features of ADF described in
    the ADF Data Binding Primer and ADF/Struts Overview.
    The pages use the post-back pattern to handle their
    own events before forwarding.
    http://otn.oracle.com/products/jdev/collateral/papers/
    0g/ADFBindingPrimer/index.html

Maybe you are looking for

  • Problem to generate secret field with JHeadstart 10.1.3.1.0

    Hi, I'm experimentig the new version of Jheadstart and I have a problem to generate a JSF page with a secret field using the Oracle JHeadstart 10.1.3 Evaluation Version. In fact when I change the display filed in the jheadstart Application Definition

  • How to work with raw files from Nikon D600 in Lightroom 3

    I need to know how to process my raw files from my Nikon D 600 camera in Lightroom 3.6 and Photoshop 4? Message title was edited by: Brett N

  • Multimapping???

    In multimapping combination of JAVA mapping,ABAP mapping is posiible???? correct answer will be  rewarded. Anyone please??? Message was edited by:         sam kumar

  • Last quotation for a particular item

    Hi All, Would it be possible to get a query report to see which was the last quotation that we sent of an item to any customer. The fields that we would like here would be as mentioned below; Customer Name, DocDate, Item No., Quantity and Unit Price

  • Replacing multiple spaces with another character

    i need to replace multiple spaces with another char in a string my code is Dim text as String="a bit much             a little much" Dim arr As String() = text.Split({" "c}, StringSplitOptions.RemoveEmptyEntries)Dim newtext As String = String.Join("