Weird array problem!

I've got a problem i can't figure out. I query a database and populate my object with dates from the query result. I put the objects in an array, this is done in a for loop and works fine, the dates are correct. But when i'm outside the for loop and check the dates in the array all i get is the last date i inserted.
here is the code:
for(int i = 0; i<index; i++) {
TestResult tr = new TestResult();
tr.setSiteID(queryDataSetTestResult.getInt("SiteID"));
tr.setLicensenum(queryDataSetTestResult.getString("LicenseNum"));
tr.setStarttime(queryDataSetTestResult.getTimestamp("StartTime"));
data[i] = tr;
queryDataSetTestResult.next();
for(int j=0;j<data.length;j++) {
SetupFrame.reportMsg("3 "+data[j].getStarttime().toLocaleString());
return data;
within the first for loop where i'm adding objects to the array, the data is fine. once i'm out of there and print the dates in the array i'm not getting the right results.
thanks

You would have that problem if (for example) your TestResult class's method setStarttime assigned its parameter to a static variable instead of an instance variable. (The problem is that there's only one Timestamp object being used.) But if setStarttime assigns to an instance variable, then probably your database driver is always returning the same object, but with changed contents every time. A dirty trick to play, but I have seen that question asked before here. You would have to do something like this:
Timestamp ts = new Timestamp(queryDataSetTestResult.getTimestamp("StartTime").getTime());
tr.setStarttime(ts);

Similar Messages

  • Weird internet problem / ssl connection error, site loads in safari not in firefox or other way around

    I really can't figure out this problem. Search the internet tried all kinds of things, nothing help so far.
    I have a Macbook Pro (Lion originally installed) running on Mavericks (all latest updates). SSD installed and the DVD tray is replaced by the original HDD.
    The laptop wasn't running very smooth anymore so decided to give it a fresh Mavericks install (even though I know it's not really necessary for mac, it helped, everything is much faster except a weird internet problem came up).
    After freshly installing Mavericks I couldn't get into my google account anymore, just wouldn't load. Tried Safari (use this normally) and Firefox and Chrome, this last was gave a SSL connection error, both Safari and FF said the website couldn't be loaded because the server didn't respond. For Gmail I use Mailplane which is just stuck on a white page. I tried repairing the keychain, repaired disk and disk permissions, cleaned browsers, turned off firewall and antivirus (Shopos) started in safe mode, checked time settings which were all good. Nothing of this helped. I even ended up creating a usb bootdisk for Mavericks, formatted the disk and reinstalled from the start just Mavericks and nothing else, started Safari, still the same problem. As even this didn't help I figured it's not worth reinstalling all software so put back my backup.
    Now I ended up somehow only being able to use Gmail normally in Firefox, Chrome still gives SSL error and Safari can load the inbox, but I can't open any messages. I get the error there is a problem with the connection. If I try in Basic HTML mode it surprisingly does work.
    You would say, just use Firefox, finished...but the thing is that sometimes random websites won't load in Firefox, when I load the same site in Safari it works perfectly.
    O yes, I also tried the connect to my iPhone and use the Cellular data network, then it's no problem using Gmail in Safari normally. You would say it's a router problem, but I have another Macbook Pro (just one model later running Mountain Lion) this one works perfectly with every browser. Also my iPhone does everyting logged into the WiFi network.
    You can understand I really have no clue what's going on here, I don't see any logic. I can only think of a hardware problem in my Macbook, but don't see how that could cause these problems.
    I hope someone is ably to help me ?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • A quick Array Problem

    hey all,
    i'm having a dumb array problem, I cannot figure out what I've done wrong !
    I've set up an empty array of JButtons (because that '4' is actually a variable in my code)
    HERE IS THE CODE
    //===========================
    JButton[] buttons = new JButton[4] ;
    for (int g = 0; g < 4; g++)
    Imag[g].setIcon(imageIcons[g]);     
    buttons[g].setEnabled(true);
    System.out.print (buttons[g] + " " + g + "\n");
    //===========================
    My Error is a null pointer exception. And when I take out the:
    buttons[g].setEnabled(true);
    line, I just get the ouput, and it is:
    null 0
    null 1
    null 2
    null 3
    Ok, I know I'm probably making one dumb little mistake, but I have no idea what it is right now, Please Help !! thanks,
    Kngus

    When you want to use an array, you declare it (which you did), construct it (which you did), and initialize it (which the VM did). When you initialize an array of primitives, the primitives get their default value (0 for signed int types, 0.0 for float types, false for boolean, null-character for char) and so do object references (null).
    You are setting up an array of object references. When the VM initializes it, the elements of the array (i.e. the references to the JButtons) are set to null. That's why you're getting the NullPointerException. You need additional code, something along the lines of this:
    for(int j = 0; j < buttons.length(); j++) {
        buttons[j] = new JButton();
    }Now, your buttons array will contain references to JButtons rather than null.
    AG

  • Transposin​g Array Problem

    I need to get the information from a table which has been populated at an earlier point in the program, and convert it to numbers, and then break it up into its individual elements. Both ways of doing this in my attached vi work, but the one method throws three 0's in between columns, when I resize the 2D array to 1D. Any idea why? Is there an easier way to go about this?
    Thanks, Geoff
    Attachments:
    Array Problem.vi ‏26 KB

    Your original table contains 3 extra row which generate 3 rows of zeroes. Your 2D array actually contains 35 elements. the reshape function truncates to 20 elements. After transposing, you throw away nonzero elements while before rehshaping all zeroes are in the tail giving the false apperance of correct behavior.
    The attached modification gives you a button to fix the table size so it works correctly.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ArrayProblemMOD.vi ‏41 KB

  • Weird audio problem during calls

    I have a weird audio problem and was wondering if anyone else has had a similar problem or could help...
    My wife and I both have iPhone 5's and sometimes (not all the time) when she calls me (or I call her), it connects, but no matter which audio input I choose (phone, bluetooth, speaker, headphones), I cannot hear her, but she can hear me... I hang up, call back (and when I call, there is no dialing sound, nor any other phone sounds) and it's the same thing. Sometimes restarting the phone works, other times I have to restart it 3-4 times before it'll work again.  I try different things during these calls, like turning on/off bluetooth and/or wifi (pretty much anything I can think of that would make a difference), but nothing seems to help.
    The (other) weird part is that after the last time of this happening, I tried calling my iPhone with my office phone and it worked fine, so then I immediately call my wife back with my iPhone and it was doing the same thing again. I called her back using my office phone and could talk to her fine...
    This problem has been going on for a few months now and I have tried restoring the phone a couple times (and I am on the latest iOS) and sadly, that hasn't done anything to help... Does anyone have any ideas what is going on? I'd make an appointment for the problem, but since it doesn't do it all the time, I don't know what good it would do... But it is getting very frustrating!
    Thanks for any help!
    -Jason

    Thanks for the response!  It happened again yesterday...  It seems to be happening more frequently in the past few weeks now.
    I checked the link and have tried all of the things listed at one point or another over the past few months.  I did just check my Carrier settings and it said it had updated (it's on 14.1), but I am not sure when that happened (could have been today, could have been after my last restore last week, not sure).  I'll keep my fingers crossed that maybe that fixed it...
    If it continues to act up, would you recommend that I bring the phone in to an Apple store or an AT&T store?  I bought the phone through Apple, but my carrier is AT&T (and if you suspect that the problem may be with the cellular conection), maybe the AT&T store would be the better choice?
    I really wish the problem would be more consistant or go away, cause trying to get the problem solved is driving me crazy!

  • Slooow internet and weird mouse problems?

    I recently upgraded my iMac to Leopard (10.5.4) and started having weird mouse problems. At start up, mouse would be frozen in upper left corner. I'd restart, switch mice, restart, over and over. I use a Wacom tablet w cordless mouse plus Apples alum cordless keyboard. Eventually I tried switching USB ports for my Wacom tablet and the mouse was OK. I have learned that when this problem occurs, I need to shut down and unplug everything. That seems to solve it. Anyone know why? ALSO, ever since upgrading I have found the Internet to be appallingly slow. I have 2 GB memory and just upped my internet speed (supposedly) through Embarq.

    hmm, what is a mouse usb or a keyboard usb?
    arent all the usb ports same?
    I really wish to show you how this happens it is really fun, but also annoying. especially when I am playing a game. it is interesting to watch the screen when suddenly all the world starts rotating when you are playing a first person shot'm up.

  • KT6V Weird boot problems

    Hi..
    I'm having this weird boot problem (and no it doesn't seem to be the standard one)
    OK..
    I have the following :
    AMD Athlon 2000+
    KT6V LSR mainboard
    2x 256 Crucial PC2700 memory
    IDE Hard Disk (120gb segate)
    Creative 5700ultra Graphics card (AGP)
    Cd Rom
    Chieftec 400w PSU
    WinXP Pro
    If I set my CPU FSB to 100mhz (everything else on auto).. win Xp pro boots fine and all is pretty good except that my chip is now seen as a lowly 1.25ghz..
    If I then set my CPU FSB to 133 or 166 then the machine boots (ie it beeps etc..).. starts to load windows xp (I get the logo and that's when the problem happens)  and either black screens (ie.. nothing and the monitor turns off) or blue screens with the windows message saying that windows has detected a hardware fault and has halted the system..
    I know my memory, chip, heatsink etc all work because just over an hour ago they all worked fine in my KT3 ultra.
    What is going on as I've tried almost everything to try and solve this, with the only option to set the FSb to 100mhz which is incorrect for my CPU.
    How do I fix this.
    I've looked through the forum but this is not the same problem as simple reboots.. this is weird.
    If I can't fix this then I guess it'll be send it back.. which is a shame because I like MSi motherboards.
    Thanks
    Slippery

    Hi..
    I've checked the CPU heatsink.. and nothings wrong !
    (Can't check the voltage but I know the PSU is Ok as I did run it in a custom case with 4 Cd writters, 4 HDs, loads of lights etc.. before I moved to this new plain case tonight)
    What's weird is that set at 100FSb it's fine but at 133 or 166 it just crashes after the loading XP logo is displayed. Up until that point it's all fine.
    But why does it run Ok at 100mhz and not 133mhz ?
    Please help..  before I end up fixing this with a hammer !
    Thanks
    Slippery

  • MS Office Report Express VI and Array Problem

    Hello all,
    I have a strange issue with the MS Office Report VI that's included with the Report Generation Toolkit. I created an Excel template which I linked using the "Custom template for Excel" preference and applied all the named ranges. However, two of the named ranges that I am inputting are 1D Arrays of doubles. Now the problem:
    When I input the arrays to their specific name range (it's only 6 values), instead of inputting just the array values into the cells, it inputs like this:
    0    Value
    1    Value
    2    Value
    6    Value
    It pushes the "Value" to the column next to the name range because of the 0-6.
    It does this with both arrays so it screws up all the formulas. Any one know how to remove the 0-6 and just input the values?
    Thanks all 
    Solved!
    Go to Solution.

    Greetings, I wrote a program that generates an array of data and stores a data table, just as a chart, just starting to program, I hope that my program can be useful
    Atom
    Certified LabVIEW Associate Developer
    Attachments:
    write_excel.vi ‏60 KB

  • Weird Javascript problem on Safari and other web browsers

    Hello,
    this is actually pretty weird. For the past several weeks I have been dealing with a very strange problem which I believe relates to JavaScript. To be more specific I have an issue with two websites: Macuser.gr and Facebook.com.
    As far as Macuser.gr is concerned this is how it's supposed to look:
    http://f.cl.ly/items/0j1J123Y2D0t1C2U3b1f/Screen%20Shot%202013-02-06%20at%202.25 .04%20PM.jpg
    and this is how Safari renders it:
    http://f.cl.ly/items/3N0V3I1c0Q0a1r0K0e1C/Screen%20Shot%202013-02-06%20at%202.25 .40%20PM.jpg
    The problem is with the preview images as you can see.
    Now, in Facebook there's this annoying white line where it isn't supposed to be:
    http://f.cl.ly/items/0k0i2c0T0q1h3t2j2s3e/Screen%20Shot%202013-02-06%20at%202.25 .52%20PM.jpg
    I have tried and tested everything (Guest user, different browsers etc) and all it comes down to is JavaScript. Disabling Javascript seems to fix everything immediately. Enabling it again and this mess occurs. Also, this happens with the latest versions of Safari, Chrome and Firefox BUT not with Camino 2.1.2 although it has JavaScript enabled in it.
    This is really frustrating and it appeared out of the blue one day. I did not have this problem from day 1. Any ideas?

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.
    From the OS X Utilities screen, select Get Help Online. A clean copy of Safari will launch. No plugins, such as Flash, will be available. While in Recovery, you'll have no access to your saved bookmarks or passwords, so make a note of those before you begin, if they're needed for the test.
    Test. After testing, reboot as usual and post the results.

  • Weird mouse problem (clicks not being performed, -)

    Recently I am suffering from a really weird problem.
    The middle mouse button shows a really strange behaviour:
    I'm using KDE from [extra], and middle clicking e.g. a link in a webbrowser (no matter which toolkit it uses) instead of opening one tab, opens the link in several tabs.
    Also middle clicking on a tab, normally should close *one* tab, while here it often closes more than one tab. Since this happens in every application I use, no matter which toolkit is used, this cannot be a KDE/Qt problem, since e.g. Firefox is affected by it too. I also doubt that GTK is the cause of this problem…
    [The middle clicking problem has been solved, by cleaning the mouse wheel]
    [The problem below, still persists]
    Furthermore, sometimes my laptop looks like it enters a "state", where my clicks are not "performed" the normal way:
    E.g. I had a media player running, when my laptop got into this "state". No matter where I clicked on this app, the clicking action was performed on the Play button. Using Alt+Tab to focus another window/bring it to the front, and clicking in this window anywhere again resulted in the Play button getting clicked.
    After quitting the media player app (through a keyboard shortcut) my clicks still did not work normal. They still simply were not performed. In order to "re-gain" the ability to click, I had to log out first.
    Since I've setup my Arch Linux not to automatically start X/KDM after logging out, I found myself in the terminal, where I ran startx, in order to run KDE.
    The terminal still had some output of my X session, but it wasn't displayed with normal characters, but rather with some weird characters, looking all scrambled and stuff, as you can see on the screenshot. http://imagebin.org/100067
    I currently use the packages from the testing repo, but IIRC this behaviour was there even before installing the testing repo packages.
    Extra information:
    kernel26 2.6.34-1
    xorg-server 1.8.1-1
    nvidia 195.36.24-2
    xf86-input-evdev 2.4.0-1
    I run Arch Linux x86_64 on an Acer 5741G Laptop, with a NVidia Geforce GT 320M.
    Interestingly, another user who suffers from the same bug is running a computer with intel graphics, so it probably is not the nvidia driver causing the problem either.
    Originally the bug was reported as a rekonq bug: https://bugs.kde.org/show_bug.cgi?id=238987
    Thank you
    Last edited by pano (2010-06-09 11:43:21)

    Hello,
    I seem to suffer from the same problem. Sometimes (perhaps triggered by amarok, but I have to investigate this further before blaming this app) the left mouse button stops working. I can not perform left-klicks anymore. Everything is fine with the right button. If I log out and in again the mouse if fully back. In this loop X has not been restarted.
    My setup:
    KDE 4.4.5 (official packages)
    X: X.Org X Server 1.8.1.902 (1.8.2 RC 2)
    kernel: 2.6.34-ARCH #1 SMP PREEMPT
    architecture: x86_64
    mouse: Logitech MX1000 Laser (Logitech, Inc. MX-1000 Cordless Mouse Receiver)
    If s.o. will ever work in this I will be happy to provide any information I can come up with.
    Cheers and good night.

  • Assigning value to a two-dimensional byte array - problem or not?

    I am facing a really strange issue.
    I have a 2D byte array of 10 rows and a byte array of some audio bytes:
    byte[][] buf = new byte[10][];
    byte[] a = ~ some bytes read from an audio streamWhen I assign like this:
    for (int i=0; i<10; i++) {
        a = ~read some audio bytes // this method properly returns a byte[]
        buf[i] = a;
    }the assignment is not working!!!
    If I use this:
    for (int i=0; i<10; i++) {
        a = ~read some audio bytes
        for (int j=0; j<a.length; j++) {
            buf[i][j] = a[j];
    }or this:
    for (int i=0; i<10; i++) {
        System.arraycopy(a, 0, buf, 0, a.length);
    }everything works fine, which is really odd!!
    I use this type of value assignment for the first time in byte arrays.
    However, I never had the same problem with integers, where the problem does not appear:int[] a = new int[] {1, 2, 3, 4, 5};
    int[][] b = new int[3][5];
    for (int i=0; i<3; i++) {
    b[i] = a;
    // This works fineAnybody has a clue about what's happening?
    Is it a Java issue or a programmers mistake?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Back again! I'm trying to track down the problem.
    Here is most of my actual code to get a better idea.
    private void test() {
         byte[][] buf1 = new byte[11][];
         byte[][] buf2 = new byte[11][];
         AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(audioFile);
         byte[] audioBytes = new byte[100];
         int serialNumber = 0;
         while (audioInputStream.read(audioBytes) != -1) {
              if (serialNumber == 10) {
                   serialNumber = 0; // breakpoint here for debugging
              // Fill buf1 -- working
              for (int i=0; i<audioBytes.length; i++) {
                   buf1[serialNumber] = audioBytes[i];
              // Fill buf2 -- not working
              buf2[serialNumber] = new byte[audioBytes.length];
              buf2[serialNumber] = audioBytes;
              serialNumber++;
    }I debugged the program, using a debug point after taking 10 "groups" of byte arrays (audioBytes) from the audio file.
    The result (as also indicated later by the audio output) is this:
    At the debug point the values of buf1's elements change in every loop, while buf2's remain unchanged, always having the initial value of audioBytes!
    It's really strange and annoying. These are the debugging results for the  [first|http://eevoskos.googlepages.com/loop1.jpg] ,  [second|http://eevoskos.googlepages.com/loop2.jpg]  and  [third|http://eevoskos.googlepages.com/loop3.jpg]  loop.
    I really can't see any mistake in the code.
    Could it be a Netbeans 6.1 bug or something?
    The problem appears both with jdk 5 or 6.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • RAID 5 array problem

    Hi,
    I've a problem arising from the replacement of a drive in a Proliant ML370 G3 RAID 5 array.
    What happened is one disc in the array failed. I replaced it and selected the "F1" rebuild option. The system then appeared to start the rebuild, both the green arrow and the green HD icon on the replaced disc flashing. However, when I returned to the server, over a week later, I found that the HD light had gone out but the green arrow continued to flash on occasion. I had expected the HD icon to remain illuminated and the arrow to flash every so often. When I checked in Disc Manager (Windows 2003 Server) this reported that although both partitions allocated to the array were healthy, there was no fault tolerance. I have since rebooted the server which then responded that the same disc had failed and presented me with a rebuild option.
    I've now tried to rebuild this array three times without success, the result being the same each time I try. What am I missing?
    I'd appreciate any suggestions
    Phil

    You gave a very nicely detailed list of datum ... thanks, that's rare!
    Now ... one other bit ... you mention media being on the Thunderbolt RAID5 ... is everything there, including cache/database/previews/project-file, or just the media? I know that if say everything else was on the system drive, this would probably happen ... the media is the 'easiest' part of the disc-in/out chain as it's mostly "simple" reading of files, those other things are heavy read/write items. I'm assuming you've probably put most of it on that RAID, as the folks on the Tweaker's Page would oft posit.
    Neil

  • Associative Array problem in Oracle Procedure

    Hi,
    I've searched through the internet and this forum and haven't been able to resolve a problem using associative array values within an IN clause. Everything I've read states that I can't use the associative array directly in the SQL statement. I have to convert it to a table and then I can use it. Unfortunately, I'm receiving an "ORA-21700: object does not exist or is marked for delete" error when trying to access the table I've populated from the array. Please note that I have verified the table is actually being populated during the loop. I'm catching the error when referencing it in the SELECT statement.
    I've declared the following in the ARCHIVE package specification:
    TYPE RSType IS REF CURSOR;
    TYPE integer_aat IS TABLE OF INTEGER INDEX BY PLS_INTEGER;
    TYPE integer_table IS TABLE OF INTEGER;
    The procedure is as follows:
    PROCEDURE SEL_SEARCH_RESULTS (v_term IN VARCHAR2,
    v_categories IN ARCHIVE.integer_aat,
    rs OUT RSType)
    AS
    /* PURPOSE: Return Search Results for the Category and Keyword Provided
    VARIABLES:
    v_categories = Document Categories array
    v_term = Keyword entered
    rs = Result Set
    tbl_cat ARCHIVE.integer_table := ARCHIVE.integer_table();
    BEGIN
    FOR i IN 1 .. v_categories.COUNT
    LOOP
    tbl_cat.EXTEND(1);
    tbl_cat(i) := v_categories(i);
    END LOOP;
    OPEN rs FOR
    SELECT A.ID,
    B.CATEGORY,
    A.FILENAME,
    A.DISPLAY_NAME,
    A.COMMENTS
    FROM TBL_ARCHIVE_DOCUMENTS A,
    TBL_ARCHIVE_DOC_CAT B,
    TBL_ARCHIVE_DOC_KEYWORDS C
    WHERE A.ID = B.ID
    AND A.ID = C.ID
    AND B.CATEGORY IN (SELECT * FROM TABLE(tbl_cat))
    AND C.KEYWORD = v_term
    ORDER BY A.ID;
    END SEL_SEARCH_RESULTS;
    Any help would be greatly appreciated and thanks in advance,
    Matt

    Thank you for the quick response. I looked at the example you suggested and made the following changes. Now I'm receiving an "Invalid datatype" error on the "SELECT column_value FROM TABLE(CAST(tbl_cat AS tbl_integer))" statement. I must be missing something simple and I just can't put my finger on it.
    PROCEDURE SEL_SEARCH_RESULTS (v_term IN VARCHAR2,
    v_categories IN ARCHIVE.integer_aat,
    rs OUT RSType)
    AS
    /* PURPOSE: Return Search Results for the Category and Keyword Provided
    VARIABLES:
    v_categories = Document Categories array entered
    v_term = Keyword entered
    rs = Result Set
    TYPE tbl_integer IS TABLE OF INTEGER;
    tbl_cat tbl_integer;
    BEGIN
    FOR i IN 1 .. v_categories.COUNT
    LOOP
    tbl_cat.EXTEND(1);
    tbl_cat(i) := v_categories(i);
    END LOOP;
    OPEN rs FOR
    SELECT A.ID,
    B.CATEGORY,
    A.FILENAME,
    A.DISPLAY_NAME,
    A.COMMENTS
    FROM TBL_ARCHIVE_DOCUMENTS A,
    TBL_ARCHIVE_DOC_CAT B,
    TBL_ARCHIVE_DOC_KEYWORDS C
    WHERE A.ID = B.ID
    AND A.ID = C.ID
    AND B.CATEGORY IN (SELECT column_value FROM TABLE(CAST(tbl_cat AS tbl_integer)))
    AND C.KEYWORD = v_term
    ORDER BY A.ID;
    END SEL_SEARCH_RESULTS;

  • Very weird monitor problem, betcha can't solve this one.

      OK I have a MacBook Pro 2.4GHz with 4GB of Ram, it's fully up to date with Lion, and is connected to a Formac W2300-1U 23 inch TFT Monitor (DVI, VGA, 1920 x1080, 1000:1, 5ms, 400cd/m²) through a HDMI to Mini port adaptor.
    Now, the problem is the monitor flicks off, then on, at first I thought it was just randomly, but today I isolated the problem to something specific that make it happen. When I open the preference panel, and click on 'Trackpad' as soon as the video demo starts to play the monitor switches off then on.
    It's totally weird, what on earth could be causing this? Any ideas?

    ok well i have no idea what happened. i started out again with a fresh installation of JBoss, and it worked. no clue as to what was wrong. musta been some JAR that was out of place or something.
    thank you for your help!

  • Weird display problem with iMac 24"

    Hi guys, I have a very weird problem with my 24" iMac. For some reason it seems that after approx. 10 minutes using the Mac, whenever I keep a window on top of another window and then I minimize it, it keeps there like a ghost for another 5-10 seconds until it fades away slowly slowly.
    Sometimes it's hard to see it however it's very evident when using a white window (such as Safari) on a dark background (not black).
    I'm attaching an image split into 2 parts, the 2nd part is shot exactly after I minimised the browser. It clearly shows a faded ghost image on the grey Photoshop canvas.
    Here's the pic:
    http://www.neilazzopardi.com/imac.jpg
    Has anyone ever experienced a problem similar to mine? or am I getting paranoid?
    By the way, I bought this Mac, 5 months ago and I don't know whether this problem has been there from the beginning but I only noticed recently while cropping in Photoshop and still seeing the parts I removed away very faded.

    den.thed it's not that I took it the wrong way or anything but shouldn't I be doing whatever I like with my iMac?
    For the record that is a dark grey Photoshop canvas, which just happens to show the problem much more evidently.
    The problem is that it happens on any background (even desktop) with any window, even Adium etc. Their ghost just stays there for a while... I use the iMac for design purposes and it's very annoying especially when cropping a picture and what I just cut out stays there very faded...

Maybe you are looking for

  • Idoc status is in 12, but it does not reached to Target.

    Hello Experts,                    We are facing a problem with outbound Idoc. The problem details are as below. We have generated an Idoc(Without message Control) and dispatched it  to external vendor. Idoc status is 12, when we check it in midleware

  • Accessing data at different levels in a chain of InputStream types

    Hi, I have a requirement to see both the pre- and post- filtered/processed InputStream data read through a chain of input streams. I?m assuming this is a fairly common requirement, and I have come up with a solution that works, but wanted to see if a

  • NF520T-C35 compatible with GTX460 video cards?

    Hello, to cut it short - I have problems installing Msi Cyclone GTX460 768MB/OC on this mobo. Until now I had Asus 9800GT which worked flawlesly. Preparation is done as usual (cleaning old drivers), vga in case, login to windows (XP Home, SP3), insta

  • Check Writer is failed with HR_6990_HRPROC_CHQ_SRW2_FAILED

    Failed with HR_6990_HRPROC_CHQ_SRW2_FAILED APP-PAY-06990: Report Writer report failed with an error Cause: The report failed to complete and returned an error condition. Action: Check the report logfile in PAY_TOP/APPLOUT/xx.lg for reason for the fai

  • Please provide a download link for elements 8 for mac osx 10.4

    Please post a download link for photoshop elements 8.  We have the media on DVD, and the license, but are unable to access the DVD and would like to download it, and then register our license. Thanks.