Exception when working with UTL_HTTP.read_text

Hi,
I have written a block of code to read XML from a URL and then I write it to a file, using UTL_HTTP package.
The code has been working fine for two months and all of a sudden, I get the following error while reading from one of the URLs:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line
1327
ORA-06502: PL/SQL: numeric or value error
The piece of code is pasted below for your reference.
http_req := utl_http.begin_request('my_url','GET','HTTP/1.1');
utl_http.set_body_charset(http_req, 'UTF-8');
utl_http.set_header(http_req, 'Content-Type', 'text/xml');
http_resp:= utl_http.get_response(http_req);
LOOP
     UTL_HTTP.read_text(http_resp, l_text, 32767);
     UTL_FILE.PUT_LINE(file_handle, l_text);
END LOOP;However, when I reduce the number of characters to be read in UTL_HTTP.read_text to 30000, it works. FYI, it isn't working with 32000 as well, while it worked perfect with 32767 all this while. This exception came up today.
I understand this has something to do with the data being read, however, my question is:
1. If I specify that 32767 characters are to be read, why should there be a buffer problem? (I am executing the same procedure for 10 other URLs and they are working fine. Its just one URL which has given a problem today)
2. What is a good solution to implement? If i reduce the number to 30000 to solve the problem today, and it gives the same problem the next time, reducing the number further doesn't look like a permanent solution.
Appreciate your help on this. Please let me know if I need to furnish any more details on this.

Roger,
I have another question here. I declare the text into which I am reading my response chunk as:
l_text          VARCHAR2(32767 char);rather than plainly declaring it as:
l_text          VARCHAR2(32767);the second method defaults it to 32767 bytes, but isn't the first way taking it as 32767 character values?
Even now I get the same exception. Any clue here?

