CR XI : unable to create ressource objects

Hello,
I am migrating from CR V8 to CR XI in VBSCRIPT / ASP (RDC method for launching CR throught web pages).
I have many multi-parametered reports and I can't display them throught the IE plugin (I just have a grey page, as if the objects were not created, thought I have no errors).
As an example to re-write the former CRPE call, I downloaded the aspmps115 "SimpleParameterFields" code example.
Even with no database access (juste display one input parameter),  the report SimpleParameterFields.rpt doesn't work (this report works fine when opened via the Crystal Report sofware).
In this example, I have suppressed all the lines "ParameterFields.GetItemByName("..")AddCurrentValue" which were not STRING because I had "Error Occurred Reading Records:Type incompatible" otherwise (?!?).
The ActiveX plugin is loaded on the IE first run, but it comes with an error dialog box : "Crystal Report Viewer is unable to create its resource objects". Further on, I don't have this dialog box any more, only a grey page.
What can be wrong in my config for the example not working ?
Sorry if this point has been already reported, I have searched for times in the forum and in the documentation and I am relatively new to CR.
Any help would be appreciated.
Here is my config :
Windows 2000 SP4
SQL Server 2000 (8.0.194)
CR XI R2 SP6 (11.5.12.1838) Full Developper
IE 6 (IE7 doesn't work too)
IIS 5.0
Many thanks
PT

If you are just working on a migration from CR8 that used the CRPE function calls you would probably be better off migrating to our .NET SDK and not the RDC as XIR2 (11.5) is the last version that the RDC ships with.  If you migrate to the .NET SDK instead, at least then if you migrate to a newer version later it won't require a second major rewrite of your application.
If you are still wanting to use the RDC, then I would look at KB [1219470|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313339333433373330%7D.do]
The aspxmps115.zip file it refers to is available [here|https://smpdl.sap-ag.de/~sapidp/012002523100005919782008E/aspxmps115.zip]

Similar Messages

  • Unable to create entity object in JDev 10.1.3(R12)

    Hi,
    I am Unable to create entity object in JDev 10.1.3(R12).Everything else works fine but not the EO creation.THe option for selecting table,synonym are disabled when I try to create new entity object.
    Please let me know if you any of you had the same problem and resolved it.
    Regards
    Sudhakar

    Sudhakar,
    The (R12) in the thread subject line leads me to believe that you are asking this question in the wrong forum. OA Framework has its own [url http://forums.oracle.com/forums/forum.jspa?forumID=210]forum that you should use.
    Best,
    John

  • Unable to create New objects in SE37 & SE38

    Hi Experts,
    I am ABAPer and facing belowing mentioned problem.
    I am unable to create any custom objects like executable programs/BAPI/FM due to performance.
    I am able to open required transactions like SE37/SE38, after that If I try to create or test object, the system is not responding, again we need to go to task bar to close the session.
    I tried to debug SE38 to know what happening internally, it is closing automatically.
    I tied the below mentioned steps .
    1).  I am able to Creating/ Deleting Tables in SE11.
          Unable to create executable program.
           Open SE38 àEnter z----- object name à Click on Create à in new window  Provide Description àSelect program type u201CExecutableu201D à in new dialogue select package &  
           click to save the object. (Here is the problem , we need to restart session, unable to save object properly)
    2).  Function module and BAPI  I am trying to test in SE37.
           However I am able to open se37 transaction with in few seconds,
          After entering FM/BAPI name in SE37, if we click on Display or try to execute  that FM/BAPI system is not responding.
           Open SE37 à Enter existed object name example RFC_READ_TABLE à click on Display   (System will not respond, no content will be displayed)
    As per my knowledge, when ever interacting with SAP Database  system is going to struct,
    However a basis Consultant can understand better then me.
    Please suggest and let me know what need to be done further.
    Thanks & Regards,
    SAI

    Hi,
    I had that also, the window war frozen.
    The problem was the editor mode.
    => go to poperties.
    => change to mode to "old editor". don't use the first option (Now, I don't know the description). "Editor (new)"
    (a bug of the frontend or the backend)
    Sven

  • Unable to create Entity objects for tables in TimesTen database using ADF

    Hi,
    I am not able to create Entity and View objects for tables in TimesTen database using ADF. I have installed TimesTen client on my machine.
    I have created a database connection by using connection type as "Generic JDBC" and giving driver class and JDBC URL. I am attaching screen shot of the same.
    I am right clicking on Model project and selecting New option after that I am selecting ADF Business components and in it I am selecting Business components from tables and there I am querying for tables.I am getting list of tables and when I am trying to create a Entity object from the table after clicking finish Jdev is closing by itself giving an error.
    Can anyone please help me how to create Entity objects for tables using TimesTen as database.I might be missing some jars or the way I am creating connection might be wrong or any plugins required to connect to TimesTen.

    What is the actual error being given by Jdev? Are you sure that the JDBC connection is using the TimesTen JDBC driver JAR and not some other JDBC driver or the Generic JDBC/ODBC bridge?
    Is ADF even supported with TimesTen?
    Chris

  • SBO2005A: Unable to create Userdefined object

    Hi.
    When I try to create a Userdefined Object in SBO2005A via the SDK (Document UDO with search, remove, and one lines object) I get the following error:
    [@] , '1). [Microsoft][ODBC SQL Server Driver][SQL Server]Column names in each table must be unique. Column name 'U_FLDNAME' in table '@' is specified more than once.'
    The code I used worked perfectly in SBO2004A, so the must be some error in the SDK...! Anyone have had the same error.
    I program C#

    Haven't worked in 2005A, but that error is returned from enterprise manager or whatever you are using to mantain your database's. You usualy get this error if you are adding a field(Column) to an existing table that already has that column.
    If your scenario is not the above it could be a BUG.
    Hope this helps.

  • Unable to create callable object of type Webdynpro (GP Interface)

    I am getting the following error message when i try to create a callable object of type webdynpro in GP. It was working fine, but when i added component reuse it start giving me the following error:
    "Cannot read callable object description from component: <null>"
    I also have the library "caf/eu/gp/api" in my project, so i know that is not the problem.
    So basically, my project was working fine until i added component resue that it is not letting me create a callable object in GP.
    Any help will be appreciated.
    Thanks

    That problem is now solved, i dont know how but i took out and putted back my component reuse and it worked. But now components that are deployed to the server and are functioning properly, stop working after the server is rebooted. Simply redeploying the component does not make it work again.
    A note: One way that we've been able to "work around" this has been to modify the components in some way, rebuild, redeploy. Exactly what modifications that make it function again, is unknown.
    Any help on tha issue will be appreciated.
    Thanks
    Nahman

  • Unable to create a Driver object from driver with Media type string CTC PHO

    Hi All,
    I am trying to develop a siebel cti adapter for avaya.
    I have loaded a custom dll into siebel server but it is throwing error "SBL-CSR-00500: Unable to create a Driver object from driver C:\Mydriver\cti.dll with Media-Type-String CTC Phone ".
    It has been long time without any progress.
    Please help
    Thanks
    Nishant

    Hi tomhowell,
    According to your description, my understanding is that you got an error when you created a site from a custom site template after migrading SharePoint 2010 to your server.
    Did you have the original solution file of the site template? Please re-deploy the solution to your SharePoint site, then create a site from the new site template, compare the result.
    Also use  SPDisposeCheck to indentify the memory leak:
    http://archive.msdn.microsoft.com/SPDisposeCheck
    http://www.fewlines4biju.com/2012/11/detected-use-of-sprequest-for.html
    Here are some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3a25eb86-8415-4053-b319-9dd84a1fd71f/detected-use-of-sprequest-for-previously-closed-spweb-object-please-close-spweb-objects-when-you?forum=sharepointdevelopmentprevious
    http://social.msdn.microsoft.com/Forums/en-US/50ce964f-94a6-4fda-abc0-caa34e7111f1/error-detected-use-of-sprequest-for-previously-closed-spweb-object-occurs-when-new-site-gallery
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • The Crystal Report Viewer is unable to create its resource objects

    Recently our Clients have updated to Windows 7 and IE8. we are having issues to view the Reports in Infoview.
    The web server operating server is Windows 2003, Crystal Reports XI Release 2  and BOE R2 SP2 is installed in it. Activex Viewer is downloading fine in client machine having Windows XP OS (IE Version is 7) but for the same url ActiveXViewer.cab is not getting downloaded in Windows 7 Enterprise (IE Version is 8). It throws the error u201CThe Crystal Report Viewer is unable to create its resource objects.u201D
    Does BOE R2 SP2 support on IE8?
    Thanks

    Tested Windows 7 And IE8 browser to view Reports in Infoview for different user preference setting.
    1.       Active X Viewer u2013 Fails to open in View Mode and errors out with message as u201CThe Crystal Report Viewer is unable to create its resource objectsu201D
    2.       DHTML Viewer u2013 Could able to open/export/print  the Report.
    3.       Advance DHTML Viewer  - Could able to open/export/print  the Report .
    4.       Java Viewer u2013 Could able to open/export/print  the Report, but noticed the fonts are overlapping.

  • Unable to create table because object exists. Where do I find object ?? :-0

    Hi,
    I deployed some scripts to a database, had to roll it back and then deployed again but I'm unable to create a particular table. The error says an object already exists but I can't find it. Hope this isn't a dumb question. Oracle 10.2.0.4 2 node RAC on Linux
    I have looked through dba_objects for anything called LS_AURULD_RULEDATA or LI_AURULD_RULEDATA.
    Here is the command and error..........
    CREATE TABLE aee.T_AUDITRULEDEFINITION
    2 (
    OBID RAW(16) CONSTRAINT NN_AURULD_OBID NOT NULL,
    SECURE_COMPANY_FK RAW(16) CONSTRAINT NN_AURULD_SCFK NOT NULL,
    AUDITRULESET_FK RAW(16),
    AUDITRULECLASST_FK NUMBER(2,0),
    DESCRIPTION NVARCHAR2(128),
    FAILUREACTION_FK NUMBER(2,0),
    RULEDATA NCLOB,
    RULETYPE NVARCHAR2(50),
    SEQUENCENUMBER NUMBER(10,0),
    TAG NVARCHAR2(64)
    LOB(RULEDATA) STORE AS LS_AURULD_RULEDATA (INDEX LI_AURULD_RULEDATA)
    15 TABLESPACE MOTOR_TABLES;
    LOB(RULEDATA) STORE AS LS_AURULD_RULEDATA (INDEX LI_AURULD_RULEDATA) *
    ERROR at line 14:
    ORA-00955: name is already used by an existing object
    Any help appreciated

    Thanks for pointing me towards dba_lobs
    SQL> select TABLE_NAME,INDEX_NAME from dba_lobs where OWNER='AEE' and index_name like 'LI_AURULD%';
    TABLE_NAME INDEX_NAME
    BIN$XdjCvAyQhMrgQBCsZat/dQ==$0 LI_AURULD_RULEDATA
    I purged the recyclebin and all was ok

  • "Crystal Report Viewer is unable to create its resource objects"

    I'm using Crystal Reports Server XI and getting the error/pop up box: "Crystal Report Viewer is unable to create its resource objects" when trying to view a report through the website.
    Any suggestions would be appreiciated. I'm very unfamiliar with Crystal Reports but it's fallen into my lap to install and suppor this application.
    I have tried changing some browser settings to allow ActiveX content and such but that hasn't seemed to help. I also tried downloading a particular 3 .dll's files to my desktop and registering them, as well as re-registering them on the server. They were CRVIEWER.dll, swebrs.dll, sviewhlp.dll.
    I'm using IE 7.0 and CR Server XI is installed in a Windows 2003 R2 SE server.  IIS seems to be setup OK.  I haven't changed any of the default installation settings that were configured during the installation on the virtual directory that was created.  I received no errors during the installation.  I'm also not seeing anything obvious pop up in the event logs.  I still have yet to do a log parser query looking for anything that says crystal reports.
    Thanks!
    Edited by: Wendy Beatty on Sep 23, 2008 9:50 PM

    Hi Wendy,
    This issue might be better addressed by our .NET development forum,  however,  some of the things that come to mind are:
    1.  As a test are you able download the Active X Viewer from the client machine by accessing it via a URL:
    http:// <yourserver>/crystalreportviewers/ActiveXControls/ActiveXViewer.cab
    Does it prompt you do download the .CAB file?
    2.  If you have more than one version of the Active X Viewer installed on the client machine,  go through this SAP Note (1215398) from the Service Market Place to remove it.
    3.  Check your browser settings (Tools|Security|Custom Level) to make sure Active Controls are set to at least prompt.
    4.  Confirm with your network administrator if there are group policies that restrict the installation of Active X Controls or if users do not have the rights to install.
    Regards,
    Wallie

  • Unable to create a callable object

    Hi All,
    Try making a Web Dynpro application for CAF GP using this article:
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/composition/caf/how%20to%20integrate%20two%20web%20dynpro%20applications%20using%20composite%20application%20framework%20guided%20procedures.pdf]
    I have been able to deploy the application successfully. But when i run the Process, the first Callable Object (CO1) is fine and the second Callable Object (CO2) is showing error:
    /System/UserInterface#Plain###Unable to create web dynpro callable object implementation.
    com.sap.tc.webdynpro.progmodel.context.ContextException: NodeElement(CallableObject2Interface.0): unknown attribute firstName
         at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdGetAttributeInfo(NodeElement.java:380)
         at com.sap.tc.webdynpro.progmodel.context.NodeElement.setAttributeValue(NodeElement.java:883)
         at com.tcs.bhel.co2.CallableObject2Interface.execute(CallableObject2Interface.java:166)
         at com.tcs.bhel.co2.wdp.InternalCallableObject2Interface.execute(InternalCallableObject2Interface.java:132)
         at com.tcs.bhel.co2.wdp.InternalCallableObject2Interface$External.execute(InternalCallableObject2Interface.java:182)
         at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWD.execute(COExecWD.java:303)
         at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWD.execute(InternalCOExecWD.java:171)
         at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWDInterface.execute(COExecWDInterface.java:122)
         at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface.execute(InternalCOExecWDInterface.java:134)
         at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface$External.execute(InternalCOExecWDInterface.java:249)
    Thanks
    Ash

    hi Ash,
    Make sure that you have done this step for callable object2
    Select entry Web Dynpro References
    - Select tab page Library References
    - Choose Add
    - Enter the reference caf/eu/gp/api
    Thanks and regards,
    Arun

  • "OIP-04796 Unable to create object instance"

    I am using OO4O, version 3 for Oracle 8.1.7 on Windows with Visual Basic version 6.
    I am getting the intermittent errors "OIP-04796 Unable to create object instance" and also "Method createDynaset of _IOraDatabase failed" - I think both are related to one another and from the documentation for OO4O, "OIP-04796" relates to the client side object cache of the OraDatabase class. Reasoning that the client side object cache was too small I attempted to increase the relevant properties of the OraDatabase object using the following: -
    MyOraDatabaseObj.CacheOptimalSize = 400
    However, at run-time, this property of the OraDatabase object does not get set accordingly in the VB IDE and after several attempts I can't seem to set it. I have also tried setting the CacheMaximumSize property but to no avail.
    Can anybody indicate to me where I am going wrong and either with the setting of the above properties or with the error message in general if I am not on the right track with the cache properties. I don't suspect that it is my code because the problem "seems" to be intermittent.
    Any and all help would be greatly appreciated. If more info is required then just ask as this is pressing problem.
    TYIA
    Mark Grimshaw

    I am pretty sure the patches are available here. If you didn't explicitly install one then you have whatever the base release was.
    If they are not available here (I almost never look here first for a patch) they are certainly available in the MetaLink file library for OO4O.

  • "Unable to create web dynpro callable object implementation" - GP error

    Good day.
    I've created a GP process and transported it to the test system. But when I try to start the process I get an error on the screen: Error while processing the item; it cannot be displayed. When I look to the logs I can see the following exception:
    Unable to create web dynpro callable object implementation.
    java.lang.Exception
    at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWD.execute(COExecWD.java:294)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWD.execute(InternalCOExecWD.java:171)
    at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWDInterface.execute(COExecWDInterface.java:122)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface.execute(InternalCOExecWDInterface.java:134)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface$External.execute(InternalCOExecWDInterface.java:249)
    at com.sap.caf.eu.gp.ui.act.container.VContainer.onPlugFromDispatcher(VContainer.java:391)
    at com.sap.caf.eu.gp.ui.act.container.wdp.InternalVContainer.wdInvokeEventHandler(InternalVContainer.java:167)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:303)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
    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:324)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:667)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:537)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    It doesn't make any sense to me... I would appreciate for any help.

    Hello
    We are facing exact similar issue when we checked the logs.
    Could you help us as we are new to GP.
    What steps you followed to resolve this error.
    Regards
    aparna

  • Getting an Exception Unable to create Object

    I have the following methos I am getting the unable to create the file exception
    I believe the problem is when is trying to read the object I try the following
    record.setMessage(input.readObject().toString());
              ///  record = (Message)input.readObject();1) convert the object to a string
    record.setMessage(input.readObject().toString()); 2) I also try this
    record = (Message)input.readObject()Notice that I put the put the file into the cryptpText area and then I get into a String
    cipherTextString = record.toString();
             //put string in JTextArea
              cipherTextArea.setLineWrap(true);
              cipherTextArea.setText(cipherTextString); Here is the setMessage Method in the Message class
    set
    public void setMessage(String eMessage)
         myMessage = eMessage;
    public void performStartTask()
            //choose the file to open
            int returnVal;
            String inputFileName = "";
            //open a JFileChoose
            JFileChooser chooser = new JFileChooser(new File (
                    "C:\\Java_code\\java_files"));
            chooser.setDialogTitle("Please select an encoded file");
            returnVal = chooser.showOpenDialog(null);
            if(returnVal == JFileChooser.APPROVE_OPTION)
                inputFileName = chooser.getSelectedFile().getName();
            //Open the file
            ObjectInputStream input  = null;
            //exception handlig here
            try
                input = new ObjectInputStream( new FileInputStream("C:\\Java_code\\java_files\\" + inputFileName));
              catch (IOException e)
                  System.err.println("error opening the file");
              //read from the file
            record = null;
            record = new Message();
            try
               record.setMessage(input.readObject().toString());
              ///  record = (Message)input.readObject();
             catch(EOFException eofe)          
                 return;
             catch(ClassNotFoundException cnfe)
                      System.err.println("Unable to create Object");
             catch(IOException ioe)
                 System.err.println("Error reading from file ");
             } // end try catch
           System.out.println("Just read in" + record + "." + record.getShift());
             //put the file into the cryptpText area
             //first - get into a string
             cipherTextString = record.toString();
             //put string in JTextArea
              cipherTextArea.setLineWrap(true);
              cipherTextArea.setText(cipherTextString);
             closeFile(input);
              startBoolean = true;
        } // End of performedStartMethod 

    Ok I added this piece of code, hope is right
    catch (Exception e) {
              StackTraceElement[] stack = e.getStackTrace();
                String exception = "";
               for (StackTraceElement s : stack) {
            exception = exception + s.toString() + "\n\t\t";
        System.out.println(exception); anf it shows that the error is here
    record.setMessage(input.readObject().toString());
    java.net.URLClassLoader$1.run(URLClassLoader.java:366)
              java.net.URLClassLoader$1.run(URLClassLoader.java:355)
              java.security.AccessController.doPrivileged(Native Method)
              java.net.URLClassLoader.findClass(URLClassLoader.java:354)
              java.lang.ClassLoader.loadClass(ClassLoader.java:423)
              sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
              java.lang.ClassLoader.loadClass(ClassLoader.java:356)
              java.lang.Class.forName0(Native Method)
              java.lang.Class.forName(Class.java:264)
              java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:622)
              java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)
              java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
              java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
              java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
              lab01recheverri.Lab01recheverri.performStartTask(Lab01recheverri.java:172)
              lab01recheverri.Lab01recheverri.actionPerformed(Lab01recheverri.java:103)
              javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
              javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
              javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
              javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
              javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
              java.awt.Component.processMouseEvent(Component.java:6505)
              javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
              java.awt.Component.processEvent(Component.java:6270)
              java.awt.Container.processEvent(Container.java:2229)
              java.awt.Component.dispatchEventImpl(Component.java:4861)
              java.awt.Container.dispatchEventImpl(Container.java:2287)
              java.awt.Component.dispatchEvent(Component.java:4687)
              java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
              java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
              java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
              java.awt.Container.dispatchEventImpl(Container.java:2273)
              java.awt.Window.dispatchEventImpl(Window.java:2719)
              java.awt.Component.dispatchEvent(Component.java:4687)
              java.awt.EventQueue.dispatchEventImpl(EventQueue.java:703)
              java.awt.EventQueue.access$000(EventQueue.java:102)
              java.awt.EventQueue$3.run(EventQueue.java:662)
              java.awt.EventQueue$3.run(EventQueue.java:660)
              java.security.AccessController.doPrivileged(Native Method)
              java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
              java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
              java.awt.EventQueue$4.run(EventQueue.java:676)
              java.awt.EventQueue$4.run(EventQueue.java:674)
              java.security.AccessController.doPrivileged(Native Method)
              java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
              java.awt.EventQueue.dispatchEvent(EventQueue.java:673)
              java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
              java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
              java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
              java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
              java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
              java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
    Just read innull.0

  • Unable to create object from stored procedure universe

    Dear All Experts,
    I am facing a problem on unable to create object dimensions on a Stored procedure universe. Fyi, I have successfully insert a stored procedure ('SP_Sales') with input parameter (@date) into universe (Universe_1). But I unable create any object based on the the stored procedured ('SP_Sales') due to it show nothing from the Edit Select Statement of 'Object1', empty for Tables nd columns windows.
    Thefore, i unable to drag data in WEBI when i select univese as "Universe_1", it will not sure any object. Please advise.
    I am using XI4.0, MSSQL2008.

    Hi ,
    You wont be able to edit the object definitions.
    u2022 Designer generates one table per selected stored procedure (or many
    tables if multiple result sets) and one object per column returned by a
    stored procedure.
    u2022 The result set structure is determined when you describe the function.
    Please refer chapter 7(Page 451) of below document for more details.
    [Universe Designer Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_designer_en.pdf]
    Hope this helps.
    Bilahari M

Maybe you are looking for