2 Replies Latest reply: Feb 23, 2009 4:21 AM by 428468 RSS

    graph

    614882
      hello every body
      I want to use Graph demo in oracle form 10g using OTN demo. I could run it. but now I'm realy interested in deploying java classes. When I deploy it I get following errors:

      Error(894,19): method setLocalRelationalData(java.util.ArrayList) not found in class oracle.dss.graph.Graph
      Error(1325,21): method setLocalRelationalData(java.util.ArrayList) not found in class oracle.dss.graph.Graph
      Error(1943,22): method setLocalRelationalData(java.util.ArrayList) not found in class oracle.dss.graph.Graph

      In addition I've added Oracle Forms(frmjdev_pjc.jar) and Oracle BI Graph(bigraphbean.jar) to the project az jar libraries.
      How can I get rid of this errors?
      Your help is really appreciated.
      thank you
        • 1. Re: graph
          614882
          solved
          I found the soloution in:
          Error compiling FormsGraph.jar
          thank you
          • 2. Re: graph
            428468
            how did you get this to compile?

            I get the following when opening formsgraph.java

            java.lang.IllegalArgumentException: Cannot set a null TableModel

                 at javax.swing.JTable.setModel(JTable.java:2706)
                 at oracle.jdeveloper.jbx.bean.EventsPage.initialize(EventsPage.java:218)
                 at oracle.jdeveloper.jbx.JbxMainPanel.setJbxModel(JbxMainPanel.java:201)
                 at oracle.jdeveloper.jbx.ClassEditor.open(ClassEditor.java:111)
                 at oracle.jdeveloper.jbx.ClassEditor.editorShown(ClassEditor.java:260)
                 at oracle.ideimpl.flateditor.SplitPane.doLayout(SplitPane.java:496)
                 at java.awt.Container.validateTree(Container.java:1092)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validateTree(Container.java:1099)
                 at java.awt.Container.validate(Container.java:1067)
                 at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
                 at oracle.jdevimpl.uieditor.UIEditorImpl$TolerantRepaintManager.validateInvalidComponents(UIEditorImpl.java:919)
                 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:454)
                 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
                 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
                 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
                 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
                 at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


            then if i try to compile get

            Error(41,25): cannot access class oracle.dss.graph.BaseGraphComponent; file oracle\dss\graph\BaseGraphComponent.class not found
            Error(42,25): cannot access class oracle.dss.graph.Graph; file oracle\dss\graph\Graph.class not found
            Error(43,25): cannot access class oracle.dss.graph.GraphBackground; file oracle\dss\graph\GraphBackground.class not found
            Error(44,25): cannot access class oracle.dss.graph.LegendArea; file oracle\dss\graph\LegendArea.class not found
            Error(45,25): cannot access class oracle.dss.graph.Series; file oracle\dss\graph\Series.class not found
            Error(46,24): cannot access class oracle.dss.util.DefaultErrorHandler; file oracle\dss\util\DefaultErrorHandler.class not found
            Error(48,29): cannot access class oracle.forms.handler.IHandler; file oracle\forms\handler\IHandler.class not found
            Error(49,32): cannot access class oracle.forms.properties.ID; file oracle\forms\properties\ID.class not found
            Error(50,24): cannot access class oracle.forms.ui.CustomEvent; file oracle\forms\ui\CustomEvent.class not found
            Error(51,24): cannot access class oracle.forms.ui.VBean; file oracle\forms\ui\VBean.class not found
            Error(67,33): class VBean not found in class oracle.forms.demos.bigraph.FormsGraph
            Warning: The file is not part of the active project Project1.jpr, compiled class will be written to Project1.jpr output directory
            Error(67,33): class VBean not found in class oracle.forms.demos.bigraph.FormsGraph

            All i have done is download the latest patch version and try opeing in Jdev 10.1.2.1.0

            What do i need to do in order to open/compile.

            As i need to alter it slightly to get it to print.