F95 long string bug workaround

Recently I reported a bug in Sun f95 (internal review ID 926528) in which initializing a character variable with length > 1024 made the compiler crash. The offending program:
PROGRAM sunbuglongstring ! character*1025
CHARACTER:: longstring*1025='<'//repeat('.',1023)//'>'
PRINT '(1X,2A)',longstring(1:1),longstring(1025:1025)
END PROGRAM sunbuglongstring
ought to print <>. After sending that bug report I found a simple workaround: separate the initialization from the declaration by
PROGRAM sunbuglongstring1 ! character*1025
CHARACTER:: longstring*1025
longstring = '<'//repeat('.',1023)//'>'
PRINT '(1X,2A)',longstring(1:1),longstring(1025:1025)
END PROGRAM sunbuglongstring1
which compiled and ran OK.

I am experiencing the same error on csv export from within APEX app, however not all symptoms match i.e. we have only 1 authentication scheme & logging in & out does not resolve the issue.
Our environment is Oracle 10g running APEX 3.01 & error appears in IE7 & IE8 but not Firefox.
Is this a different bug perhaps?
Any possible workarounds (other than switching to Firefox?)?
Any suggestions would be appreciated.

Similar Messages

  • OWA Email - One Long String

    The email I receive from OWA has no line breaks, it is all one long string.  This is creating a big problem when I forward the emails received with my BB as they are difficult to read by the recipient.  Is there anyway to correct this?  I use BIS and access my work email via OWA.  I also have a separate personal email set up with no problems with the email I receive or send.  
    BB Curve 8310 v4.5.0.55
    OWA v5.5 SP4
    Any help will be appreciated!

    I'm experiencing the same issue (no line breaks) when pasting rows directly from Excel (2008 & 2011) into a Flex TextArea on a Mac. However, when pasting the exact same data from a Windows Excel spreadsheet, it contains the line breaks.
    From Mac: Customer\tPhoneCustomer 1\t555-555-5555Customer 2\t555-555-5556
    From Windows: Customer\tPhone\rCustomer 1\t555-555-5555\rCustomer 2\t555-555-5556\r
    This appears to be a bug in a flash.display class as pasting the data from Excel to a text editor and then copying/pasting into the same Flex TextArea preserves the original line breaks.
    Has anyone figured out a work around?

  • Long standing bug in ARD

    There is a LONG STANDING bug in ARD dating back to at least v2.0, maybe earlier.
    While controlling a remote Mac, for seemingly no reason, the display stops refreshing. The connection has not been lost just refresh is stopped. A single refresh workaround is to click the color adjustment bar, no need to move it, just click it and you get one refresh. This happens to me way too frequently! It occurs on PPC as well as Intel Macs, on local LANs and over the Internet through VPNs.
    Sometimes you can break out of this by closing the connection and connecting again but it usually requires the remote machine to restart the ARD service. Doing this with ARD itself usually leaves the remote machine unreachable (ARD service stopped.) I have taken to using a near by Windows machine then ssh'ing into the Mac to manually restart the service. This works but the refresh problem re-occurs after an undetermined amount of time.
    There seems to be no clues as to why this happens. There is never any particular task I am performing, no specific app I am always running, etc, etc.
    Excuse me if this has already been brought up and if someone knows a fix or can point me to a KB article I would be most appreciative!
    Thanks,
    Josh
    G3, G4, G5, Intel iMac, you name... Mac OS X (10.4.6)   Mac OS X (10.4.6)  

    I, too have experienced this problem. However, much more so since I upgraded to ARD 3. This can happen, as you say, on a wide variety of clients: eMacs, G5 Dual, iMac G5, Powerbooks. Most annoying. I have found that if I use TB2 to control the client, I will find, in some cases, the SystemUIServer process is hung. By Force Quitting this process and Re-Starting the client, I am able to get ARD to run again.
    This seems a little more severe than your problem, but I have had the same experience as you describe as well--the SystemUIServer is not hung in these cases. I can generally find nothing wrong on the client to account for the behavior.
    Nor have I found a satisfactory answer to the problem on this forum. Would love it someone could offer a clue!
    PowerBook G4 Aluminum 15   Mac OS X (10.4.6)  

  • Is there an easy way to convert a long string into an array?

    I can convert a long string into a 1-d array by parsing and using build array, but I would like to know if there is a function to make this easier.
    For example:
    from/   aaaaaaaabbbbbbbbccccccccdddddddd         (string of ascii)
    to/       an array that is 1-d with each element having eight characters
              aaaaaaaa
              bbbbbbbb
              cccccccc
              dddddddd
    Thank you.
    Solved!
    Go to Solution.

    Try something like this:
    (If you can guarantee that the string length is an integer multiple of 8, you an drop the two triangular modes in the upper left. )
    Message Edited by altenbach on 03-14-2010 06:40 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ChopString.png ‏9 KB

  • Inserting long string into Oracle

    When my code inserts about 5K character into a table, I got an error message saying that the Oracle could only handle 4K character. I am currently looking at LOB but havn't had a clear idea yet. Could someone give me some help on this? According to the sample code, I will have to use Oracle JDBC driver for LOB. But we are using BEA's Kona driver for all JDBC connections. Is there an easy way to insert long string?

    hii
    nams u solve ur problem using setCharacterStream method
    but it does't work if the string more than 4000 char
    raises "java.sql.SQLException: Protocol violation"
    here's the code
    PreparedStatement ps = con.prepareStatement( "UPDATE candidate SET cv_new = ?");
    StringReader cvReader=new StringReader(cv_new);
    int abc=cv_new.length();
    ps.setCharacterStream( 1, cvReader, abc);
    ps.executeUpdate();
    is that any problem in that code or it's a jdbc driver broblem ??
    i'm using classes 12.zip
    thanks

  • How to find out if a long String has a "subString" twice or more.

    I need to find out if a long String has the same number twice or more.
    I need to look matches for numbers running from 000, 001....999 and if a number is found twice or more, return that number and lines there were found.
    example String:
    -;000 ; 1 ; 2006-12-11 ; -; job;
    x;001 ; 2 ; 2006-12-11 ; 2006-12-12; do this
    -;002 ; 3 ; 2006-12-11 ; -; work
    -;003 ; 0 ; 2006-12-11 ; -; some
    -;004 ; 2 ; 2006-12-11 ; -; thing
    x;005 ; 1 ; 2006-12-11 ; 2006-12-11; reads
    -;003 ; 0 ; 2006-12-11 ; -; here
    Should return from example String:
    003 at lines 4 and 7
    Any ideas?

    So there are newlines in the String?
    You could use a StringTokenizer to break the String into lines, then searching on each line if it contains any of the search strings. (You need to clarify if a line can contain more than one search string).
    Probably you should use a Map<String, Integer> to record the searchcounts.
    Or an int[] Array if you are really sure that the Strings you search for really are numbers.
    Another option is to use:
    LineNumberReader lnr = new LineNumberReader(new StringReader(searchString));This will save you from explicitly having to take care for the line number.
    In any case your example looks like the individual lines are semicolon separated fields and the numbers you search for always are in column two.
    So after breaking up the original String in lines, you could use another StringTokenizer to break up the line in fields.

  • In report layout, can format a long string display as Column mode?

    Hi,
    Just want to check in report builder any way can format a long string into a column mode?
    Example: I have a field to hold 8000 character, and would like to print
    30 character in each line, when reach 50 line, then print in column i/o to print next page?
    Any idea ? Thanks a lot if you can share your experience with me.
    best Regards,
    Klnghau

    hi let say your field name is x
    then if your want it word wrap then it's simple just get one field and make it's vertical
    elasticity variable. and asign the field to it..
    but if you want your field to be displayed as
    first colunm and then beside continuation of that column but in 2nd one...
    then create 2 formula columns make your field legth been distributed half in each.
    so cf_1 is:
    decalre
    t varchar2(1510);
    begin
    if length(:x) > 1500
    t := substr(x, 1, 1500); -- as 30 x 50 = 1500
    else
    t := :x;
    end if;
    return t;
    so cf_2 is:
    decalre
    t varchar2(1510);
    begin
    if length(:x) > 1500
    t := substr(x, 1500, length(:x)-1500); -- as 30 x 50 = 1500
    else
    t := '';
    end if;
    return t;
    and then in design view
    field1 field2
    for field1 source is cf_1 and
    for field2 source is cf_2
    that's all
    Enjoy Oracle...

  • Problem in displaying long string in JTextField

    Hi All,
    I got problem in displaying long String in JtextField. It does center alignment & I can see middle part of string where length of JTextfield is 6 char. How can I do left alignement so that I can see starting 6 character?
    --Harish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    you may try this:
    yourTextFieldName.setHorizontalAlignment(JTextField.LEFT);
    or
    yourTextFieldName.setHorizontalAlignment(JTextField.LEADING);
    hth.

  • When I forward an e-mail, I get a long string of gobblygook that goes with it and I cannot figure out how to eliminate it without having to delete it every time

    When I forward an e-mail, I get a long string of gobblygook that goes with it and I cannot figure out how to eliminate it without having to delete it every time I forward an e-mail. The following is only part of the string that I am talking about. How can I eliminate this from the e-mail?
    Here is part of an excerpt from one of the strings:
    From: - Mon Aug 19 18:12:47 2013
    X-Account-Key: account1
    X-UIDL: 065B31352CC6B3C0789DEA7954395B55
    X-Mozilla-Status: 0001
    X-Mozilla-Status2: 00000000
    X-Mozilla-Keys:
    Return-Path: <[email protected]>
    Received: from hrndva-mxlb.mail.rr.com ([10.128.255.126]) by hrndva-imta07.mail.rr.com with ESMTP id <20130819211326470.DBUO12525@hrndva-X-Roving-StreamId: 0

    Sorry, Firefox doesn't do email, it's strictly a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [https://support.mozillamessaging.com/en-US/home] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • How can I copy a long string of texts from my iPhone 4s to a word document?

    I need to copy a long string of texts to a word document on my PC.

    One method would be to use 3rd party software. The following is one example but there may be better/cheaper or even free options: http://www.wideanglesoftware.com/touchcopy/

  • Long strings in combo box

    I have an editable combo box that I'm sticking in a compact spring layout. The problem is if you use a list that contains very long strings (like a long hex string), the combo box sizes itself to fit it and all the other controls are made to be that length as well. Is there a way to stop the control from becoming so long, like a horizontal scroll bar in the list?

    Read this [url http://www.objects.com.au/java/examples/src/examples/SteppedComboBoxExample.java]example
    Here's its [url http://www.objects.com.au/java/examples/swing/SteppedComboBox.do]picture
    ICE

  • How to indent the 2nd line of a long string?

    Hi all,
    I would like to achieve something like below where the 2nd line will be indented automatically. How to do format this in Oracle Report? The "<--indent-->" below is to illustrate the indentation, which I can't show in this posting as the formatting is not supported.
    Okuda, M., & Okuda, D. (1993). Star Trek chronology: The history of the
    <--indent--->future. New York: Pocket Books.
    Please advise.
    Thank you.

    Yes, chr(10) can make the string break to next line, but that cannot fulfill my requirement.
    What I need is a single long string that will automatically get indented for the 2nd line onwards when display in report.
    I can't use chr(10) because I won't know when to break to next line because it does not have fixed rule that after which part should I break it to next line. I'm referring to bibliographic citation that normally display as indented for the 2nd line.
    Hope you got what I mean.

  • GP - How to display a long string value

    I'm trying to display a really long string value and then allow the user a couple of result state choices (to either go back and do another search or finish).
    None of the forms (WD, display, etc.) will display a really long string.
    I tried using a loop type decision dialog, but there doesn't appear to be a way of having it pick up a parameter value as the message (or part of the message) to display.
    I can get it to display in the complex type decision dialog, but I don't need the group/options and I can't seem to get rid of the second set of buttons that show up (the long string parameter value was put into the 'Info Texts' area and does display ok).
    Is there any easy way of displaying the complete contents of a long string value and have buttons for results states?  I'd even be happy if I could just display the whole string and use a separate callable object for the choices.
    Thanks,
    Cindy

    I think you should try calling a JAVA or ABAP Webdynpro as the callable object. As you know, we can display long texts in the webdynpro fields. Other alternative is an Adobe form as well.
    Cheers,
    Mandrake

  • Automatic trim of too long strings

    Hi,
    if I try to insert a too long string value into a VARCHAR column, I get the error ORA-12899.
    Is it possible to set the Oracle database so that too long strings get trimmed automatically?
    Thank you.

    Hi,
    Welcome to the forum!
    Unfortunately, there's nothing quite like what you want in Oracle.
    Even if you write a trigger to cut off the excess, you can still get the ORA-12899 error. For example, if table_x.col_1 is defined as VARCHAR2 (10), this statement:
    INSERT INTO table_x (col_1) VALUES ('ABCDEFGHIJKLMNOP');will get the error, even if you have a trigger that says
    :NEW.col_1 := SUBSTR (:NEW.col_1, 1, 10);You could define col_1 as VARCHAR2 (4000), and have a trigger that includes the statement show above, to make sure that the actual values will be 10 characters or less. You cound even have a CHECK constraint (LENGH (col_1) <= 10).
    Think carefully about what Someoneelse said. Do you really want to throw away part of what users enter, automatically and without any warning? Will that cause confusion?

  • How to set selected value in html:options that isusing HasMap Long,String

    So here is my problem
    I have a HashMap<Long,String> where key is the country id and value is the country name. So I am displaying it in the jsp using the below code
    <c-rt:set var="countriesMap" value="<%=countriesMap%>" target="java.util.HashMap<Long,String>"/>
    <html:select size="1" property="countryId" >
    <html:option value="" />
    <html:options collection="countriesMap" property="key" labelProperty="value" />
    </html:select>
    And my Action form has the property countryId.
    So it works fine , it displays all the countries and sets the country ID in the form's property that we set in the property attribute of <html:select>.The form's property is of type Long.
    But suppose if some error occurs in the validate method for some other property then when the page renders back it does not set the selected country in the list box.
    Can anyone please help me out of this.Thanks in advance.
    Edited by: AmitDsm on May 9, 2008 8:01 AM

    Hi,
    I had the same issue. Altho I am using Spring, the solution is the same.
    <select name="expMonth">
         <option value=""></option>
         <c:forEach items="${form.data.months}"
              var="month">
              <c:choose>
                   <c:when test="${form.data.pDet.expDate_month eq month}">
                        <option selected="selected"><c:out value="${month}"/></option>
                   </c:when>
                   <c:otherwise>
                        <option><c:out value="${month}"/></option>
                   </c:otherwise>
              </c:choose>
         </c:forEach>
    </select>Disclaimer: Not sure if this is the correct way to do it, but it works for me
    Edited by: Reegz on 2008/05/12 05:58

Maybe you are looking for

  • TS2972 Apple TV will play some content but not other content

    My AppleTV will recognize the available content on my computer and will play some of it, but when I try to watch other content it says that I must authorize the computer.  However, the computer is already authorized, which Apple TV sees because it wi

  • Save strings in tdms format

    hi everybody!! can i save an array of string in tdms format??? how can i do it??any example??

  • Help with READ_TEXT

    hi all, somebody could give me an example for using this function. And how can i manipulate the result? of the function? regards, Jose Roberto

  • My Internet connection is faster but Safri is slower!

    Hi Guys, I am having problems with the speed in Safari, also it just won't let me log on to Yahoo. I get the following error "Safari can't open the page "http://uk.f232.mail.yahoo.com/ym/login?.rand=9o6ig0c9cgf7b". The error was: "lost network connec

  • 2 buttons, same end jump target

    I'm working on a project in which I had to make 2 buttons for each entry, one for text and the other using a button from the palette without text, but both pointing to the same target. I now find that I can't give both these buttons the same end jump