Error in parsing text and splitting it

Hi all
Recently, i recieved some help with regards to splitting up a string into sentences. The following code returns the error message: "LJava.lang.String;@18fe73". Can any one tell me why and how i can resolve this? Many many thanks in advance. i was advised before to use MULTILINE for spliting up my sentences but i cant seen to get the hang of that either. Again any help would be mcuh appreciated.
import java.io.*;
import java.util.*;
import java.util.regex.*;
public class breakSentence2{
Vector sentence = new Vector();
public breakSentence2(String fileName)
try {
BufferedReader input = new BufferedReader(new FileReader(fileName));
String line = input.readLine();
String string="";
while(line!=null)
string=string+" "+line;
//System.out.println(string);
line=input.readLine();
System.out.println(string);
makeSentence(string);
input.close();
} catch(FileNotFoundException e){
System.out.println(e);
catch(IOException e2) {
System.out.println(e2);
private void makeSentence(String a)
Pattern p = Pattern.compile("[.]");
String[] sentences = p.split(a);
for( int i=0; i < sentences.length; i++ ) {
if(sentences[i] == null || sentences.length() == 1) {
else
//String noPunc = removePunctuation(sentences);
//remove puncuations
//System.out.println( "With punctuation: " + sentences );
//System.out.println( "Without punctuation: " + noPunc );
//sentence.add( sentences.trim() );
//sentence.add(noPunc.trim());
sentence.add(sentences);
public void printInformation() {
for(int i =0; i<sentence.size(); i++)
System.out.println("Position"+ i+ " " +sentence.get(i) );
public static void main(String[]args)
breakSentence2 x = new breakSentence2( "output3.txt" );
x.printInformation();

For example:
catch(FileNotFoundException e){
System.out.println(e);
}Should be:
catch(FileNotFoundException e){
e.printStackTrace();
}The kind of gibberish you're seeing is what gets printed when you print an object without a respectable "toString()" method.
My suspision is that it's coming from one of your catch clauses.
printStackTrace will give you far more information when there's an error.

Similar Messages

  • How to parse text and build object node

    Dear All,
    I have a text file as following. I have tried with one node to parse it and store the information. But I can not parse when I have put multiple node. Could you please suggestion me or help on this. How can I store information according node by reading this text file.
    Thanks in advance .
    AUM
      file1.txt
    abattoirs
         TNR: 3786
          BT: buildings
          RT: abattoir workers
          RT: meat byproducts
          RT: meat hygiene
          RT: meat inspection
          RT: meat production
          RT: meatworks effluent
          RT: slaughter
          RT: slaughterhouse waste
          RT: slaughtering equipment
    abdomen
         TNR: 3792
          BT: body regions
          NT: umbilicus
          RT: abdominal cavity
          RT: belly
          RT: body cavities
          RT: laparotomy
          RT: peritoneum
    abdominal cavity
         TNR: 3793
          BT: body cavities
          RT: abdomen
    public class TextParser {
        public static String BT;
        public static String RT;
        public static String NT;
        public static void main(String[] args) throws IOException {
            FileInputStream fis = new FileInputStream("C:/file1.txt");
            BufferedReader reader = new BufferedReader(new InputStreamReader(fis, "UTF-8"));
            while (true) {
                String line = reader.readLine().trim();
                if (line.startsWith("BT")) {
                    String bt[] = line.split(":");
                    System.out.println("BT="  +bt[0]);+
    +                System.out.println("Value="+  bt[1]);
                } else if (line.startsWith("RT")) {
                    String rt[] = line.split(":");
                    System.out.println("RT="  +rt[0]);+
    +                System.out.println("Value="+  rt[1]);
                } else if (line.startsWith("NT")) {
                    String nt[] = line.split(":");
                    System.out.println("NT="  +nt[0]);+
    +                System.out.println("Value="+  nt[1]);
                } else {
                    System.out.println(" this is system");
    }

    aum1471 wrote:
    My problem is storing this large number txt file. I have started but I do not understand how I can create node after reading this files and store information one basis of
    node 1
    node 2
    so on. .. .Your question is still not entirely clear, but it sounds like you're looking for a Map (if you want to access various nodes by arbitrary names) or an array or ArrayList (if you want random access to nodes by index) or a general List (if you want to access nodes sequentially in the order in which you read them) or Set (if you want only one of each node, and don't care about the order).
    Google for java collections tutorial and java arrays tutorial.

  • Javascript errors when formating text and images in Contribute CS3

    I'm using Contribute CS3 on Vista, I insert an image inside a
    paragraph tag with text then align the image
    ie the source code looks like this:
    <p><img src="..." alt="" align="left"/>some
    text</p>
    I change the text in the paragraph to bold
    Source code example: <p><img src="..." alt=""
    align="left"/><strong>some text</strong></p>
    I will get the following error messages:
    1 This error appears 2 times:
    "While executing DW_Text_CSS_Style canAcceptCommand in
    ccText_Styles.htm, a JavaScript error occurred."
    2 This error appears 2 times:
    "While executing DW_Text_Bold canAcceptCommand in
    Text_Style.htm, a JavaScript error occurred."
    3 This error appears 3 times:
    "While executing DW_Text_Italic canAcceptCommand in
    Text_Style.htm, a JavaScript error occurred."
    4 Next all the styles and formatting options are greyed out
    but I can still publish or discard.
    To be able to apply the styles and formatting in Contribute
    CS3 I now need to close the application and reopen it again and be
    careful not to reproduce the error.
    I've also tried renaming the Configuration folder under
    c:\Users\myusername\appData\Local\Adobe\Contribute CS3\ but it
    hasn't worked.
    We've reproduced this error on 3 similar machines in our
    office all running cs3 but the bug doesn't occur when performing
    the same steps in Contribute 3 or dreamweaver CS3 which is running
    side by side on these machines.

    It might be trying to pull the image from a different
    location than the image is currently stored in. Try to move the
    image file to a different folder and then load.

  • Short text and number of outline not maintained error in BAPI_ENTRYSHEET_CREATE

    Hi Experts,
    I am using BAPI BAPI_ENTRYSHEET_CREATE' for creation of service entry sheets.
    I passed below data into the respective parameters
    Entry Header Sheet -
    SHORT_TEXT                
    THIS IS SAMPLE TEXT
    PO_NUMBER                 
    231002130
    PO_ITEM                   
    00010
    And just executed BAPI, I am able to get the ENTRYSHEET NUMBER.
    Next I tried passing below data again
    Entry Header Sheet -
    SHORT_TEXT                
    THIS IS SAMPLE TEXT
    PO_NUMBER                 
    231002130
    PO_ITEM                   
    00010
    ENTRYSHEETSERVICES:
    QUANTITY                             
    10.000
    BASE_UOM                  
    AU
    And then executed - I am getting an error saying 'Short text and number of outline not maintained'.
    My input file to  BAPI contains the structure as  PO, Item Number, Short Text for Service Entry sheet and Quantity.
    Please suggest if any ideas.
    Regards,
    Rafi

    Hi All,
    I resolved this. Please refer screen shots below for solution
    Below screen shots show about the data to be passed to BAPI_ENTRYSHEET_CREATE
    Regards,
    Rafi

  • Firefox is having a problem with Linkedin. I get the error, error in parsing value for "backgroun" and for "filter"

    When trying to send messages in linkedin, firefox takes me back to the log in screen without sending the message. On the error console it shows the error; error in parsing value for "background" and error in parsing value for "filter". What is causing this?

    Pages does not support the Apple font used for color emoji, so that behavior is normal.
    With what app are you reading the yahoo mail?  There is really no guarantee than any other email service will show the special Apple font involved.
    You should have no problem putting emoji directly into Mail or Text edit via drag drop from the Character Viewer as shown below.
    You should also be able to upload graphics here easily by clicking on the camera icon.  My email is tom at bluesky dot org.

  • [svn:fx-trunk] 11601: Integrating Min' s recent fixes to FXGUtils for a group of attribute parsing bugs and clarification of error messages .

    Revision: 11601
    Author:   [email protected]
    Date:     2009-11-09 22:00:50 -0800 (Mon, 09 Nov 2009)
    Log Message:
    Integrating Min's recent fixes to FXGUtils for a group of attribute parsing bugs and clarification of error messages.
    QE notes: Please confirm test cases.
    Doc notes: N/A
    Bugs:
    SDK-22982 - FXG compiler fails on percentage lineheight inside formatted text content
    SDK-24093 - If a
    tag has children, you do not get a compile error.
    SDK-24092 - You get a compile error if you set justificationStyle="prioritizeLeastAdjustment"
    SDK-24097 - Setting an invalid verticalAlign style on RichText has a typo in the error message
    Reviewer: Min
    Tests run: Checkintests, Bug test cases
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22982
        http://bugs.adobe.com/jira/browse/SDK-24093
        http://bugs.adobe.com/jira/browse/SDK-24092
        http://bugs.adobe.com/jira/browse/SDK-24097
    Modified Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException_en.properties
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RichTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich BlockTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextLeafNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/BRNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/ImgNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TabNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TextHelper.j ava
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/text/AbstractCharacte rTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.java

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Errors: Length for text entry field must be between 1 and 32

    Hi Guys,
    I have has the following error messgage when defining and using a text variable in a series of columns in a characteristic structure.  In addition the text display does not work for 1 specific calculated key figure, It just displays the name of the text variable.  Where ever this type of calculation is used I get the text variable tecnical name displayed!
    i.e &0T_FPER& -2 % on LY where calc =
    '&0T_FPER& -2 Actual'/'&0T_FPER& -2 Last Year' -1) * 100
    There is a calc KF as above for -1 % on LY, and LY
    Why do i get the above error message and how can I get the text variable to display for the this Calc Key Figure?
    Thanks
    DV

    Hi Depesh,
    I had the same issue and I solved it by moving the rest of the text beside the Text Variable to the next line. I.e.,
    &0T_FPER&
    -2 %
    To do this just go to the end of the text variable and click enter.
    Hope this helps.
    Kumar

  • System Error in program SAPLRRS2 and form GET_SID-1 -(see long text)

    Hello all,
    One of the users is trying to run a report in Production using BEx analyser and gets the following error.
    BI Server error:
    Program error in class SAPMSSY1 method: UNCAUGHT_EXCEPTION
    System Error in program SAPLRRS2 and form GET_SID-1 -(see long text)
    I have already run the SAP Note 1237190 but there is no use as the error comes up again.
    Could any one please help to resolve this issue.
    Thanks
    Phani.

    Hi Dipika
    Thanks for the reply.
    But I dont think that note is applicable for this error as this error pops as soon as the selection screen is past and before the report is displayed.
    This is not happening with all the users though.
    Its a random problem only.
    Thanks
    Phani.

  • Error message uploading 0material text and attributes.

    Dear all,
    i have received an error message when uploading 0material text and attributes.
    Error message is as follows:
    RSDMD 194
    Data record 512 & with the key '000000000000000081T &' is invalid in
    value '000000000000000081 &' of the attribute/characteristic 0MATERIAL
    The system has recognized that the value mentioned above is invalid, and
    has processed this general error message. A subsequent message may give
    you more information on the error. This message refers to the same
    value, even though it does not state this explicitly.
    any help?
    thanks

    Hi john mcquade,
    Your error message says it all!
    You have your 0material with wrong info to be loaded, check your PSA the records with error (should begin in record 512) and see what is inserted as 0material (probably you're missing some zeros before the number).
    You could compare that record with another one (less than the record 512) to see an example of a material that has the right input and this one that exists here with errors.
    Diogo.

  • Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Are you behind a firewall or double NAT??
    What is the device that is immediately plugged into the main modem or router? Has that one been able to update?
    It is plugged in of course isn't it.. no nasty join wireless anywhere??
    The best way to work around these sort of problems is to simplify the network.. Plug each device directly into the main router.. by ethernet. You can trigger the firmware upgrade by wireless but use ipad or iphone version of airport utility and see what happens.

  • What is a (xml parsing error:not well-formed) and how to fix this

    what is a (xml parsing error:not well-formed) and how to fix this
    == URL of affected sites ==
    http://sudburyfinecars.subarudealer.ca
    == Troubleshooting information ==
    XML Parsing Error: not well-formed
    Location: http://sudburyfinecars.subarudealer.ca/WebPage.aspx?WebSiteID=205
    Line Number 258, Column 152:

    I found the solution to my own problem by using Internet Explorer instead of Firefox, it turn out that the site i was trying to get into is an old site using proxy servers that Firefox doesn't read properly giving me the XML parsing error:not well-formed.
    Its not Firefox's fault its just letting you know that this could be a problem site if it lets you in.

  • System error in program CL_RSR and form GET_PROVID-02-(see long text)

    Hi,
    If i execute a cube contents,i am getting  this message "System error in program CL_RSR and form GET_PROVID-02- (see long test)" , due to this error data has not appeared,only structure appeared in the cube.
    When we execute a query in the BEX,I got the message "System error in program CL_RSR and form GET_PROVID-02- (see long test)"
    Please let us know what can be the problem and the solution.
    Thanks in advance and best regards.
    kumar

    Hello,
    Open the query in query designer and perform query check. The query might have erroraneous elements.
    Regards,
    Shashank

  • IMAP error messages "Error while parsing IMAP response"

    I'm getting thousands of IMAP errors every hour, can I shut those off?
    My console log is flooded with them and it keeps me from seeing anything else
    in the system log.  The IMAP errors happen continuously while Mail.app is running.
    It looks like debug output from Mail.app !?!
    IMAP server is Beehive Server -- it's my company email so I need to use it.
    Windows Outlook (Windows 7) shows no errors, possibly they're silently ignored
    on Windows.  My disk is writing almost continuously when Mail.appo is running.
    Sample error:  (thousands are generated per hour)
    Apr  8 10:29:18 Js-Coolio-iMac.local Mail[22903]: Error while parsing IMAP response (null): Incomplete response
              Remaining text: <    Gian Luigi<br>>
              Full text: <    Gian Luigi<br>>
    Any idea how to shut these off?  I reinstalled Mavericks, no improvement as expected
    since this seems to be Mail complaining about IMAP protocol issues.
    Thanks in advance for any suggestions.  And yes I've rebooted, reinstalled the IMAP account,
    reinstalled Mavericks, etc.
    Entrecheck follows...
    Hardware Information:
              iMac (27-inch, Late 2009)
              iMac - model: iMac11,1
              1 2.8 GHz Intel Core i7 CPU: 4 cores
              12 GB RAM
    Video Information:
              ATI Radeon HD 4850 - VRAM: 512 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 9 days 20:39:45
    Disk Information:
              ST31000528ASQ disk0 : (1 TB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 999.35 GB (801.18 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5680H 
    USB Information:
              Seagate Backup+ Desk 3 TB
                        disk1s1 (disk1s1) <not mounted>: 209.7 MB
                        JOHN TM (disk1s2) /Volumes/JOHN TM: 2 TB (1.81 TB free)
                        LIU TM (disk1s3) /Volumes/LIU TM: 500 GB (203.45 GB free)
                        Untitled 3 (disk1s4) /Volumes/Untitled 3: 499.39 GB (498.94 GB free)
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Internal Memory Card Reader
              Griffin Technology, Inc iMic USB audio system
              Apple, Inc. Keyboard Hub
                        Logitech USB Trackball
                        Apple, Inc Apple Keyboard
              Apple Computer, Inc. IR Receiver
              Apple Inc. Built-in iSight
    FireWire Information:
    Thunderbolt Information:
    Configuration files:
              /etc/hosts - Count: 4
    Kernel Extensions:
              com.seagate.driver.PowSecDriverCore          (5.2.4 - SDK 10.4)
              com.seagate.driver.PowSecLeafDriver_10_5          (5.2.4 - SDK 10.5)
    Launch Daemons:
              [System]          com.adobe.fpsaud.plist 3rd-Party support link
              [System]          com.barebones.textwrangler.plist 3rd-Party support link
              [System]          com.oracle.java.Helper-Tool.plist 3rd-Party support link
    Launch Agents:
              [System]          com.oracle.java.Java-Updater.plist 3rd-Party support link
              [System]          net.culater.SIMBL.Agent.plist 3rd-Party support link
    User Launch Agents:
              [not loaded]          com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded]          com.google.keystone.agent.plist 3rd-Party support link
              [not loaded]          com.leadertech.PowerRegister.SEA1.7c77b2ab072a21a06107fccae868ff4b.plist 3rd-Party support link
              [not loaded]          com.valvesoftware.steamclean.plist 3rd-Party support link
    User Login Items:
              Flux
              smcFanControl
              SpeechSynthesisServer
              AdobeResourceSynchronizer
              Flux (13.0)
    Internet Plug-ins:
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.1.0.24   - SDK 10.8 3rd-Party support link
              AmazonMP3DownloaderPlugin101750: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 3rd-Party support link
              RealPlayer Plugin: Version: (null) 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 10.1.3 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              MRJPlugin: Version: 1.0-JEP-0.9.0 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              Flash Player: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
              AdobePDFViewer: Version: 10.1.3 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 51 3rd-Party support link
    Safari Extensions:
              Ghostery: Version: 5.1.0
              AdBlock: Version: 2.6.18
              Turn Off the Lights: Version: 2.3.0.5
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              WebEx: Version: 1.0 3rd-Party support link
              WebEx64: Version: 1.0 - SDK 10.5 3rd-Party support link
              Google Earth Web Plug-in: Version: 7.1 3rd-Party support link
    3rd Party Preference Panes:
              RCDefaultApp
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Java  3rd-Party support link
              MenuMeters  3rd-Party support link
    Old Applications:
              asannotation2:          Version: 10.21.26.0 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/WebEx Folder/924/asannotation2.app
              convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/WebEx Folder/1224/convertpdf/convertpdf.app
              Neverwinter Nights 2:          Version: 1.23.1765 - SDK 10.5 3rd-Party support link
              Amazon MP3 Downloader:          Version: INFO_PLIST_VERSION - SDK 10.4 3rd-Party support link
              TurboTax Deluxe 2011:          Version: 2011.r17.007 - SDK 10.4 3rd-Party support link
              Ventrilo:          Version: 3.0.13 - SDK 10.5 3rd-Party support link
              /Users/[redacted]/Library/Application Support/WebEx Folder/1224
                        Cisco WebEx Meeting Center:          Version: 1207.04.2732.10 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 8.25.31.0 - SDK 10.5 3rd-Party support link
                        atmsupload:          Version: 4.14.29.0 - SDK 10.5 3rd-Party support link
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
    Time Machine:
              Skip System Files: NO
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 930.71 GB Disk used: 184.55 GB
              Destinations:
                        JOHN TM [Local] (Last used)
                        Total size: 2 
                        Total number of backups: 51
                        Oldest backup: 2014-01-09 05:11:53 +0000
                        Last backup: 2014-04-04 08:40:29 +0000
                        Size of backup disk: Adequate
                                  Backup size 2  > (Disk used 184.55 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   2%          WindowServer
                   1%          EtreCheck
                   0%          SystemUIServer
                   0%          com.apple.WebKit.Networking
                   0%          softwareupdated
    Top Processes by Memory:
              344 MB          Safari
              258 MB          mds_stores
              258 MB          com.apple.IconServicesAgent
              172 MB          softwareupdated
              172 MB          soffice
    Virtual Memory Information:
              3.05 GB          Free RAM
              5.12 GB          Active RAM
              2.71 GB          Inactive RAM
              1.05 GB          Wired RAM
              7.04 GB          Page-ins
              15 MB          Page-outs

    try Mail is not syncing an imap account correctly
    (https://discussions.apple.com/message/21904088#21904088) , it just worked for me.

  • Oracle Text and APEX

    Hello
    Tried the Oracle White Paper - Oracle Text Web Applications
    Created the table and populated with relevant url links
    create table htmldb_documentation(
    id number,
    doc_title varchar2(4000),
    doc_url varchar2(4000))
    then created the index
    create index htmldb_doc_ctxidx on htmldb_documentation(doc_url)
    indextype is ctxsys.context
    parameters ('datastore CTXSYS.URL_DATASTORE')
    Then ran my SQL for the report in Toad and APEX SQL Workshop>SQL Commands before creating an APEX Region based on a SQL Report
    select score(1) relevance, doc_title, doc_url
    from htmldb_documentation
    where CONTAINS (doc_url, :P1_SEARCH, 1) > 0
    order by 1 desc
    After running the APEX Report I get error
    report error:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 1
    I also ran these grant commands after I received this error
    grant ctxapp to demo;
    grant execute on ctx_cls to demo;
    grant execute on ctx_ddl to demo;
    grant execute on ctx_doc to demo;
    grant execute on ctx_output to demo;
    grant execute on ctx_query to demo;
    grant execute on ctx_report to demo;
    grant execute on ctx_thes to demo;
    grant execute on ctx_ulexer to demo;
    Any ideas ?? I'm running APEX 3.1.0.00.32 on Oracle 10.2.0.1 on WindowsXP
    If I replace the bind variable :P1_SEARCH, with a literal value the error disappears

    Couple of things to check:
    1) do you have an item called P1_SEARCH in your application?
    2) If so, make sure that it has a value; otherwise, Oracle Text gets confused and will throw that error.
    You may want to consider using a PL/SQL Function Returning SQL Query that will only append the CONTAINS clause if P1_SEARCH has some value.
    Thanks,
    - Scott -
    http://sumnertechnologies.com
    http://spendolini.blogspot.com

  • Error in parsing template

    Hi All!
    I'm experiencing really strange behavior of my adobe forms... I developed the form, deployed it, launched it several times and everything was fine. Few days after, I just changed the font size for only one text field on the form and it didn't work anymore. Instead of the form i'm getting the message "Error in parsing template". Even if i change the font size to the old value it doesn't work. Suddenly after i deleted and put one text field again on the form (different text field than the one i changed font size of) form started to work again :-S... I'm very confused... Does anyone have any idea what could be the reason for that? It looks like xdp file becomes corrupted for some reason. I'm using Live Cycle designer 7.1....
    Thank you in advance....

    Yes, Srinath,
    It is working fine. Even in region Template, query executed successfully and returns the result. but same time we get error in UCM logs.
    Thanks

Maybe you are looking for