Similar Messages

  • Unexpected problem: uncaught exception when working with audio files in Soundtrack Pro

    Hey,
    Whenever I double click an audio file in the timeline to work on it, I end up getting the Error message: "Unexpected problem: uncaught exception" and Soundtrack Pro eventually crashes.  Also, this happens when I try to work with audio files in the file editor.  I have Leopard and am using Logic Studio 8.  Any insight would be much appreciated. Thanks
    Matt

    Didnt know how to remove the original clip from the STP arrange window - or whatever it's called in STPro.  So I could go no further in my perverse science experiment. 
    It also appeared that I could only import an aif but not a wav? 
    I gave up on STPro and did what I needed to do in Logic, which I use regularly.    
    Thank you for folowing up on this. 
    PS.  I used to use an old PowerPC version (1.0.3) of STPro and loved the way it visually showed the change in the waveform when you added each efffect.  It appears that the new version (3.0.1) does not allow you to do this anymore?  You can render or flatten the effects to see the final waveform, but then you are dead in the water and cant make changes?  
    Im such a newbie at STPro that I am probably not using it right? 

  • Null Pointer Exception when working with Custom Sql

    I viewed the video on adding Custom Sql and everything seemed to work fine with regards to adding it to my report. However, I get a null pointer exception when I add a field from the Custom Sql table to the report and try to run the report including if I try to View Sql. There doesn't seem to be a stacktrace that I can show.
    BTW... this was a work around for not being able to use Stored Procedures... I have killed 2 days now working on different ways to work around the Stored Procedure thing
    Thanks,
    Steve

    Hi,
    I'm trying to use a custom sql in my report. I could successfully create a custom SQL and add it to my report in the designer. But I'm getting NullPointer exception when I try to see the results in Preview. Can someone please help me resolve this issue.
    Thanks!

  • Null Pointer Exception when working with editable tables

    We are using editable tables in various places in forms that are embedded in views in our application.
    A few weeks ago we have discovered that we receive an exception when first clicking into an editable cell (see below). I can't exactly pinpoint when this started happening (might have been when updating from Luna SR1 to Luna SR2 but I am not sure) but I am certain that we didn't used to have this issue in the beginning.
    Is this something, others are also experiencing? Is this an issue of forms that use DISPLAY_HINT_VIEW (we don't have any editable tables in popup forms)?
    !ENTRY org.eclipse.ui 4 0 2015-06-10 12:14:13.423
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:216)
    at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:452)
    at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:675)
    at org.eclipse.scout.rt.ui.swt.basic.table.SwtScoutTable$P_TableViewerEx.triggerEditorActivationEvent(SwtScoutTable.java:1019)
    at org.eclipse.jface.viewers.ColumnViewer.handleMouseDown(ColumnViewer.java:650)
    at org.eclipse.jface.viewers.ColumnViewer.access$0(ColumnViewer.java:646)
    at org.eclipse.jface.viewers.ColumnViewer$1.mouseDown(ColumnViewer.java:95)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at ch.sbb.cisi.angebot.scout.client.ui.swt.application.Application.startSecure(Application.java:45)
    at ch.sbb.cisi.angebot.scout.client.ui.swt.application.Application$1.run(Application.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:415)
    at ch.sbb.cisi.angebot.scout.client.ui.swt.application.Application.start(Application.java:34)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

    I experienced the same issue with editable boolean cells.
    Left mouse click events produce the mentioned Exception, which causes the mouse down event to be lost. The mouse up event is still fired though, thereby it's possible that the value of another cell in the same row is updated as the contextColum, which is set by the mouse down event, hasn't been updated.
    Right mouse click events work as expected.

  • Very slow responce when working with Office file on DFS-Share

    Very slow responce when working with Office file on DFS-Share
    We have implemented the following configuration
    Domain level Windows 2000. Two member servers with Windows Server 2008 R2, sharing the same DFS namespace with, at the moment, one folder target called Home.
    Users complaining that the access to different MS Office files is very slow. Even creating a new MS Word document using right click context menu takes up to 4 minutes to open. Saving, for example, one singe Excel sheet takes also few minutes.
    Tested with both, MS Office 2007 and MS Office 2010. Makes no difference. When using Office 2010 you can see the message like contacting:
    \\DomainName\Root\Home\UserName. Other files like TXT, JPG or PDF are not affected.
     What makes the thing really weird is the fact, that the behavior described above can absolutely change after client machine being rebooted, suddenly everything becomes very fast and this condition can revert back again just after the next
    reboot.
    Considerations until now:
    1. This has nothing to do with the file size. Even tiny files are affected.
    2. AD Sites are configured correctly and the client workstations see themselves in the correct sites.
    3. This is not an Office issue. If I map my folder target not as DFS, but directly as shared network drive
    \\ServerName\Root\Home\UserName , everything functions as expected
    What makes me suspicious: when using f.e. TCPView to monitor connections, I can see, that each time I make any operation on an office file, there will be a connection established to one of the domain controllers, sometimes to remote ones,
    located in other countries. But on the other side, even if the connection is established to the nearest DC, operations are still very very slow!
    Just forget to say. All clients are Windows 7
    Thanks to all who respond.

    Dear all,
    sorry for the delayed reply. The problem has been solved now and since September 19<sup>th</sup>. everything is functioning as expected.
    What was done:
    Deleted replication targets excepting the initial ones
    Carefully recreated folder targets
    Deleted and recreated  replication groups
    Disabled SNP features on both namespace servers
    Created EnableTCPA registry entry
    Checked that the following Updates are installed
    http://support.microsoft.com/kb/2688074
    http://support.microsoft.com/kb/2647452
    Concering Office File validation KB2553065 - This Update was already declined on our WSUS server
    Kind Regards
    Eduard

  • Win7-64 Photoshop CC blank Save As dialog, then crash, when working with video / frame animations

    Hi, I recently updated to CC from CS6 and am having issues when working with PSDs containing video layers, or are set up as frame animations:  When attempting to Save As, the dialog will be completely blank except for the Save and Cancel buttons.   If I press cancel, then return to Save As, CC then often crashes.
    Here is the Error Event from Event Viewer:
    Faulting application name: Photoshop.exe, version: 14.0.0.0, time stamp: 0x5176451b
    Faulting module name: MediaCoreIF.DLL, version: 7.0.0.0, time stamp: 0x51573a21
    Exception code: 0xc0000005
    Fault offset: 0x00000000001fca98
    Faulting process id: 0x750
    Faulting application start time: 0x01ce9e1925a5045b
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe
    Faulting module path: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\MediaCoreIF.DLL
    Report Id: db6d5f8f-0a0c-11e3-9df9-0026b9cc01d1
    So far I am only having these issues if I have been working with video layers and then frame animations.  Frame animations in particular seem to cause instability as I can often work with video layers all day without a problem.  Then if I import video frames to layers, or open a PSD containing a frame animation, the Save As may not necessarily work.
    Sometimes closing and restarting Photoshop will allow me to save again, but then sometimes a whole system reboot is required.  It is only temporary though.
    I am not running antivirus software or other apps aside from what starts at boot.

    Frustrating that this thread has petered out, since I'm having the exact same issue. Did you ever find a way to improved stability?
    Also of note, the issue followed me across machines. Two weeks ago I purchased a new machine, figured if that didn't solve the problem nothing would... It didn't. :\
    The only similar factors are that the machines both are 64bit Windows 7 (a fresh OEM install on the new box) and have nVidia-brand graphics cards. (Again, though - not the SAME graphics card, picked up a new one with the new machine.) No drive cloning was involved: this is completely new hardware, a fresh factory install of Windows 7, different antivirus (went from AVG to Avast), and new download of Photoshop CC from CreativeCloud.
    Looks like our event details are quite similar, too.
    Log Name: 
    Application
    Source:   
    Application Error
    Date:     
    4/6/2014 1:57:39 PM
    Event ID: 
    1000
    Task Category: (100)
    Level:    
    Error
    Keywords: 
    Classic
    User:     
    N/A
    Computer: 
    REDACTED
    Description:
    Faulting application name: Photoshop.exe, version: 14.2.1.570, time stamp: 0x52f4a9f2
    Faulting module name: MediaCoreIF.DLL, version: 7.0.0.0, time stamp: 0x51573a21
    Exception code: 0xc0000005
    Fault offset: 0x00000000001fca98
    Faulting process id: 0x1ca4
    Faulting application start time: 0x01cf51c68639ec43
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe
    Faulting module path: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\MediaCoreIF.DLL
    Report Id: 5268f22b-bdbd-11e3-b9df-d850e65afc6f

  • Problem when working with package???Please, help me!!!

    I got 3 .java files from one Java tutorial as follow:
    Server.java (in package mygame.server)
    Utilities.java (in package mygame.shared)
    Client.java (in package mygame.client)
    All the above files are placed in "E:\Java Programmes\source"
    After compiling, i got correspponding .class files:
    Server.class (placed in "E:\Java Programmes\class\mygame\server")
    Utilities.class (placed in "E:\Java Programmes\class\mygam\shared")
    Clients.class (placed in "E:\Java Programmes\class\mygame\client")
    But when i run Server.class which contains main method, i got error as follow:
    E:\Java Programmes>java class\mygame\server\Server
    Exception in thread "main" java.lang.NoClassDefFoundError: class\mygame\server\S
    erver (wrong name: mygame/server/Server)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    That was very puzzled for me. I cannot find out what wrong with my files. Please., any boby, help me!!! I always got this problem when working with package and managing files. Thanls a lot.

    java -cp "E:\Java Programmes\class" mygame.server.Server

  • Exception while working with Tibco adapter for Tuxedo!!

    Dear friends,:-)
    Greetings!
    I am facing an exception while working with "Tuxedo Adapter".
    I have installed TIBCO Adapter for Tuxedo on my machine which has both bea_Client and Server. I am trying to do a PurchaseOrder POC, which is already given in our TIBCO Adapter directory (C:\TIBCO\adapter\adtuxedo\5.3\examples\AgentBased\PurchaseOrder).
    The scenario goes like this, a request is sent from the Tuxedo client called clt, which invokes the Tuxedo service, which in turn sends a request to the adapter (“PublicationService”) through the adapter agent, and then the adapter publishes the data to the TIBCO environment. TIBCO BW receives the data using “Adapter Subscriber” and writes them to an XML output file named Get_output.xml.
    Problem in starting the Adapter - :(
    When I tried to RUN the make.bat which is placed at the “C:\TIBCO\adapter\adtuxedo\5.3\examples\AgentBased\PurchaseOrder” folder, it throws me the error.
    At the time of executing this script, “buildclient -o clt -f client.c”, it says that I don’t have a valid “TUXEDO SDK LICENSE”. The thrown exception is, "TUXNT_CAT:101: ERROR: You do not have a valid TUXEDO SDK license".
    Please tell me, is license Required to run the tux_client?
    also,please clarify, while configuring “tibco.env.WSNADDR”(i.e., Workstation Address of the Tuxedo server to connect to) I have given my machine IP ADDRESS with a unique port. i.e., //10.103.18.120:4020. I am not sure with this step. Please advice me!
    It would be great if you could please solve this issue.
    Thanks in Advance,
    Best Regards,
    Venkatesh Rajendran.

    Hi Venkatesh,
    Please see comments in line.
    Wayne
    <venkatesh rajendran> wrote in message news:[email protected]...
    Dear Wayne,
    Thanks a ton for your reply.
    Please clarify,
    buildclient is a Tuxedo command which is used to generate the Tuxedo client
    application. It needs Tuxedo SDK license, so you need to make sure the
    license is installed properly.
    Can you please let me know from where i can get the License? Can we download
    it online?
    [W] BEA provide a trial license in the product donwload site, but I am not
    sure Tuxedo 8.0 is provide or not. If you or your customer has Tuxedo
    installation, the license should alread be ready. It is located at
    $TUXDIR/udataobj/lic.txt.
    Running tuxedo client does not require SDK license.
    I am not sure how to start it. I am actually running the BAT file which has
    the following scripts,
    set TUXDIR=C:\bea\tuxedo8.0
    set WSNADDR=//10.103.18.120:4020
    set TUX_ADAPTER_HOME=C:\TIBCO\adapter\adtuxedo\5.3
    set TIBCO_RV_HOME=C:\TIBCO\TIBRV
    set APPDIR=%TUX_ADAPTER_HOME%\examples\AgentBased\PurchaseOrder
    set
    PATH=%TUXDIR%\bin;%APPDIR%;%PATH%;%TUX_ADAPTER_HOME%\hotfix\lib;%TUX_ADAPTER_HOME%\lib;%TIBCO_RV_HOME%/bin
    set TUXCONFIG=%APPDIR%\tuxconfig
    set ULOGPFX=%APPDIR%\ulog
    buildclient -o clt -f client.c
    buildserver -o server -f server.c -s POINFO -l
    %TUX_ADAPTER_HOME%\lib\agent.lib
    tmloadcf -y ubbagent
    tmboot ¨Cy
    Up to my knowledge, I hope TIBCO TUXEDO
    (ie.,TIB_adtuxedo-simple_5.3.0_w32_tuxedo80) acts as a TUXEDO_Server which
    receives the Request from TUX_BEA Client(Ex: C:\bea\tuxedo8.0).
    Or, does Tuxedo have a seperate Server installed on the machine other than
    TIBCO? please clarify.
    [W] I don't know the detail about TIBCO Tuxedo adaptor. Following
    clarifications for your reference,
    1. Tuxedo is an application infrastructure with framework for server and
    client. buildclient is used to generate the client binary and buildserver is
    used for application server linkage.
    2. I guess the TIBCO Tuxedo adaptor is a Tuxedo application client(or
    server?) which acts as a proxy process between TIBCO system and Tuxedo
    applications. So it receives request from TIBCO system and transform the
    requet to native Tuxedo data buffers and make the Tuxedo calls, then relay
    the reply back. So first you have to figure out the exact working model of
    it and check your Tuxedo applications.
    Your reply would be appreciated!
    Thanks a ton in Advance!
    Best Regards,
    Venkatesh Rajendran.

  • Error when working with TableView using JCA

    Hi sdns,
    I am getting an iview rutnime error when working with Tableview using JCA. Here i am putting all my code, go thorugh it and tell me if any error is there.One more thing is Usermappping and all properties are set to system object.
    Now you can throught he code which is followed by error also.
    <u>Java file.</u>
    public class DisplayComponent extends PageProcessorComponent {
         public DynPage getPage() {
              return new DisplayComponentDynPage();
         public static class DisplayComponentDynPage extends JSPDynPage {
              private JCATviewBean bean;
              public void doInitialization() {
                   IPortalComponentProfile profile =
                        ((IPortalComponentRequest) getRequest())
                             .getComponentContext()
                             .getProfile();
                   Object o = profile.getValue("myBean");
                   if (o == null || !(o instanceof JCATviewBean)) {
                        bean = new JCATviewBean();
                        profile.putValue("myBean", bean);
                   } else {
                        bean = (JCATviewBean) o;
                   // fill your bean with data here...
                   IPortalComponentRequest request =
                        (IPortalComponentRequest) this.getRequest();
                   doJca(request);
              public void doProcessAfterInput() throws PageException {
              public void doProcessBeforeOutput() throws PageException {
                   this.setJspName("Report.jsp");
              private IConnection getConnection(
                   IPortalComponentRequest request,
                   String alias)
                   throws Exception {
                   IConnectorGatewayService cgService =
                        (IConnectorGatewayService) PortalRuntime
                             .getRuntimeResources()
                             .getService(
                             IConnectorService.KEY);
                   ConnectionProperties prop =
                        new ConnectionProperties(
                             request.getLocale(),
                             request.getUser());
                   return cgService.getConnection(alias, prop);
              public void doJca(IPortalComponentRequest request) {
                   IConnectionFactory connectionFactory = null;
                   IConnection client = null;
                   String rfm_name = "BAPI_COMPANYCODE_GETLIST";
                   try {
                        try {
                             //       pass the request & system alias
                             //       Change the alias to whatever the alias is for your R/3 system
                             client = getConnection(request, "MyIDES");
                        } catch (Exception e) {
                             System.out.println(
                                  "Couldn't establish a connection with a target system.");
                             return;
    Start Interaction
                        IInteraction interaction = client.createInteractionEx();
                        IInteractionSpec interactionSpec =
                             interaction.getInteractionSpec();
                        interactionSpec.setPropertyValue("Name", rfm_name);
    CCI api only has one datatype: Record
                        RecordFactory recordFactory = interaction.getRecordFactory();
                        MappedRecord importParams =
                             recordFactory.createMappedRecord(
                                  "CONTAINER_OF_IMPORT_PARAMS");
                        IFunctionsMetaData functionsMetaData =
                             client.getFunctionsMetaData();
                        IFunction function = functionsMetaData.getFunction(rfm_name);
                        if (function == null) {
                             System.out.println(
                                  "Couldn't find " + rfm_name + " in a target system.");
                             return;
    How to invoke Function modules
                        System.out.println("Invoking... " + function.getName());
                        MappedRecord exportParams =
                             (MappedRecord) interaction.execute(
                                  interactionSpec,
                                  importParams);
    How to get structure values
                        IRecord exportStructure = (IRecord) exportParams.get("RETURN");
                        String columnOne = exportStructure.getString("TYPE");
                        String columnTwo = exportStructure.getString("CODE");
                        String columnThree = exportStructure.getString("MESSAGE");
                        System.out.println("  RETURN-TYPE    = " + columnOne);
                        System.out.println("  RETURN-CODE    = " + columnTwo);
                        System.out.println("  RETURN-MESSAGE =" + columnThree);
    How to get table values
                        IRecordSet exportTable =
                             (IRecordSet) exportParams.get("COMPANYCODE_LIST");
                        exportTable.beforeFirst();
                        // Moves the cursor before the first row.
                        while (exportTable.next()) {
                             String column_1 = exportTable.getString("COMP_CODE");
                             String column_2 = exportTable.getString("COMP_NAME");
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_CODE = " + column_1);
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_NAME = " + column_2);
                        //       create the tableview mode in the bean
                        bean.createData(exportTable);
    Closing the connection
                        client.close();
                   } catch (ConnectorException e) {
                        //       app.putValue("error", e);
                        System.out.println("Caught an exception: \n" + e);
                   } catch (Exception e) {
                        System.out.println("Caught an exception: \n" + e);
    <u>Bena file</u>
    package com.sap.JCA.bean;
    import java.util.Vector;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableViewModel;
    public class JCATviewBean {
         public DefaultTableViewModel model;
         public TableViewModel getModel() {
         return this.model;
         public void setModel(DefaultTableViewModel model) {
         this.model = model;
         public void createData(IRecordSet table) {
    //       this is your column names
         Vector column = new Vector();
         column.addElement("Company Code");
         column.addElement("Company Name");
    //       all this logic is for the data part.
         Vector rVector = new Vector();
         try {
         table.beforeFirst();
         while (table.next()) {
         Vector data = new Vector();
         data.addElement(table.getString("COMP_CODE"));
         data.addElement(table.getString("COMP_NAME"));
         rVector.addElement(data);
         } catch (Exception e) {
         e.printStackTrace();
    //       this is where you create the model
         this.setModel(new DefaultTableViewModel(rVector, column));
    <b>JSP File:</b>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.sap.JCA.bean.JCATviewBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
       <br>
       <hbj:textView id = "tv1" text = "<b>TableView Example Using JCA</b> <br>"/>
    <hbj:tableView
        id="myTableView1"
        model="myBean.model"
        design="ALTERNATING"
        headerVisible="true"
        footerVisible="true"
        fillUpEmptyRows="true"
        navigationMode="BYLINE"
        selectionMode="MULTISELECT"
        headerText="TableView example1"
        visibleFirstRow="1"
        visibleRowCount="30"
        width="500 px"
        />
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b>Error when Executing this component:</b><u></u>
      Portal Runtime Error
    <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/htmlb/page/PageProcessorComponent.
    Exception id: 12:21_28/10/05_0173_94105150
    See the details for the exception ID in the log file</b>  
    If anybody find the error please reply to this post.
    Regards,
    sireesha.

    Thanks for your response Martin,
    I have already seen the log file but im couldn't findout anything from that since it is so long here im putting some part of please see this.if u able to find it clarify me,
    <b>Here the log file:</b>
    1.5#001321FD6213005D0000907100001CB000040419258FBF4E#1130405957843#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907200001CB00004041925916735#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907300001CB0000404192591688D#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120E00001CB00004041925C953D7#1130405961625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907400001CB000040419275B24FC#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907500001CB000040419275B25D9#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907600001CB000040419275B2E27#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907700001CB000040419275B2EFA#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD6213005D0000907800001CB0000404192924ED59#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907900001CB0000404192924EE36#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907A00001CB0000404192924F652#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907B00001CB0000404192924F710#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120F00001CB000040419295CCD8B#1130406021625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907C00001CB0000404192AEEB1E2#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907D00001CB0000404192AEEB2C0#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907E00001CB0000404192AEEBAD8#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907F00001CB0000404192AEEBB9E#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#

  • InDesign CC is performing poorly, slowly when working with text.

    InDesign CC is performing poorly, slowly when working with text. I tried updating and it seems like everything installed except for Extension Manager 6.0.7 which failed to instal. Any fix for this?

    Thanks, I think the problem is solved. Previously, the CC Extension Manager failed to install when I did an update via the InDesign Help menu. InDesign CC updated successfully, however, InDesign was still acting wonky. Since downloading a new full CC Extension Manager a little while ago, InDesign seems to be working better. Is there a correlation between the two apps for future reference?

  • Aperature crashed after 3.3 update. I am a novice at best when working with restore functions. Any suggestions on how to fix this problem?

    I had the 3.3 update window with Aperature pop up and say that I could no longer work with my library until updating Aperature. The update froze up about 90% through the completion of the last set(9 of 9/ 90% complete) and ran over night. My MAC shows version 3.3 installed. When I try to open Aperature, I get a system crash error. I am a novice at best when working with software and I am panicing because of the amount of pictures that I have on the system. I do back them up but do not know how to restore Aperature software(I purchased it before the app store and can not find it). Please advise.

    There is an Aperture forum that you can repost in, that is where you will find the guru's for that product. Simply click: Aperture to get there. BTW before you do please complete your profile, it makes it much easier for those attempting to assist you. You can find instructions by clicking Profile Update

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • Java.lang.NullPointerException when working with one rfc

    Hi,
    java.lang.NullPointerException error when working with one rfc.
    Regards,
    Gurprit Bhatia

    Hi
    Can you elaborate your problem?
    Where exactly getting the problem ?
    Regards
    Akshaya

  • When working with numbers twice now i've gotten a blue screen then restart on iphone 5s

    anyone else experiencing this issue? and any possible reason(s)/solution(s). it only seems to happen when working with Numbers. it has also happened on my ipad 2nd gen.

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    Then try Numbers.

  • FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.

    FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
    Did anybody reported this? never happened to me in previous versions.
    It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
    But *** it must work!
    Thanx

    FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.
    Did anybody reported this? never happened to me in previous versions.
    It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips)
    But *** it must work!
    Thanx

Maybe you are looking for

  • ITunes 7 - Loads Library, then won't open

    Hello, I've had smooth running for a long while, but suddenly iTunes - LOADS library, but doesn't open a window with my music (the menu bar shows, but is unresponsive) - WON'T QUIT, even if I try FORCE QUIT. I've restarted multiple times and repaired

  • Date Parsing

    Hi, I have a string in mm/dd/yyyyy format. I want to convert this string in yyyy-mm-dd format. I am using simpledateformat to convert it into a Date object. It gives me "Thu Jan 26 00:00:00 EST 2006" this object. When i parse it again using SimpleDat

  • How do I find the closest value to a constant in an array

    I have an array of floating numbers and I want to find a value in that array that is closest to a floating constant.     For example if I have the array 5.9, 2.8, 3.7, 5.8, 6.9, and if I have the constant 5.4, how would I find the closest value to 5.

  • Elements 10 Edit won't load, Organize does. Error 213:5

    I had to reload my Mac from scratch and now Edit will not load but Organize does.  I have a Case No. sent to escalation but have not received any answer. Has anyone had this problem and can help me?

  • Fault tolerance for network printing

    What options are available to provide fault tolerance for network printing?  Currently, all our shared printers are on ServerA.  Is it possible to have similar shared printers on ServerB and have the clients automatically switch to Server B if Server