Trying to create a painting application.

Hello, I am sophomore Computer Science student and I am stuck on my project.
My problem is very basic.
Heres the project question:
Create an application that enables to user to paint a picture. The user should be able to choose the shape to draw, the color in which the shape should appear and whether the shape should be filled with color. Use the graphical user interface components we discussed in this chapter, such as JComboBoxes, JRadioButtons and JCheckBoxes, to allow the user to select various options. The program should provide a JButton object that allows the user to erase the window.
now, I've created the framework of the program. That is, how the program looks and stuff. But there is one annying problem!
How do I paint?!
As soon as I put the paint method inside my program, it completely overwrites the GUI I've created. Copy-paste the following code in your compiler (and read the comments towards the end):
========
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Project extends JFrame {
     public static void main (String args[]) {
          Project app = new Project();
          app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     // Initiating values
     Container c;
     JPanel p = new JPanel();
     JRadioButton oval=new JRadioButton("Oval");
     JRadioButton line=new JRadioButton("Line");
     JRadioButton rect = new JRadioButton("Rect");
     ButtonGroup b = new ButtonGroup();
     JCheckBox filled = new JCheckBox("Filled");
     JButton clear = new JButton("Clear");
     String colorNames[] = {"Red","Green","Blue","Pink","Magenta","Orange"};
     Color colors[] = {Color.red,Color.green,Color.blue,Color.pink,Color.magenta,Color.orange};
     JList colorList = new JList(colorNames);
     public Project() {
          //Starting stuff..
          super("Microsoft Paint 2004");
          setSize(600,600);
          c=getContentPane();
          c.setLayout(new BorderLayout(5,5));
          c.setBackground(Color.white);
          //Defining ButtonGroup
          b.add(oval);     
          b.add(line);
          b.add(rect);
          // Adding stuff to JPanel object. All JPanel stuff goes in here
          p.setLayout(new FlowLayout()); // Setting Layout for JPanel
          p.add(oval);
          p.add(line);
          p.add(rect);
          p.add(filled);
          p.add(clear);
          p.add(new JScrollPane(colorList));
          p.setBackground(Color.gray);
          // Defining JList
          colorList.setVisibleRowCount(3);
          colorList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
          // Adding JPanel to Container
          c.add(p,BorderLayout.SOUTH);
          // Adding Mouse Listeners
          addMouseListener(new MyMouseHandler());
          addMouseMotionListener(new MyMouseMotionHandler());
          //Adding listeners for the Radio Buttons
          oval.addItemListener(new RadioButtonListener());
          line.addItemListener(new RadioButtonListener());
          rect.addItemListener(new RadioButtonListener());
          show();
     private class MyMouseHandler extends MouseAdapter {
          public void mouseClicked (MouseEvent e)
               repaint(); // Calling the paint method     
     private class MyMouseMotionHandler extends MouseMotionAdapter {
     private class RadioButtonListener implements ItemListener {
          public void itemStateChanged(ItemEvent e)
     //public void paint (Graphics g) {          // Run the program without the paint method, and then run it with the paint method. You'll see what I mean.
     //     g.drawString("Hello",160,160);

Ok, I understand what you are saying.
Now, based on my understand.. and after further analysing your code; I've created two different versions of my code. However..... the annoying thing is, the same problem persists!!
I JUST CANT GET THE MOUSE TO DRAW!
I am gonna copy-paste both versions of the code, the first one is my original code, the second peice of code is what I created by understanding your code/explaination.
Preferably, PLEASE analyse my code original instead. I am more comfortable with extending JFrame rather than using it as an Object (like how you do, heh).
===== MY ORIGINAL CODE =====
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Project extends JFrame {
     // Initiating values
     Container c;
     JPanel p = new JPanel();
     JRadioButton oval=new JRadioButton("Oval");
     JRadioButton line=new JRadioButton("Line");
     JRadioButton rect = new JRadioButton("Rect");
     ButtonGroup b = new ButtonGroup();
     JCheckBox filled = new JCheckBox("Filled");
     JButton clear = new JButton("Clear");
     String colorNames[] = {"Red","Green","Blue","Pink","Magenta","Orange"};
     Color colors[] = {Color.red,Color.green,Color.blue,Color.pink,Color.magenta,Color.orange};
     JList colorList = new JList(colorNames);
     Drawer d = new Drawer();
     public static void main (String args[]) {
          Project app = new Project();
          app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     public Project() {
          //Starting stuff..
          setSize(600,600);
          c=getContentPane();
          c.setLayout(new BorderLayout(5,5));
          c.setBackground(Color.white);
          //Defining ButtonGroup
          b.add(oval);     
          b.add(line);
          b.add(rect);
          // Adding stuff to JPanel object. All JPanel stuff goes in here
          p.setLayout(new FlowLayout()); // Setting Layout for JPanel
          p.add(oval);
          p.add(line);
          p.add(rect);
          p.add(filled);
          p.add(clear);
          p.add(new JScrollPane(colorList));
          p.setBackground(Color.gray);
          // Defining JList
          colorList.setVisibleRowCount(3);
          colorList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
          // Adding JPanel to Container
          c.add(p,BorderLayout.SOUTH);
          //Adding Drawer to Container
          c.add(d,BorderLayout.CENTER);
          // Adding Mouse Listeners
          addMouseListener(new MyMouseHandler());
          addMouseMotionListener(new MyMouseMotionHandler());
          //Adding listeners for the Radio Buttons
          oval.addItemListener(new RadioButtonListener());
          line.addItemListener(new RadioButtonListener());
          rect.addItemListener(new RadioButtonListener());
          show();
     private class MyMouseHandler extends MouseAdapter {
          public void mouseClicked (MouseEvent e)
               repaint();                    
     private class MyMouseMotionHandler extends MouseMotionAdapter {
     private class RadioButtonListener implements ItemListener {
          public void itemStateChanged(ItemEvent e)
       private class Drawer extends JPanel{
           public void paintComponent(Graphics g) {
               g.drawString("Superman is dead",200,200);
}======= MY CODE (2nd version)============
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Project extends JFrame {
     // Initiating values
     Container c;
     JPanel p = new JPanel();
     JRadioButton oval=new JRadioButton("Oval");
     JRadioButton line=new JRadioButton("Line");
     JRadioButton rect = new JRadioButton("Rect");
     ButtonGroup b = new ButtonGroup();
     JCheckBox filled = new JCheckBox("Filled");
     JButton clear = new JButton("Clear");
     String colorNames[] = {"Red","Green","Blue","Pink","Magenta","Orange"};
     Color colors[] = {Color.red,Color.green,Color.blue,Color.pink,Color.magenta,Color.orange};
     JList colorList = new JList(colorNames);
     Drawer d = new Drawer();
     public static void main (String args[]) {
          Project app = new Project();
          app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     public Project() {
          //Starting stuff..
          setSize(600,600);
          c=getContentPane();
          c.setLayout(new BorderLayout(5,5));
          c.setBackground(Color.white);
          //Defining ButtonGroup
          b.add(oval);     
          b.add(line);
          b.add(rect);
          // Adding stuff to JPanel object. All JPanel stuff goes in here
          p.setLayout(new FlowLayout()); // Setting Layout for JPanel
          p.add(oval);
          p.add(line);
          p.add(rect);
          p.add(filled);
          p.add(clear);
          p.add(new JScrollPane(colorList));
          p.setBackground(Color.gray);
          // Defining JList
          colorList.setVisibleRowCount(3);
          colorList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
          // Adding JPanel to Container
          c.add(p,BorderLayout.SOUTH);
          //Adding Drawer to Container
          c.add(d,BorderLayout.CENTER);
          show();
     private class Drawer extends JPanel{
            public Drawer() {
            //Adding listeners for the Radio Buttons
          oval.addItemListener(new RadioButtonListener());
          line.addItemListener(new RadioButtonListener());
          rect.addItemListener(new RadioButtonListener());
            // Adding Mouse Listeners
          addMouseListener(new MyMouseHandler());
          addMouseMotionListener(new MyMouseMotionHandler());
          private class MyMouseHandler extends MouseAdapter {
               public void mouseClicked (MouseEvent e)
          private class MyMouseMotionHandler extends MouseMotionAdapter {
          private class RadioButtonListener implements ItemListener {
               public void itemStateChanged(ItemEvent e)
           public void paintComponent(Graphics g) {
                    g.drawString("Superman is dead",200,200);
THANK YOU THANK YOU THANK

Similar Messages

  • Trying to create reference for application in target server failed;

    I have an ear file that I am trying to deploy using the "Deploy Enterprise Applications/Modules" page on the console.
    The console gives me a message saying
    "Trying to create reference for application in target server failed; Application tsom_oes is not found in config context"
    tsom_oes is the name of my application, or it was. I've changed every instance of that name I can find and still it tells me it is looking for tsom_oes.
    Can anyone tell me just what is looking for it and where it is expecting to find it?
    I ran the verifier on the ear file and it did give me some errors, although none of them seem to relate to this. Specifically it told me it did not like the xml in a tld file I'm using
    and it seems to think Hibernate needs a bunch of JBoss classes (none of which are referred to by my app anywhere). I'm guessing the verify is mistaken on those, but if anyone knows better I'd like to hear
    Meanwhile I don't know why it won't deploy, nor why it is still looking for tsom_oes.
    One more thing I must add: this ear file exposes portlets which I am hoping will be accessible through the portal server. The ear file works on JBoss, but I have added what I think are the necessary sun xml files to make it run here.
    By 'exposes portlets' I mean that I have created a sun-portlet.xml and implemented the appropriate interfaces (all of which work on JBoss).
    Environment:
    Sun App server 9.1 plus portal server 7.2 on Windows XP

    Okay, I found the answer. I had hacked the domain.xml for this some time ago (this task has been off and on a lot) and forgotten.
    I found the tsom_oes reference in there and removed it. Now it deploys.
    Hopefully this helps someone else some day... probably not though, eh?

  • Error when trying to create a Composite Application Services project

    Hi Experts,
    I am facing a problem while trying to create a project using NWDS 7.0 SP 13
    New Development Component Project-> Composite  Application Services
    then pressing finish, it throws an error as follows
    "Generation can not completed due to one or more error"
    Reason :
    Errors occurred during code generation
    Warning :
    EAR-META-INF generation failed : null
    Plz help me to solve this
    Thanks in advance,
    John

    Hi John,
    It looks like there might be issue with CAF services related plugins. Check if there are any errors in log file under metadata folder of your workspace.Try deleting the metadata folder & restart the NWDS or start in a new workspace.
    I feel if the issue persists, it is a bug & you can raise an OSS ticket.
    Kind Regards,
    Nitin

  • Error Trying to create a planning application 9.3.1.2

    Hi,
    I have a problem when I try to create a new application in Planning.
    I re installed a new server from scratch with the lastest version in Oracle eDelivery (9.3.1.2), using DB2 as database.
    All is working fine (shared service, essbase, eas ...) never got an error, but i'm not able to create a planning application, I have an error at the end of the process using: http://server:8300/HyperionPlanning/AppWizard.jsp.
    For information, I have 4 different databases in DB2 (Shared Services, Essbase, Planning and the Planning Instance).
    Here is the error log I have in Tomcat:
    26 févr. 2009 10:52:08 org.apache.coyote.http11.Http11Protocol init
    INFO: Initialisation de Coyote HTTP/1.1 sur http-8300
    26 févr. 2009 10:52:08 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 594 ms
    26 févr. 2009 10:52:08 org.apache.catalina.core.StandardService start
    INFO: Démarrage du service Catalina
    26 févr. 2009 10:52:08 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    26 févr. 2009 10:52:08 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    26 févr. 2009 10:52:08 org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    26 févr. 2009 10:52:08 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installation d'une application pour le chemin de contexte /HyperionPlanning depuis l'URL file:C:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
    Creating rebind thread to RMI
    Cache Control is :public,max-age=2592000
    26 févr. 2009 10:52:12 org.apache.coyote.http11.Http11Protocol start
    INFO: Démarrage de Coyote HTTP/1.1 sur http-8300
    26 févr. 2009 10:52:13 org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8302
    26 févr. 2009 10:52:13 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    26 févr. 2009 10:52:13 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4781 ms
    java.util.MissingResourceException: Can't find bundle for base name HspCustomMsgs, locale fr
    java.util.MissingResourceException: Can't find bundle for base name HspImgs, locale fr
    java.util.MissingResourceException: Can't find bundle for base name HspCustomImgs, locale fr
    java.util.MissingResourceException: Can't find bundle for base name HspImgs, locale fr_FR
    java.util.MissingResourceException: Can't find bundle for base name HspCustomImgs, locale fr_FR
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Setting Arbor path to: C:\Hyperion\common\EssbaseRTC\9.3.1
    Connection to the datasource created successfully.
    createSchema hyperion.jdbc.base.BaseBatchUpdateException: [Hyperion][DB2 JDBC Driver][DB2]No default primary tablespace exists for the new table.
    hyperion.jdbc.base.BaseBatchUpdateException: [Hyperion][DB2 JDBC Driver][DB2]No default primary tablespace exists for the new table.
         at hyperion.jdbc.db2.DB2ImplStatement.executeBatch(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.executeBatch(Unknown Source)
         at com.hyperion.planning.sql.HspSetupSQLImpl.createSchema(Unknown Source)
         at com.hyperion.planning.HspManageApplication.createApp(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
         at HspCreateApp.Handle(Unknown Source)
         at HspCreateApp.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Unknown Source)
    Unable to create Scehma for application. Exiting Application Creation.
    Exception in Application Creation :Unable to create Scehma for application. Exiting Application Creation.
    java.lang.IllegalStateException: Unable to create Scehma for application. Exiting Application Creation.
         at com.hyperion.planning.HspManageApplication.createApp(Unknown Source)
         at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
         at HspCreateApp.Handle(Unknown Source)
         at HspCreateApp.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: Create application failed.
         at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
         at HspCreateApp.Handle(Unknown Source)
         at HspCreateApp.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Unknown Source)
    I think it is something related to DB2 (on a different server), but i don't know what...
    Many thanks for any help and kind regards.

    Hi,
    It looks like it is around the DB2 set up.
    In the errors you posted :-
    No default primary tablespace exists for the new table
    Unable to create Scehma for application
    So maybe it is down to tablespace or permissions
    Be sure to see the sections in the installation guide regarding DB2, also any information in the 9.3.1 readme
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Has anyone ever tried to create an own application (T681A)

    Hello,
    i want to use message determination for an "own" application. So has anyone tried to make an entry - "legal or illegal" - in table T681A?.
    As there are reserved namespaces in this table and as it is a new entry, it should not harm anything. But you never know.
    So i post this to get an opinion from the community.
    Regards
    Jürgen

    Generally you cannot buy a gift card with a gift card and I suspect that applies to going between the Apple Store and the iTunes Store.

  • Index out of range when trying to create a new Application

    When I try to create an Application (Such as Consolidation,Ownership,Rate ) getting  an Error Message 'Index as out of range. Must be non negative & less than the size of the collection. Parameter name : index'.
    But  i could able to create generic application with no issue.
    Any leads would be appreciated .
    Best Regards
    Ram

    Hi,                                                                
    Could you please check if an application has 'Journal' in use in your application set.                                                      
    If so, it might be the cause of the issue.
    This was reported some time ago. You can get rid of that by performing those steps. Before that, be sure to have a copy of all those below tables before doing any change (in order to be sure not to loose anything):
    1. In tblapp, anything that has a '1' for Journal has to be changed to '0'  
    2. Deletion of all tables beginning with JRN.
    3. Then, try to recreate your application, add needed dimension and do not forget to check both options (Re-assign SQL index and Process application).
    Hope this will help.
    Best Regards,
    Patrick

  • Error while creating a blackberry application in netbeans

    hi everyone,
    i am trying to create a blackberry application along with my midlet in netbeans 6.5, where as the build failed with errors.
    here are the errors i am getting.. can anyone help me........
    java.io.IOException: CreateProcess: "D:\Research In Motion\bin\preverify" -classpath "D:\Research In Motion\BlackBerry JDE 4.6.0\lib\net_rim_api.jar" -d D:\ProjectHome\MoBilal-English\build\preverified
    D:\ProjectHome\MoBilal-English\build\preverifysrc error=3
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    at java.lang.ProcessImpl.start(ProcessImpl.java:30)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    at java.lang.Runtime.exec(Runtime.java:591)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:828)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:445)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:459)
    at org.netbeans.mobility.antext.PreverifyTask.execute(PreverifyTask.java:225)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:481)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    BUILD FAILED (total time: 9 seconds)
    thanks in advance
    pallavi

    hi everyone,
    i am trying to create a blackberry application along with my midlet in netbeans 6.5, where as the build failed with errors.
    here are the errors i am getting.. can anyone help me........
    java.io.IOException: CreateProcess: "D:\Research In Motion\bin\preverify" -classpath "D:\Research In Motion\BlackBerry JDE 4.6.0\lib\net_rim_api.jar" -d D:\ProjectHome\MoBilal-English\build\preverified
    D:\ProjectHome\MoBilal-English\build\preverifysrc error=3
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    at java.lang.ProcessImpl.start(ProcessImpl.java:30)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    at java.lang.Runtime.exec(Runtime.java:591)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:828)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:445)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:459)
    at org.netbeans.mobility.antext.PreverifyTask.execute(PreverifyTask.java:225)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:481)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    BUILD FAILED (total time: 9 seconds)
    thanks in advance
    pallavi

  • Issue while creating a new application in Hypeiron Planning

    Hi,
    When I am trying to create a new application in Hyperion Planning - the below log is coming...
    Planning server started fine in 4328 ms ( as shown in the below log) but once I click the finish button to create the new application its then I am facing with the issue and the same error is repeating in the Planning server..
    but I could see the new application in EAS console - but when I cannot see the application in workspace or planning web..
    When I restart the planning server - the same error is repeating - but when I delete the application from EAS and then RECONFIGURE Planning(database, instance and datasouce of planning )in shared services and restart the planning server the error is going of (most probably because all the old tables are being dropped in the database)
    Please help me resolve the issue.
    Planning server Log:
    Mar 31, 2008 3:40:24 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8300
    Mar 31, 2008 3:40:24 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 766 ms
    Mar 31, 2008 3:40:24 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Mar 31, 2008 3:40:24 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /HyperionPlanning from URL file
    :G:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
    Creating rebind thread to RMI
    Mar 31, 2008 3:40:29 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8300
    Mar 31, 2008 3:40:29 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8302
    Mar 31, 2008 3:40:29 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    Mar 31, 2008 3:40:29 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4328 ms
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Setting Arbor path to: G:\Hyperion\common\EssbaseRTC\9.3.1
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Connection to the datasource created successfully.
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or
    view does not exist
    at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
    at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
    at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
    RA-00942: table or view does not exist
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or
    view does not exist
    at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
    at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
    at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
    RA-00942: table or view does not exist
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsis
    tent datatypes: expected INTERVAL got NUMBER
    at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
    at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
    at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
    RA-00932: inconsistent datatypes: expected INTERVAL got NUMBER
    software details:
    EAS server is up and working fine
    Hyperion planning 9.3.1
    Oracle database 9.2.0.1.0
    Regards,
    Ravi

    Now we have a new schema in place WITH a new username and password for oldb database-
    this is the change in the datasouce configuration (USER NAME CHANGE)
    Datasource name: newplan
    Select Database: Oracle
    Database details:
    Sever: my database server ( say 10.301.222.320)
    Port:1521
    Product: PLANNING
    database: oldb
    username:HYPPLAN
    password:***
    when I use the above configuration: below is the error log
    Apr 1, 2008 11:39:49 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8300
    Apr 1, 2008 11:39:49 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 750 ms
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /HyperionPlanning from URL file
    :G:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
    Creating rebind thread to RMI
    Apr 1, 2008 11:39:53 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8300
    Apr 1, 2008 11:39:53 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8302
    Apr 1, 2008 11:39:53 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/16 config=null
    Apr 1, 2008 11:39:53 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4656 ms
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Setting Arbor path to: G:\Hyperion\common\EssbaseRTC\9.3.1
    Connection to the datasource created successfully.
    Error log starts here--------------------------------------
    in cpp-Created Application:planone 0
    Unable to create Analytical application. Exiting Application Creation.
    Exception in Application Creation :Unable to create Analytical application. Exit
    ing Application Creation.
    java.lang.IllegalStateException: Unable to create Analytical application. Exitin
    g Application Creation.
    at com.hyperion.planning.HspManageApplication.createApp(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    (Unknown Source)
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    0)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: Create application failed.
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    (Unknown Source)
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    0)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    the error I am getting in appwizard - "error occured while creating application - please check the log"
    and if I am using the same schema - i.e. same userid and database for both planning system and planning application I was getting the previous error
    Regards,
    Ravi

  • How to create a new application in APEX based on a VIEW

    Hi all
    I am a newbie to this tool. I am trying to create a new application with the wizard and choosing a repor/form. I want to use a VIEW and not a table to base the applications on but do not see the view in the drop down list to choose it. In the screen itself the definition of a Report and Form page says a user can update a table or view. Yet I do not see a way to choose the view.
    Can someone make a suggestion on how to choose a view to base an application?
    thank you

    Hello user533722 (please tell us your name - we're a friendly group),
    Is your view in a different schema than the one the tables are in? If so, you need to grant permission on the view to the Parsing Schema defined for that application (go into Shared Components > Definition to see what the parsing schema is). Then you should be able to see the view in the dropdown.
    Hope this helps,
    John

  • Error while creating a BSP application

    Hello Experts-
    I am trying to create a BSP application. This is the error what I am seeing, can any one let me know on what settings i have to make it work.
    Could not create the associated SICF node automatically.
    Add a node manually using "HTTP Service Maintenance"
    (Transaction SICF)
    Steps which I followed to create BSP app are
    Se80> BSP application > name of app> enter> create local object.
    Thanks,
    Raj

    hi,
    Please check the thread before you post it, becoz its already posted and answered too
    after getting the message
    "Could not create the associated SICF node automatically.
    Add a node manually using "HTTP Service Maintenance"
    in the same window in the common box type "/nsu53" and hit enter.
    system will give details about the missing authorization .
    or
    when you generate the web interface it automatically creates the SICF entry. Just make a litte change to the web interface and activate it again.
    You can also regenerate an entire BSP application by calling the O2_GENERATE_BSPAPPL function module in the test environment of
    transaction SE37 .
    cheers,
    Bhavana

  • Error while creating hyperion planning application in 11.1.1.1.0

    Hi All,
    I am using EPM system 11.1.1.1.0 and i get the following error while trying to create a new application using Hyperion Planning:
    Unable to find JDBC_CATALOG key for application: ABC1+
    Connection to the datasource created successfully.+
    in cpp -Created NonUnicode App:ABC1 0+
    Unable to create Analytical application. Exiting Application Creation.+
    Exception in Application Creation :Unable to create Analytical application. Exit+
    ing Application Creation.+
    java.lang.IllegalStateException: Unable to create Analytical application. Exitin+
    g Application Creation.+
    at com.hyperion.planning.HspManageApplication.createApp(Unknown Source)+
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication+
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)+
    at HspCreateApp.doPost(Unknown Source)+
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)+
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl+
    icationFilterChain.java:252)+
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF+
    ilterChain.java:173)+
    at HspValidationFilter.doFilter(Unknown Source)+
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl+
    icationFilterChain.java:202)+
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF+
    ilterChain.java:173)+
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV+
    alve.java:213)+
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV+
    alve.java:178)+
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j+
    ava:126)+
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j+
    ava:105)+
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal+
    ve.java:107)+
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav+
    a:148)+
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java+
    *:869)*
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p+
    rocessConnection(Http11BaseProtocol.java:664)+
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo+
    int.java:527)+
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol+
    lowerWorkerThread.java:80)+
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP+
    ool.java:684)+
    at java.lang.Thread.run(Unknown Source)+
    java.lang.RuntimeException: Create application failed.+
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication+
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)+
    at HspCreateApp.doPost(Unknown Source)+
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)+
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl+
    icationFilterChain.java:252)+
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF+
    ilterChain.java:173)+
    at HspValidationFilter.doFilter(Unknown Source)+
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl+
    icationFilterChain.java:202)+
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF+
    ilterChain.java:173)+
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV+
    alve.java:213)+
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV+
    alve.java:178)+
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j+
    ava:126)+
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j+
    ava:105)+
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal+
    ve.java:107)+
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav+
    a:148)+
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java+
    *:869)*
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p+
    rocessConnection(Http11BaseProtocol.java:664)+
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo+
    int.java:527)+
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol+
    lowerWorkerThread.java:80)+
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP+
    ool.java:684)+
    at java.lang.Thread.run(Unknown Source)+
    Error terminating Essbase connection: java.lang.NullPointerException+
    If somebody can please help me resolve this issue , it would be great.
    Thanks in Advance.
    Alicia

    I suspect that this is caused by an "incorrect" datasource definition when you create a new one.
    I noticed that when I created an Essbase DB through the Essbase Enterprise Admin Service, it only allowed me to create one for localhost, not my server name EVEN if when the "Manage Data Source" validated the connection.
    This points to one of the myriad of apps inconsistently trying to resolve a server name.
    So, in EAS, see if you can connect to your local Essbase install and if successful, use the exact same params for you Workspace Application.
    Hope that helps.

  • ORA-20001 Error when creating a new application

    Hi,
    I am trying to create a new application of an existing table in the database and I get the following error. The application is created using the wizard (app type Database, from scratch, Report and Form page)
    ORA-20001: Unable to create modules. ORA-20001: Create pages error. ORA-20001: Unable to create form page. ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" has same name as existing application-level item. ORA-0000: normal, successful completion
    The table I am creating the app on is defined like this:
    CREATE TABLE  "TABLE_1"
       (    "ID" NUMBER,
            "SESSION_EXTERNAL_PAPER" VARCHAR2(30),
            "OWNER_CFP_SUBMITTER1_FULL_NA" VARCHAR2(255),
            "OWNER_CFP_SUBMITTER1_COMPANY" VARCHAR2(255),
            "STATUS" VARCHAR2(30),
            "SESSION_ID" NUMBER,
            "TITLE" VARCHAR2(255),
            "ABSTRACT" VARCHAR2(4000),
            "SESSION_TYPE" VARCHAR2(30),
            "SESSION_CATEGORY" VARCHAR2(30),
            "STREAM" VARCHAR2(30),
            "PRIMARY_TRACK" VARCHAR2(255),
            "OPTIONAL_TRACK" VARCHAR2(255),
            "CROSS_STREAM_TRACK" VARCHAR2(30),
            "SUPPORTING_VIDEO" VARCHAR2(4000),
            "ATTENDEE_ROLE" VARCHAR2(255),
            "TO_RATING" VARCHAR2(30),
            "TO_COMMENTS" VARCHAR2(4000),
            "COMMENTS" VARCHAR2(4000),
            "ORACLE_PARTNERNETWORK" VARCHAR2(30),
            "IS_YOUR_OPN_MEMBERSHIP_UNDER_A" VARCHAR2(255),
            "ORACLE_PARTNER_TYPE" VARCHAR2(255),
            "OPN_MEMBERSHIP_LEVEL" VARCHAR2(30),
            "ORACLE_REGION_BASED" VARCHAR2(30),
            "ORACLE_VALIDATED_INTEGRATION" VARCHAR2(30),
            "HAS_YOUR_COMPANY_ACHIEVED_SPEC" VARCHAR2(4000),
            "PLEASE_DESCRIBE_THE_VALUE_OF_O" VARCHAR2(4000),
            "INCLUDE_CASE_STUDY" VARCHAR2(30),
            "PROVIDE_NAME_OF_THE_CUSTOMER_F" VARCHAR2(255),
            "PLEASE_PROVIDE_A_BRIEF_DESCRIP" VARCHAR2(4000),
            "NON_ORACLE_EMPLOYEE_SPEAKER1_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER1_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER1_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER1_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER2_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER2_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER2_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER2_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER3_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER3_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER3_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER3_COMPA" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER4_F" VARCHAR2(255),
            "NON_ORACLE_EMPLOYEE_SPEAKER4_C" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER4_FULL" VARCHAR2(255),
            "ORACLE_EMPLOYEE_SPEAKER4_COMPA" VARCHAR2(255),
            "CREATED" DATE,
            "CREATED_BY" VARCHAR2(50),
            "LAST_UPDATE" DATE,
            "LAST_UPDATED_BY" VARCHAR2(50),
             CONSTRAINT "OOW_PAPER_PK" PRIMARY KEY ("ID") ENABLE
       ) ;I am using APEX version 4.0.2.00.07
    Any idea what could be wrong and what can be done to resolve the problem?
    Cheers,
    Andy

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

  • Unable to create the new application

    HI
    i am trying to create a new application ,database connections are ok data source is ok .essbase connection is ok.when i described currency period plan 1 and no of years and then click finish i am getting this messege
    An error occurred while processing this page. Check the log for details.

    Hi John ,
    Oracle® Hyperion Planning, Fusion Edition Version: 11.1.1.3.0
    shared services 11.1.1.3
    2003 windows service pack 2
    Regards

  • Help with Creating A New Application Form

    Hi, completely new to this and trying to create a new application form for a conference.
    I've created the form and set each of the packages delegates can buy and added a select button on the right hand side of each of the 6 packages but I can't seem to get it to the point where only one package can be selected - each has details ie B&B and dinner etc so I want delegates to select the one they want beside it.
    Also I've managed to create the link to create the email address to populate to send it back but it isn't attaching the completed form - how do I do this?
    All help EXTREMELY welcomed! Thanks
    Colin

    Hi,
    as I know, you can change your cursors by system software or/and browser. On the other hand you can use programs "outside" of your DW. I suggest to "Google" for them, as I did, and found for example this:
    http://www.google.de/#hl=de&xhr=t&q=create+cursor&cp=13&pf=p&sclient=psy&site=&source=hp&a q=0&aqi=g2&aql=&oq=create+cursor&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=e8c6fad3e718b799&biw=1280 &bih=785
    or http://www.cursors-4u.com/ and while examining this website my cursor changed immediately.
    Hans-Günter

  • How to Create a Packaged Application

    Hello,
    I am trying to create a packaged application of an APEX program I have developed and I am following the "How to Review a Packaged Application" instructions in the Advanced Tutorials.
    When I try to install the application on another workspace, the application "appears" but the supporting data objects do not install eventhough I select that option.
    Additionally, the users do not get installed.
    I have a feeling that I am supposed to create installation scripts to create the data objects (i.e. Tables, Views, etc.) in the "Installation Scripts" page but when I click on "Create Scripts to Install Files" the data objects are not there to select.
    Can someone please let me know what I am doing wrong?
    Thanks
    LEH

    You can go to Utilities > Generate DDL, and use the built-in feature to generate a DDL script; however, it's up to you to determine which database objects will be required for your application and which won't. As for seeding data, you will have to hand-code a bunch of INSERT statements. Depending on the volume of data, this may (or may not) be practical.
    As for users, if you are using APEX users, then you can also export/import the workspace, and the users will be preserved. If you are using LDAP, then you don't need to be concerned with moving users. Again, it all depends on what you're trying to achieve overall. Are you moving a system from DEV to PROD, or are you trying to package something that you will resell? These two different situations will each have different recommended best practices.
    Thanks,
    &#150; Scott &#150;
    http://spendolini.blogspot.com/
    http://sumnertech.com/

