FM CS_BOM_EXPLOSION generates an exception NO_SUITABLE_BOM_FOUND

Hello
I execute FM CS_BOM_EXPLOSION (get components of material BOM) within my FM. For one of the materials this FM generates an exception NO_SUITABLE_BOM_FOUND (BOM has marked for deletion).
Execution of FM (code2) stops.
How to enable to execution of the FM?
code1
CALL CS_BOM_EXPLOSION
code2
Thanks

Try this..
exceptions
   alt_not_found               = 1
   call_invalid                = 2
   missing_authorization       = 3
   no_bom_found                = 4
   no_plant_data               = 5
   no_suitable_bom_found       = 6
   object_not_found            = 7
   conversion_error            = 8
   error_message               = 99 "<<< this helps to capture such exceptions
   OTHERS                      = 9
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

Similar Messages

  • Common Language Runtime Debugging Services Application has generated an exception that could not be handled

    Our custom got an error when startup our .NET windows form application.
    XXXXX.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled
    Process id=0x654(1620), Thread id = 0x5b0 (1456)
    Click OK to terminate the application
    Click CANCEL to debug the application
    If they click on "CANCEL" then following error message appears:
    Registered JIT debugger is not available. An attempt to launch a JIT
    debugger with the following command resulted in an error code of 0x2(2)
    Please check the computer settings
    cordbg.exe !a0x654
    Click on Retry to have the process wait while attaching a debugger
    manually.
    Click on Cancel to abort the JIT debug request
    We can not duplicate this problem in our development environment and test environment. So, we ask them to uninstall application, .NET Framework 1.1 and resinstall .NET Framework 1.1 and application. They still got same error. We further ask them to install .NET Framework SDK 1.1. They got some detail error message.
    [thread 0x840] Thread created.
    Unable to determine existence of prolog, if any
    [thread 0x188] Thread created.
    [thread 0xba8] Thread created.
    [thread 0x840] Unhandled exception generated: <0x00c0344c> <System.IO.FileNotFoundException>
     _fileName=<null>
     _fusionLog=<null>
     _className=<null>
     _exceptionMethod=<null>
     _exceptionMethodString=<null>
     _message=<0x00c04cc8> "The specified module could not be found."
     _innserException=<null>
     _helpURL=<null>
     _stackTrace=<0x00c04d2c> array with dims=[156]
     _stackTraceString=<null>
     _remoteStackTraceString=<null>
     _remoteStackIndex=0x00000000
     _HResult=0x8007007e
     _source=<null>
     _xptrs=0x00000000
     _xcode=0xe0434fd
    Thread 0x840 R 0x00000000: <unknown>
    <cordbg>
    Looks like the problem is casued by missing component. But we don't know which component missing and how to find it. Is there anybody can give us some clue what we need to check next and what tool we can use to detect missing component.
    Thanks!!!!

    I tried Dependency Walker in our development environment, looks like it's useless for .NE T Window Form application, the result I got is like bellow,
    XXXXX.EXE
        MSCOREE.DLL
            KERNEL32.DLL
            USER32.DLL
            ADVAPI32.DLL
            SHLWAPI.DLL
            URLMON.DLL
            VERSION.DLL
    I know we used some other DLL like Mirosoft Office Object Library, but MSCOREE.DLL (.NET Runtime Engine) covered them. Any other idea? Thanks!!!!

  • Application has generated an exception that could not be handled

    my add on works fine on some PC's but on one particular one keeps crushing giving
    Application has generated an exception that could not be handled
    Process id =0x147c(5244), thread id=0x1478 (5240)
    or
    "Incorrect Connection string for Add on"  messages
    After browsing net I found solution to my problem therefore I have decided to post it here, so those who will hit it could find the answer.
    If you get this error, you will need to adjust the .NET security with 'Microsoft .NET Framework Wizards' . As simple as that.
    enjoy
    P.S. I wasted 5 days re-installing software

    Hey Dleksiy,
    Could you tell me how did you(i am expecting steps followed) adjust the .NET security using .net framework wizard my customer is facing the same error message "incorrect connection string for add-on"..
    Thanks in advance
    Regards...

  • Moving initializations to a method generates nullpointer exceptions

    Hi,
    I'm trying to tidy up some code in a class that extends JMenuBar, but I keep getting NullPointerExceptions. Honestly, I have no idea why the compiler doesn't recognized the objects I have just initialized.
    See this:
    (a couple more questions added in comments)
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.KeyEvent;
    import java.util.ArrayList;
    import javax.swing.*;
    public class MyMenuBar extends JMenuBar implements ActionListener
         private JMenuItem exitItem, newGameItem, stopGameItem;
         private JRadioButton shopping, selling, basic, keyboard;
         private JMenu editMenu, playingModeMenu;
         public MyMenuBar(MyFrame myFrame)
              // is there any way I can pass a mnemonic to a method in order to cut a few lines here too?     
              JMenu fileMenu = new JMenu("File");
              fileMenu.setMnemonic(KeyEvent.VK_F);
              this.add(fileMenu);
              editMenu = new JMenu("Edit");
              editMenu.setMnemonic(KeyEvent.VK_E);
              this.add(editMenu);        
              JMenu helpMenu = new JMenu("Help");
              helpMenu.setMnemonic(KeyEvent.VK_H);
              this.add(helpMenu);
              //First Menu
              // can I pass accelerators as well? How?
              this.addJMenuItem(newGameItem, "Start new game", true, fileMenu);
                    //  below is where the exception is launched
              newGameItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.CTRL_MASK));     
              this.addJMenuItem(stopGameItem, "Stop game", false, fileMenu);
              stopGameItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_W, ActionEvent.CTRL_MASK));          
              //Second Menu
              playingModeMenu = new JMenu("Playing mode");
              ButtonGroup playingModeGroup = new ButtonGroup();
              this.addRadioButton(shopping, "shopping", true, playingModeGroup, playingModeMenu);
              this.addRadioButton(selling,"selling", false, playingModeGroup, playingModeMenu);
              editMenu.add(playingModeMenu);
              JMenu interactionModeMenu = new JMenu("Interaction mode");
              ButtonGroup interactionModeGroup = new ButtonGroup();
              this.addRadioButton(basic,"Basic", true, interactionModeGroup, interactionModeMenu);
              this.addRadioButton(keyboard,"Keyboard", false, interactionModeGroup, interactionModeMenu);
              editMenu.add(interactionModeMenu);                         
         private void addRadioButton(JRadioButton radioButton, String text, boolean isSelected, ButtonGroup group, JMenu menu)
              radioButton = new JRadioButton(text);
              if (isSelected)
                   radioButton.setSelected(true);
              group.add(radioButton);
              radioButton.addActionListener(this);
              menu.add(radioButton);
         private void addJMenuItem(JMenuItem item, String text, boolean isEnabled, JMenu menu)
              System.out.println(text);
              item = new JMenuItem(text);
              item.setEnabled(isEnabled);
              item.addActionListener(this);
              menu.add(item);
              System.out.println(text);
         public void actionPerformed(ActionEvent e1)
    }Thanks!

    These declarations have not been instantiated and so are all null:
        private JMenuItem exitItem, newGameItem, stopGameItem;
        private JRadioButton shopping, selling, basic, keyboard;When you send the reference to a method it shows up as null. Trying to reference
    a variable whose value is null generates the exception. Either instantiate the
    reference before sending it or try one of the two other approaches shown below.
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.KeyEvent;
    import java.util.ArrayList;
    import javax.swing.*;
    public class MyMenuBarRx extends JMenuBar implements ActionListener
        private JMenuItem exitItem, newGameItem, stopGameItem;
    //    private JRadioButton shopping, selling, basic, keyboard;
        private JMenu editMenu, playingModeMenu;
        public MyMenuBarRx()
            // is there any way I can pass a mnemonic to a method
            // in order to cut a few lines here too?     
            JMenu fileMenu = new JMenu("File");
            fileMenu.setMnemonic(KeyEvent.VK_F);
            this.add(fileMenu);
            editMenu = new JMenu("Edit");
            editMenu.setMnemonic(KeyEvent.VK_E);
            this.add(editMenu);        
            JMenu helpMenu = new JMenu("Help");
            helpMenu.setMnemonic(KeyEvent.VK_H);
            this.add(helpMenu);
            //First Menu
            // can I pass accelerators as well? How?
            newGameItem = addJMenuItem("Start new game", true, fileMenu);
            //  below is where the exception is launched
            newGameItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,
                                            ActionEvent.CTRL_MASK));     
            stopGameItem = addJMenuItem("Stop game", false, fileMenu);
            stopGameItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_W,
                                            ActionEvent.CTRL_MASK));          
            //Second Menu
            playingModeMenu = new JMenu("Playing mode");
            ButtonGroup playingModeGroup = new ButtonGroup();
            this.addRadioButton("shopping", true, playingModeGroup,
                                 playingModeMenu);
            this.addRadioButton("selling", false, playingModeGroup,
                                playingModeMenu);
            editMenu.add(playingModeMenu);
            JMenu interactionModeMenu = new JMenu("Interaction mode");
            ButtonGroup interactionModeGroup = new ButtonGroup();
            this.addRadioButton("Basic", true, interactionModeGroup,
                                 interactionModeMenu);
            this.addRadioButton("Keyboard", false, interactionModeGroup,
                                 interactionModeMenu);
            editMenu.add(interactionModeMenu);                         
        private void addRadioButton(String text, boolean isSelected,
                                    ButtonGroup group, JMenu menu)
            JRadioButton radioButton = new JRadioButton(text);
            if (isSelected)
                radioButton.setSelected(true);
            group.add(radioButton);
            radioButton.addActionListener(this);
            menu.add(radioButton);
        private JMenuItem addJMenuItem(String text, boolean isEnabled, JMenu menu)
            System.out.println(text);
            JMenuItem item = new JMenuItem(text);
            item.setEnabled(isEnabled);
            item.addActionListener(this);
            menu.add(item);
            System.out.println(text);
            return item;
        public void actionPerformed(ActionEvent e1)
        public static void main(String[] args)
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setJMenuBar(new MyMenuBarRx());
            f.setSize(200,200);
            f.setLocation(200,200);
            f.setVisible(true);
    }

  • RWRBE60.exe has generated an exception: access violation

    I have a user who uses Oracle report called from a form. Several times a day she reports that she get a Dr. Watson application error saying that RWRBE60.exe has generated an exception: access violation when she invokes the report runtime (while running the report not printing it). She is running Windows NT Version 4.0, SP 6; She has 256K memory. She is running Forms 6.0.5.0.2 and Oracle Report 6.0.5.28.0. Any thoughts?
    Thanks
    Anandhi

    I've got a similar problem. I'm running windows xp and reports 6.0.8.22 including Patch 13. I don't get the same error, but the RWRBE60.exe stops with a problem. That only occurs by using reports where the parameters are variable and only by the second time I call such a report. If I close the RWRBE60.exe after the first report that probem doesn't occur. Maybe you could check, whether the problem doesn't occur if you close RWRBE60.exe between two reports.

  • Puppet plugin generated unexpected exception

    Hello out there!
    I'm new to using After Effects CS6 on my mac OS X version 10.7 and have been following a bunch of tutorials on how to add motion to graphics.  I believe I'm taking the proper steps to do so, but every time I use the puppet pin tool then manipulate the pins I immediately get a dialogue box that says "puppet plug-in generated an unexpected exception" thereby quitting my project.  What am I doing wrong OR better yet what do I need to do in order to stop getting this error message? Its killing me!  I just want my cartoon to move already
    Please help...
    Yours truly,
    AraAlexan

    Thanks for the response Mylenium.  What do you need to know about my comp settings and layer types?  I'll grab that info.  Here is the link to the tutorial that I was using.
    How To Make a Cartoon | For Beginners - After Effects Tutorial - YouTube
    Thanks,
    Lauryn N.

  • Downloading PDFs generates socket exception

              Suddenly, we are confronted with corrupted PDF downloads
              which seems to be browser dependent.
              Configuration:
              -- WLS 4.5.2 sp 1
              -- NS 6/6.01 or MSIE 5.50.4522.1800, sp1; Q286043
              Symptoms:
              With both MSIE 5.5 and NS 6, we are getting the following
              error:
              java.net.SocketException: Connection reset by peer: socket
              write error
              The code for downloading the PDF has been rock solid through
              all versions of WLS up to and including 4.5.2. But it
              appears that with MSIE 5.5 (haven't tested with 5.0 recently)
              and NS 6/6.01, we are seeing the above error.
              A search of the BEA newsgroups didn't turn up any reports
              of this specific problem.
              Has anyone seen this, and is there a remedy?
              Thanks.
              Paul Furbacher
              http://www.teamb.com
              

    I have figured it out myself now. Safari was trying to display pdfs using Acrobat and my version needed updating. I have also disabled Acrobat from displaying pdfs now so Safari uses Preview instead.

  • Kill/stop hung thread to generate an exception

    In production certain requests cause the thread executing them to hang. We are unable to reproduce that problem outside of production. One thought I had was to call stop on the thread executing that request which should cause a ThreadDeath which should be logged by our application so I could hopefully find the source of the problem. I made a way to call stop on a Thread and that seems to cause the Thread to die on my machine but not production. Any suggestions on that tactic or on a better tactic to use?

    See http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20599112.html for the resolution.

  • QUERY_VIEW_DATA generates exception in ABAP code

    Hi,
    I have activated service QUERY_VIEW_DATA in SAP BW environment 7.0 service pack: SAPKW70008
    During testing of the webservice I encounter an exception in source code on the ABAP side:
    CL_SRG_RFC_PROXY_CONTEXT======CM002
    THe following statement generates the exception:
    -7b- deserialize data
            SRT_TRACE_WRITE_PERF_DATA_BEG 'FM_PROXY->DESERIALIZE'. "#EC NOTEXT
            call transformation (template)
                source xml l_xr
                result (st_to_abap).
            SRT_TRACE_WRITE_PERF_DATA_END 'FM_PROXY->DESERIALIZE'. "#EC NOTEXT
    The call transformation dumps immediately.
    Value of TEMPLATE = /1BCDWB/WSS0041112143114038399
    I tried all threads in SDN but to no avail.
    Has anybody encountered the same error?
    kind regards,
    Paul

    Hi Arun,
    I logged in to Web Service Navigator and i get to the screen where it asks me to enter Info provider, Selection variables, Query name and View id. Since my Query does not have any selection parameters i only entered Info provider and Query name and left selection and view id
    when i execute i get two boxes one for Request and other for Response. On top of these box i have InvalidVariableValues error message...Complete response message is as follows
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 600
    accept: text/xml
    sap-srt_id: 20100830/133557/v1.00_final_6.40/4C7B07E332A20095E10080000A754720
    server: SAP NetWeaver Application Server / ABAP 701
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header></soap-env:Header><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">InvalidVariableValues</faultstring><detail><n0:GetQueryViewData.Exception xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style"><Name>InvalidVariableValues</Name><Text>Incorrect call of OLAP layer CL_RSR_OLAP; error in BW-BEX-ET ()</Text><Message><ID>BRAIN</ID><Number>369</Number></Message></n0:GetQueryViewData.Exception></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    Thanks
    Surya

  • Exception while generating pdf report using Jasper Report

    Hi experts,
    I am using Jdeveloper : 11.1.2.0.0
    Jaspersoft iReport Designer 4.5.0
    Database is Oracle 11g
    When i try to generate a pdf report ,a pdf file with empty content is generating.
    and exception occuring is
    net.sf.jasperreports.engine.JRException: Error executing SQL statement for : TestReport
         at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:229)
         at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:731)
         at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:629)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1159)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:802)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:746)
         at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
         at com.empAppln.view.EmployeeRegister.runReport(EmployeeRegister.java:153)
         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:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
         at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:124)
         at oracle.adfinternal.view.faces.event.rich.FileDownloadActionListener.processAction(FileDownloadActionListener.java:77)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:814)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:222)
         ... 62 more
    Where TestReport is the name of the report...
    How can i solve this..
    Thanks
    gtg.

    from the error what i understud means.com.empAppln.view.*EmployeeRegister*
    this table is not exits in db. so throw error like this.
    table or view does not exist.and also,
    Stop filedownload if file is empty
    Edited by: ADF 7 on Jan 26, 2012 11:17 PM

  • Informix 7.3 - Oracle 8i migration: Generate Exception Blocks not offered

    I have installed OMWB 2.0.2 and plugin for Infromix Dynamic Server 7.3.
    There is no offered checkbox "Generate Exception Blocks" in "Parse Options" panel for customization of parsing stored procedures in Source Model.
    (But it was normally offered and working in previous OMWB 1.4.1 wersion).
    How I could coerce OMWB2.0.2 to generate BEGIN-EXCEPTION-END blocks around every SELECT statement in stored procedures ?
    Many thanks
    Vladimir Kubanka (alias Bare Foot)
    [email protected] , [email protected]

    Vladimir,
    Generate Exception Blocks parse option is available on the T/SQL to PL/SQL parsers (Sybase and Microsoft SQLServer), I suppose you could put in an enhancement request if this functionality was important to yourself and other users.
    Turloch

  • Jdbc:mysql generating exception when ip address is included as part of url

    hie
    I recently wrote a java application that uses jdbc:mysql connector to connect to the mysql database. The problem I'm facing is ,- when ever I include IP addresses in the url on the getConnection method I get the following exception:
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection refused: connect
    STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
    The funny part is that if I use localhost on the url it works but generates the exception when I put the IP address of the local machine.
    Anybody who knows where the problem is , please help
    thanx in advance

    localhost usually resolves to 127.0.0.1, not the routable IP address of the host.
    mysql (or any TCP/IP based program) can tell which IP address you connected via.
    Your mysql installation apparently isn't configured to allow external connections. The problem could be persmissions or the installation itself, or a firewall on the host.
    See the fine manual:
    http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html
    http://dev.mysql.com/doc/refman/5.1/en/connection-access.html
    http://dev.mysql.com/doc/refman/5.1/en/security-guidelines.html

  • SO Exception Was Generated NEWBIE

    I installed the latest Oracle 9 available on Redhat 9 today and now get this exception when I try to connect in DBVisualizer:
    java.sql.SQLException: Io exception: SO Exception was generated
    Io exception: SO Exception was generated
    What does this mean?
    Thanks.

    It means that Oracle 9 is not certified for Red Hat 9.
    Fred

  • Using servlet to generate XML file

    What I want to do is simple but can't work. Hope you guys can give me a hint.
    I succesfully generate XML file in command line using Oracle XML parser and class generator. Then I was trying to do it using servlet. it compiles fine but generate NullPointer exception at the line:
    Emp e1= new Emp(); //Emp is the root of XML
    I suspect the Emp constructor can't correctly find the globalDTD in its superclass -CGDocument. Please note this only happens in servlet setting, not is command line setting. Any suggestion to get arounf this?
    Another unrelated question is that when I create a XML file using the Oracle XML parser, it seems all the elements a file has to be added once, otherwise the compiler will compalain about the missing element. this will be inconvinient when I constructing a big XML file, which I 'd liek to split into small piece and add them up. Maybe there is a good way but I just don't know it.
    my email: [email protected]

    Hi,
    I'm running into the same problem deploying the classes generated by the class generator. Code works fine from JDeveloper, but had to put my DTD in the directory where my classes are. Deploying the classes with Apache's JServ gives me a NullPointer exception on the first addNode method. I guess it can't find the DTD. I tried to put the DTD in many locations but this didn't fix the problem. Any suggestions?
    Steve,
    Did you fix this problem? Thanx!
    null

  • Exception - If table is Invalid

    Hi All,
    I have following procedure... what exceptions should be used if the table name which i am passing is invalid.
    Can i give INVALID_CURSOR?????
    Specification
    Used table type...
       TYPE t_tab IS TABLE OF VARCHAR2 (4000);
      PROCEDURE PROCESS (
          pv_tab     IN       t_tab
       IS
          --This cursor will fetch all the high_value,high_value_length,partition_name available for the tables which is passed for purging
          CURSOR c_dba_tab_part (lv_multi_tab IN VARCHAR2)
          IS
             SELECT dtp.high_value, dtp.partition_name
               FROM dba_tab_partitions dtp
              WHERE dtp.table_name = lv_multi_tab
          --Local variable which holds the cursor parameters value
          lv_part_name         dba_tab_partitions.partition_name%TYPE;
          lv_long_high_val     LONG;
       BEGIN
          FOR i IN 1 .. pv_tab.COUNT
          LOOP
             --Opening the cursor for processing
             OPEN c_dba_tab_part (pv_multi_tab (i));
             LOOP
                FETCH c_dba_tab_part
                INTO lv_long_high_val, lv_part_name;
                   EXIT WHEN c_dba_tab_part%NOTFOUND;
       EXCEPTION
          WHEN OTHERS
          THEN
             -- During processing or any abrupt actions; if the cursor is still open, then close the cursor.
             IF c_dba_tab_part%ISOPEN
             THEN
                CLOSE c_dba_tab_part;
             END IF;
             DBMS_OUTPUT.put_line
                (   'Exception Raised in Package Procedure PROCESS --> SQLCODE-->'
                 || SQLCODE
                 || 'SQLERRM-->'
                 || SQLERRM
             RAISE;
       END PROCESS;  
       Please help....
    Thanks....

    In this explicit CURSOR will not generate an exception like NO_DATA_FOUND. You have to use cursor attributes. This long example may help you!
    SQL> CREATE TYPE t_tab IS TABLE OF VARCHAR2 (4000);
      2  /
    Type created.
    SQL> show error
    No errors.
    SQL> CREATE OR REPLACE PROCEDURE PROCESS(pv_tab IN t_tab) IS
      2    --This cursor will fetch all the high_value,high_value_length,partition_name available for the tables which is passed
      3    CURSOR c_dba_tab_part(lv_multi_tab IN VARCHAR2) IS
      4      SELECT dtp.column_name
      5        FROM user_tab_cols dtp --I changed the table name for simpicity.
      6       WHERE dtp.table_name = lv_multi_tab;
      7 
      8    --Local variable which holds the cursor parameters value
      9    TYPE tbl_typ IS TABLE OF user_tab_cols.column_name%TYPE;
    10    lv_part_name     tbl_typ; --Changed this for simplicity
    11    lv_long_high_val LONG;
    12    v_tbl            PLS_INTEGER;
    13  BEGIN
    14 
    15    FOR i IN 1 .. pv_tab.COUNT LOOP
    16      --Opening the cursor for processing
    17      OPEN c_dba_tab_part(pv_tab(i));
    18      FETCH c_dba_tab_part BULK COLLECT
    19        INTO lv_part_name;
    20      v_tbl := c_dba_tab_part%ROWCOUNT;
    21      IF v_tbl = 0 THEN
    22        dbms_output.put_line('This is invalid table:' || pv_tab(i));
    23      ELSE
    24        dbms_output.put_line('The columns for:' || pv_tab(i) || ' are: ');
    25        FOR j in 1 .. lv_part_name.COUNT LOOP
    26          dbms_output.put_line(lv_part_name(j));
    27        END LOOP;
    28      END IF;
    29      CLOSE c_dba_tab_part;
    30    END LOOP;
    31 
    32  EXCEPTION
    33    WHEN OTHERS THEN
    34      -- During processing or any abrupt actions; if the cursor is still open, then close the cursor.
    35      IF c_dba_tab_part%ISOPEN THEN
    36        CLOSE c_dba_tab_part;
    37      END IF;
    38   
    39      DBMS_OUTPUT.put_line('Exception Raised in Package Procedure PROCESS --> SQLCODE-->' ||
    40                           SQLCODE || 'SQLERRM-->' || SQLERRM);
    41      RAISE;
    42  END PROCESS;
    43  /
    Procedure created.
    SQL>
    SQL> BEGIN
      2  PROCESS (t_tab('EMP','DEPT','TABLE_3'));
      3  END;
      4  /
    The columns for:EMP are:
    EMPNO
    ENAME
    JOB
    MGR
    HIREDATE
    SAL
    COMM
    DEPTNO
    The columns for:DEPT are:
    DEPTNO
    DNAME
    LOC
    This is invalid table:TABLE_3
    PL/SQL procedure successfully completed.
    SQL>

Maybe you are looking for

  • MS word addins not working

    Error message: MS word experienced a serious problem with the pdf create 8 word addin (nuance pdf product addin). if you have seen this message multiple times. you should disable this addin and check to see if an update is available. do you want to d

  • Audio levels in logic

    Why is the recording level in Logic way lower then my preamp? If I send a signal into my analog preamp, it's way lower in logic and the wave for is way lower too.

  • Flash Projector problems

    I've had help with this project earlier and it was working great until my office decided to upgrade everyone to Windows 7 Professional. I'm not sure if the problem is my OS, but that doesn't seem to make sense to me. The problem is I've built a digit

  • F1, F6, F7 keys not working in RF Device - Symbol MC9090

    Hi All, We are activating funtion keys in ITS Mobile. Looked at lots of posts and included service parameters for ITSMOBILEDEVINCLUDE etc and regenerated screens (HTML Templates) using Mobile Gerate option. Finally function keys are working. But only

  • Transportation Planning Status (vbuk-trsta) User Exit

    Hi All, I wish to change the transportation planning status (vbuk-trsta) of a delivery in a user exit. Which user exit should I use to do this? Just a point to note. The delivery is created automatically from the sales order creation. I don’t think t