Maybe you are looking for

  • How to get Sharepoint OAuth clientId for Java application used in any tenant

    I'm developing a web application for Office365 using the SharePoint 2013 REST service. This app is hosted by my web server. The development language is Java. I plan that users in any tenant use my app via OAuth. How can I register my app to get clien

  • User exit for rerapp t-code

    Hello, i m looking for user exit for rerapp t-code but i couldnt find anything about that from internet. it s about e coming invoice. the invoice is being committed from rerapp t-code; then the view is being matched with invoice and clicked documents

  • User Level Data Restriction in OBIEE

    Hi Experts, Need your help in implementing the below logic in OBIEE. I have a requirement where user needs to view only particular data. Say for example , UserA   Bangalore UserB   Delhi UserC   Mumbai Once User A logins he / she should be able to vi

  • Pre-ordering albums before their release date

    If I pre-order an album prior to its official release date, does anyone know at what time of day during the release date I can download it? The album in question is released tomorrow (April 25). Can I download it at midnight? If so, midnight in what

  • Failure to convert infinite double to BigDecimal

    I need to convert double to BigDecimal. But one of the double values is infinite and is not converted into the BigDecimal. I am getting this error. java.lang.NumberFormatException: Infinite or NaN. This is how I am converting it. private BigDecimal c