Strange behaviour in PL/SQL package - known bug or feature?

On 10g (10.1.0.2.0/win32) we have some packages who behaves different than on 9i and 8.1.7. The problem is about a call to a procedure who clears a package record. The behaviour is strange because the result is wrong depending on the datatype of the elements in the record. The following example illustrates the problem:
create or replace package p as
type vc_type is record(f varchar2(10));
type nl_type is record(f number(10));
type nu_type is record(f number);
vc_rec vc_type;
nl_rec nl_type;
nu_rec nu_type;
procedure vc;
procedure nl;
procedure nu;
end p;
sho err
create or replace package body p as
procedure clr is
begin
vc_rec := null;
nl_rec := null;
nu_rec := null;
end clr;
procedure vc is
w vc_rec.f%type;
begin
vc_rec.f := '5';
w := vc_rec.f;
dbms_output.put_line('vc, before clr. w: '||w||', vc_rec.f: '||vc_rec.f);
p.clr;
dbms_output.put_line('vc, after clr. w: '||w||', vc_rec.f: '||vc_rec.f);
dbms_output.put_line('Expected: w = 5 and vc_rec.f = null');
end vc;
procedure nl is
w nl_rec.f%type;
begin
nl_rec.f := 5;
w := nl_rec.f;
dbms_output.put_line('nl, before clr. w: '||w||', nl_rec.f: '||nl_rec.f);
p.clr;
dbms_output.put_line('nl, after clr. w: '||w||', nl_rec.f: '||nl_rec.f);
dbms_output.put_line('Expected: w = 5 and nl_rec.f = null');
end nl;
procedure nu is
w nu_rec.f%type;
begin
nu_rec.f := 5;
w := nu_rec.f;
dbms_output.put_line('nu, before clr. w: '||w||', nu_rec.f: '||nu_rec.f);
p.clr;
dbms_output.put_line('nu, after clr. w: '||w||', nu_rec.f: '||nu_rec.f);
dbms_output.put_line('Expected: w = 5 and nu_rec.f = null');
end nu;
end p;
sho err
set serveroutput on size 1000000
exec p.vc
exec p.nl
exec p.nu
The output on my database is:
vc, before clr. w: 5, vc_rec.f: 5
vc, after clr. w: 5, vc_rec.f:
Expected: w = 5 and vc_rec.f = null
nl, before clr. w: 5, nl_rec.f: 5
nl, after clr. w: , nl_rec.f:
Expected: w = 5 and nl_rec.f = null
nu, before clr. w: 5, nu_rec.f: 5
nu, after clr. w: 5, nu_rec.f: 5
Expected: w = 5 and nu_rec.f = null
Whats going on here? Can anyone help?

Looks like a bug to me. I reproduced the results in 10.1.0.3.0 (linux) as well. Obviously you should check on Metalink and log a TAR if you don't find it.

Similar Messages

  • Strange behaviour (bug?) of 3D widget on iPad2

    Hi,
    I've just encoutered very strange behaviour when playing around with 3d widget.
    Here's what I'm doing:
    Created new project from basic template,
    On section page removed everything and placed two simple 3d objects (~7000 faces each no textures) and removed title, description, background etc from them, both was set to autorotate.
    Send to my iPad using preview button.
    What's happening:
    When page with 3d objects opens one of them behaves as expected (autorotate), but other is either unresponsive for a very long time (few minutes) or you have to pinch it to full screen to be able to interact with it, however when you close full screen mode every thing gets normal and you can play with both objects at once.
    It looks like a bug to me, but maybe someone else could try to reproduce this behaviour to rule out configuration factors.
    Do you know when I could fill bug report?
    Best regards,
    Jacob

    While there is no formal bug reporting method similar to what devs have w/apps, iBA does have a 'Provide iBooks Author Feedback' menu item.
    As well, confirm your 3d related process here:
    iBooks Author: Best practices for using 3D models - Support - Apple

  • Strange behaviour on text insert into a HTML pane

    Hi all,
    I am trying to fix a problem on inserting a span tag into an existing html page (in an EDITABLE JEditorPane).
    The behaviour:
    Assuming the cells in a table (3 rows, 2 columns) are numbered from 1 to 6, with cell one being the top left most, cell 2 top right, cell 3 middle left, etc.
    1. Inserting the text "<span></span>" in cell 4 causes during any attempt to later type into cell 5 the characters to be appended instead into cell 4, directly after the close span tag.
    2. The insertion in the first place behaves strange. If I have the caret positioned for cell 5 so that I can insert there
    (via the function void javax.swing.text.html.HTMLEditorKit.insertHTML(HTML Document doc, int offset, String html, int popDepth, int pushDepth, Tag insertTag) )
    even though the caret position is visible in cell 5, the insertion seems to take place in cell 4.
    I can sort of compensate for this by adding 1 to the offset. However, then when inserting into a line of text, for example, "the quick red fox jumped over the lazy dog"
    I insert directly before the 'j' in 'jumped', the insertion looks like this "the quick red fox j<span>..</span>umped over the lazy dog"
    So that is no solution.
    IMPORTANT! Just to prove it is not the span tag causing the trouble, if this span tag already exists in a cell on 'Load' of the html file, the strange behaviour is not observed.
    Something is going wrong here. It is me? Or is it a bug?
    Please help!!
    Here is a test app, and the test html you can use (place in current directory).
    Please test like this:
    1. run application (the html should be loaded into the pane)
    2. the span tag is programmed to automatically insert at cell 4 (by using the +1 method on the insert)
    3. another span tag was already existing in the html file, at cell 8
    4. Attempt to type into cell 5
    result: the text appears instead at cell 4
    5. Type into cell 9
    result: the text correctly is entered into cell 9
    See the difference!!
    Help!
    The test java app:
    package small.test;
    import java.awt.BorderLayout;
    import java.awt.Container;
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.StringReader;
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import javax.swing.text.JTextComponent;
    import javax.swing.text.html.HTML;
    import javax.swing.text.html.HTMLDocument;
    import javax.swing.text.html.HTMLEditorKit;
    import javax.swing.text.html.parser.ParserDelegator;
    public class HtmlInsertTest extends JEditorPane
         public HtmlInsertTest()
         public static void main(String args[])
              JFrame frame = new JFrame("Loading/Saving Example");
              Container content = frame.getContentPane();
              frame.setSize(600, 600);
              final HtmlInsertTest editorPane = new HtmlInsertTest();
              editorPane.setEditable(true);
              JScrollPane scrollPane = new JScrollPane(editorPane);
              content.add(scrollPane, BorderLayout.CENTER);
              editorPane.setEditorKit(new HTMLEditorKit());
              JPanel panel = new JPanel();
              content.add(panel, BorderLayout.SOUTH);
              frame.setSize(600, 600);
              doLoadCommand(editorPane);
              editorPane.insertHTML("<span>inserted text</span>", 84);
              frame.setVisible(true);
         public static String getHTML()
              return
              "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">"+
              "<HTML>"+     "<HEAD>"+
              "     <META HTTP-EQUIV=\"CONTENT-TYPE\" CONTENT=\"text/html; charset=utf-8\">"+
              "     <TITLE></TITLE>"+          
              "</HEAD>"+
              "<BODY LANG=\"en-AU\" DIR=\"LTR\">"+
              "<P STYLE=\"margin-bottom: 0cm\">This is a test xhtml document. "+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">Here is a table:</P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     <p></p>"+
               "     <TABLE WIDTH=100% BORDER=1 BORDERCOLOR=\"#000000\" CELLPADDING=4 CELLSPACING=0>"+
         "          <TR VALIGN=TOP>"+
         "               <TD WIDTH=50%>"+
         "                    <P>It has</P>"+
         "               </TD>"+
         "               <TD WIDTH=50%>"+
         "                    <P>2 columns</P>"+
         "               </TD>"+
         "          </TR>"+
         "          <TR VALIGN=TOP>"+
         "               <TD WIDTH=50%><P>And 4 rows</P></TD>"+
         "               <TD WIDTH=50%><P></P></TD>"+
         "          </TR>"+
         "          <TR VALIGN=TOP>"+
         "               <TD WIDTH=50%><P></P></TD>"+
         "               <TD WIDTH=50%><P></P></TD>"+
         "          </TR>"+
         "          <TR VALIGN=TOP>"+
         "               <TD WIDTH=50%><P></P></TD>"+
         "               <TD WIDTH=50%><P><span>existing text</span></P></TD>"+
         "          </TR>"+
         "          <TR VALIGN=TOP>"+
         "               <TD WIDTH=50%><P></P></TD>"+
         "               <TD WIDTH=50%><P></P></TD>"+
         "          </TR>"+
         "     </TABLE>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">We will test the drag and drop"+
         "     functionality with this document. "+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">It will be loaded with the hlml editor.</P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     <P STYLE=\"margin-bottom: 0cm\">"+
         "     </P>"+
         "     </BODY>"+
         "     </HTML>";
         public static void doLoadCommand(JTextComponent textComponent)
              StringReader reader = null;
              try
                   System.out.println("Loading");
                   reader = new StringReader(getHTML());
                   // Create empty HTMLDocument to read into
                   HTMLEditorKit htmlKit = new HTMLEditorKit();
                   HTMLDocument htmlDoc = (HTMLDocument)htmlKit.createDefaultDocument();
                   // Create parser (javax.swing.text.html.parser.ParserDelegator)
                   HTMLEditorKit.Parser parser = new ParserDelegator();
                   // Get parser callback from document
                   HTMLEditorKit.ParserCallback callback = htmlDoc.getReader(0);
                   // Load it (true means to ignore character set)
                   parser.parse(reader, callback, true);
                   // Replace document
                   textComponent.setDocument(htmlDoc);
                   System.out.println("Loaded");
              catch (Exception exception)
                   System.out.println("Load oops");
                   exception.printStackTrace();
              finally
                   if (reader != null)
                        reader.close();
         public void insertHTML(String text, int offset)
              SwingUtilities.invokeLater(new insertAction(this, text, offset));
         class insertAction implements Runnable
              String text = "";
              int offset = 0;
              JEditorPane jEditorPane1 = null;
              public insertAction(JEditorPane _jEditorPane1, String _text, int _offset)
                   jEditorPane1 = _jEditorPane1;
                   text = _text;
                   offset = _offset;
              @Override
              public void run()
                   HTMLDocument doc = (HTMLDocument)jEditorPane1.getDocument();
                   HTMLEditorKit kit = (HTMLEditorKit)jEditorPane1.getEditorKit();
                   try
                        System.out.println("reading from string reader");
                        kit.insertHTML(     doc,
                                          offset,//+1
                                          text,
                                          0,//0
                                          0,//0
                                          HTML.Tag.SPAN);
                        System.out.println(jEditorPane1.getText());
                   catch (Exception e)
                        System.out.println("error inserting html: " + e);
    }Edited by: svaens on Jul 16, 2009 6:34 PM
    fix another stuffed up attempt at a SSCCE.

    Well, I know nothing about HTML in JEditorPanes. I have never been able to figure out how insertions work.
    My comment was a warning to others. Some people (like me) avoid answering posting of this type for reasons given in the JavaRanch link. Others will answer anyway. Other might first check the other site to see if they are wasting there time, but they can only do that if a link was posted with the original question.
    The only suggestion I have is to repost the question, (since this posting is now completely off topic) making sure to then respond to this posting stating that a fresh question has been asked so you don't get a discussion going on in two places.

  • [SOLVED] French Canadian keyboard strange behaviour

    Hello!
    I just upgraded to Gnome 2.30 in [testing] and my keyboard has a strange behaviour. With Gnome 2.28, my keyboard layout was set to Canadian French (legacy), and still is, though some of the keys do not behave the same. For instance, the accents "`", "¸" and ^ do not behave as usual, but rather give me some letter with that accent on it, rather than letting me choose the letter on which put the accent.
    Moreover, the SHIFT+3 combination gives me a # instead of a /, but not in all software. Google Chrome has the good behaviour, but gnome-terminal gives me a #.
    Do you understand any of this?
    I'll post the packages I have upgraded.
    [2010-04-05 01:09] upgraded openssl (0.9.8n-1 -> 1.0.0-2)
    [2010-04-05 01:09] upgraded python (2.6.5-2 -> 2.6.5-3)
    [2010-04-05 01:09] upgraded pygobject (2.20.0-1 -> 2.21.1-1)
    [2010-04-05 01:09] upgraded pygtk (2.16.0-2 -> 2.17.0-1)
    [2010-04-05 01:09] upgraded gnome-menus (2.28.0.1-1 -> 2.30.0-1)
    [2010-04-05 01:09] upgraded libsoup (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:09] upgraded libldap (2.4.21-1 -> 2.4.21-2)
    [2010-04-05 01:09] upgraded libidl2 (0.8.13-1 -> 0.8.14-1)
    [2010-04-05 01:09] upgraded orbit2 (2.14.17-1 -> 2.14.18-1)
    [2010-04-05 01:09] upgraded gconf (2.28.0-1 -> 2.28.1-1)
    [2010-04-05 01:09] upgraded gnome-keyring (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:09] upgraded heimdal (1.3.1-3 -> 1.3.2-1)
    [2010-04-05 01:09] upgraded libsoup-gnome (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:10] upgraded gnome-icon-theme (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:10] upgraded libgweather (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:10] upgraded evolution-data-server (2.28.3.1-1 -> 2.30.0-2)
    [2010-04-05 01:10] upgraded gnome-desktop (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:10] upgraded libwnck (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:10] upgraded libunique (1.1.6-1 -> 1.1.6-2)
    [2010-04-05 01:10] upgraded gnome-disk-utility (2.28.1-1 -> 2.30.1-1)
    [2010-04-05 01:11] upgraded libarchive (2.8.3-1 -> 2.8.3-3)
    [2010-04-05 01:11] upgraded smbclient (3.5.1-1 -> 3.5.1-2)
    [2010-04-05 01:11] upgraded gvfs (1.4.3-1 -> 1.6.0-1)
    [2010-04-05 01:11] upgraded gnome-vfs (2.24.2-2 -> 2.24.3-2)
    [2010-04-05 01:11] upgraded libbonobo (2.24.2-1 -> 2.24.3-1)
    [2010-04-05 01:11] upgraded libgnome (2.28.0-2 -> 2.30.0-1)
    [2010-04-05 01:11] upgraded libart-lgpl (2.3.20-1 -> 2.3.21-1)
    [2010-04-05 01:11] upgraded libgnomecanvas (2.26.0-1 -> 2.30.1-1)
    [2010-04-05 01:11] upgraded libbonoboui (2.24.2-1 -> 2.24.3-1)
    [2010-04-05 01:11] upgraded librsvg (2.26.0-2 -> 2.26.2-1)
    [2010-04-05 01:11] upgraded gnome-panel (2.28.0-2 -> 2.30.0-1)
    [2010-04-05 01:11] upgraded libgnomeui (2.24.2-1 -> 2.24.3-1)
    [2010-04-05 01:11] upgraded gnome-python (2.28.0-1 -> 2.28.1-1)
    [2010-04-05 01:11] upgraded alacarte (0.12.4-2 -> 0.13.1-1)
    [2010-04-05 01:11] upgraded apache (2.2.15-1 -> 2.2.15-2)
    [2010-04-05 01:11] upgraded at-spi (1.28.1-1 -> 1.30.0-1)
    [2010-04-05 01:11] upgraded totem-plparser (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:12] upgraded brasero (2.28.3-2 -> 2.30.0-1)
    [2010-04-05 01:12] upgraded icu (4.2.1-1 -> 4.4-1)
    [2010-04-05 01:12] upgraded brltty (4.1-2 -> 4.1-3)
    [2010-04-05 01:12] upgraded libgtop (2.28.0-1 -> 2.28.1-1)
    [2010-04-05 01:12] upgraded bug-buddy (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:12] upgraded cheese (2.28.1-1 -> 2.30.0-1)
    [2010-04-05 01:12] upgraded clutter (1.0.10-1 -> 1.2.4-1)
    [2010-04-05 01:12] upgraded clutter-gtk (0.10.2-1 -> 0.10.2-2)
    [2010-04-05 01:12] upgraded libxklavier (4.0-1 -> 5.0-1)
    [2010-04-05 01:12] upgraded libgnomekbd (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:12] upgraded gnome-settings-daemon (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:12] upgraded zenity (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:13] upgraded metacity (2.28.1-1 -> 2.30.0-2)
    [2010-04-05 01:13] upgraded gnome-control-center (2.28.1-1 -> 2.30.0-1)
    [2010-04-05 01:13] upgraded compiz-decorator-gtk (0.8.4-2 -> 0.8.4-3)
    [2010-04-05 01:13] upgraded libcups (1.4.2-5 -> 1.4.3-2)
    [2010-04-05 01:13] upgraded openslp (1.2.1-2 -> 1.2.1-3)
    [2010-04-05 01:13] upgraded cups (1.4.2-5 -> 1.4.3-2)
    [2010-04-05 01:13] upgraded curl (7.20.0-1 -> 7.20.0-2)
    [2010-04-05 01:13] upgraded cvs (1.11.23-4 -> 1.11.23-5)
    [2010-04-05 01:13] upgraded postgresql-libs (8.4.3-1 -> 8.4.3-2)
    [2010-04-05 01:13] upgraded cyrus-sasl-plugins (2.1.23-1 -> 2.1.23-2)
    [2010-04-05 01:13] upgraded cyrus-sasl (2.1.23-3 -> 2.1.23-4)
    [2010-04-05 01:13] upgraded dbus-python (0.83.0-2.1 -> 0.83.1-1)
    [2010-04-05 01:13] upgraded gnome-python-desktop (2.28.0-3 -> 2.30.0-1)
    [2010-04-05 01:13] upgraded deskbar-applet (2.28.0-3 -> 2.30.0-1)
    [2010-04-05 01:13] upgraded dnsutils (9.6.1-2 -> 9.6.1-3)
    [2010-04-05 01:14] upgraded eog (2.28.2-2 -> 2.30.0-1)
    [2010-04-05 01:14] upgraded libwebkit (1.1.15.4-3 -> 1.1.90-2)
    [2010-04-05 01:14] upgraded gobject-introspection (0.6.6-1 -> 0.6.9-1)
    [2010-04-05 01:14] upgraded epiphany (2.28.2-2 -> 2.30.0-1)
    [2010-04-05 01:14] upgraded evince (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:14] upgraded gtkhtml (3.28.3-1 -> 3.30.0-1)
    [2010-04-05 01:14] upgraded evolution-exchange (2.28.3-1 -> 2.30.0-2)
    [2010-04-05 01:14] upgraded evolution-webcal (2.28.0-1 -> 2.28.1-1)
    [2010-04-05 01:14] upgraded file-roller (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:15] upgraded gcalctool (5.28.2-1 -> 5.30.0-1)
    [2010-04-05 01:15] upgraded gconf-editor (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:15] upgraded gnome-session (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:15] upgraded gdm (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:15] upgraded gtksourceview2 (2.8.2-1 -> 2.10.0-1)
    [2010-04-05 01:15] upgraded pygtksourceview2 (2.8.0-1 -> 2.10.0-1)
    [2010-04-05 01:15] upgraded gedit (2.28.3-1 -> 2.30.0-1)
    [2010-04-05 01:15] upgraded git (1.7.0.3-1 -> 1.7.0.4-1)
    [2010-04-05 01:15] upgraded libsigc++2.0 (2.2.4.2-1 -> 2.2.5-1)
    [2010-04-05 01:15] upgraded glibmm (2.22.1-1 -> 2.24.0-1)
    [2010-04-05 01:15] upgraded gucharmap (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:16] upgraded gnome-applets (2.28.0-2 -> 2.30.0-1)
    [2010-04-05 01:16] upgraded gnome-backgrounds (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:16] upgraded gnome-bluetooth (2.28.6-1 -> 2.30.0-1)
    [2010-04-05 01:16] upgraded vte (0.22.5-1 -> 0.24.0-2)
    [2010-04-05 01:16] upgraded gnome-desktop-sharp (2.26.0-3 -> 2.26.0-5)
    [2010-04-05 01:16] upgraded gnome-doc-utils (0.18.1-1 -> 0.20.0-1)
    [2010-04-05 01:17] upgraded gnome-games (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:17] upgraded gnome-games-extra-data (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:17] upgraded gnome-mag (0.15.9-1 -> 0.16.1-1)
    [2010-04-05 01:17] upgraded gnome-media (2.28.5-1 -> 2.30.0-2)
    [2010-04-05 01:17] upgraded gnome-netstatus (2.28.0-1 -> 2.28.1-1)
    [2010-04-05 01:17] upgraded gnome-nettool (2.28.0-1 -> 2.30.0-1)
    [2010-04-05 01:17] upgraded gnome-power-manager (2.28.3-1 -> 2.30.0-1)
    [2010-04-05 01:17] upgraded gnome-screensaver (2.28.3-1 -> 2.30.0-1)
    [2010-04-05 01:17] upgraded gtkmm (2.18.2-1 -> 2.20.0-1)
    [2010-04-05 01:17] upgraded gnome-system-monitor (2.28.0-1 -> 2.28.1-1)
    [2010-04-05 01:18] upgraded system-tools-backends (2.8.3-1 -> 2.10.0-1)
    [2010-04-05 01:18] upgraded liboobs (2.22.2-1 -> 2.30.0-1)
    [2010-04-05 01:18] upgraded nautilus (2.28.4-1 -> 2.30.0-1)
    [2010-04-05 01:18] upgraded gnome-system-tools (2.28.2-1 -> 2.30.0-2)
    [2010-04-05 01:18] upgraded gnome-terminal (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:18] upgraded gtk-engines (2.18.5-1 -> 2.20.0-1)
    [2010-04-05 01:18] upgraded gnome-themes (2.28.1-1 -> 2.30.0-1)
    [2010-04-05 01:18] upgraded gnome-user-share (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:18] upgraded gnome-utils (2.28.3-1 -> 2.30.0-1)
    [2010-04-05 01:19] upgraded xulrunner (1.9.2.2-2 -> 1.9.2.3-1)
    [2010-04-05 01:19] upgraded yelp (2.28.1-2 -> 2.30.0-1)
    [2010-04-05 01:19] upgraded gnome2-user-docs (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:19] upgraded gok (2.28.1-1 -> 2.30.0-1)
    [2010-04-05 01:19] upgraded grep (2.6.2-1 -> 2.6.3-1)
    [2010-04-05 01:19] upgraded gstreamer0.10-bad (0.10.18-2 -> 0.10.18-3)
    [2010-04-05 01:19] upgraded neon (0.28.6-2 -> 0.28.6-4)
    [2010-04-05 01:19] upgraded gstreamer0.10-bad-plugins (0.10.18-2 -> 0.10.18-3)
    [2010-04-05 01:19] upgraded hamster-applet (2.28.2-1 -> 2.30.0.1-1)
    [2010-04-05 01:19] upgraded net-snmp (5.5-2 -> 5.5-3)
    [2010-04-05 01:19] upgraded hplip (3.9.12-5 -> 3.10.2-1)
    [2010-04-05 01:20] upgraded imap (2007e-1 -> 2007e-2)
    [2010-04-05 01:20] upgraded jre (6u18-2 -> 6u19-2)
    [2010-04-05 01:21] upgraded kdebase-workspace (4.4.2-1 -> 4.4.2-2)
    [2010-04-05 01:21] upgraded kernel26-firmware (2.6.33.1-1 -> 2.6.33.2-1)
    [2010-04-05 01:24] upgraded kernel26 (2.6.33.1-1 -> 2.6.33.2-1)
    [2010-04-05 01:24] upgraded kernel26-headers (2.6.33.1-1 -> 2.6.33.2-1)
    [2010-04-05 01:24] upgraded lib32-glib2 (2.22.5-1 -> 2.24.0-1)
    [2010-04-05 01:24] upgraded lib32-atk (1.28.0-1 -> 1.30.0-1)
    [2010-04-05 01:24] upgraded lib32-e2fsprogs (1.41.10-1 -> 1.41.11-1)
    [2010-04-05 01:24] upgraded lib32-openssl (0.9.8n-1 -> 1.0.0-2)
    [2010-04-05 01:24] upgraded lib32-heimdal (1.3.1-3 -> 1.3.2-1)
    [2010-04-05 01:24] upgraded lib32-libcups (1.4.2-5 -> 1.4.3-2)
    [2010-04-05 01:24] upgraded lib32-pango (1.26.2-1 -> 1.28.0-1)
    [2010-04-05 01:24] upgraded lib32-gtk2 (2.18.9-2 -> 2.20.0-2)
    [2010-04-05 01:24] upgraded lib32-libgl (7.7-1 -> 7.7.1-0.1)
    [2010-04-05 01:24] upgraded lib32-libxml2 (2.7.6-2 -> 2.7.7-1)
    [2010-04-05 01:24] upgraded lib32-mesa (7.7-1 -> 7.7.1-0.1)
    [2010-04-05 01:24] upgraded lib32-qt (4.6.2-2 -> 4.6.2-3)
    [2010-04-05 01:24] upgraded libepc (0.3.10-1 -> 0.3.11-1)
    [2010-04-05 01:24] upgraded libfetch (2.30-1 -> 2.30-3)
    [2010-04-05 01:24] upgraded libgail-gnome (1.20.1-1 -> 1.20.2-1)
    [2010-04-05 01:24] upgraded libgdata (0.4.0-1 -> 0.6.4-1)
    [2010-04-05 01:24] upgraded libgnomecups (0.2.3-6 -> 0.2.3-7)
    [2010-04-05 01:24] upgraded libgnomeprint (2.18.6-2 -> 2.18.7-2)
    [2010-04-05 01:24] upgraded libgnomeprintui (2.18.4-1 -> 2.18.5-1)
    [2010-04-05 01:24] upgraded librpcsecgss (0.19-2 -> 0.19-3)
    [2010-04-05 01:24] upgraded libssh (0.4.1-1 -> 0.4.1-3)
    [2010-04-05 01:25] upgraded libxml++ (2.26.0-1 -> 2.30.0-1)
    [2010-04-05 01:25] upgraded links (2.2-3 -> 2.2-4)
    [2010-04-05 01:25] upgraded lynx (2.8.7-1 -> 2.8.7-2)
    [2010-04-05 01:25] upgraded sbcl (1.0.35-1 -> 1.0.37-1)
    [2010-04-05 01:25] upgraded maxima (5.20.1-2 -> 5.20.1-3)
    [2010-04-05 01:25] upgraded mercurial (1.5-1 -> 1.5.1-1)
    [2010-04-05 01:26] upgraded miro (2.5.4-4 -> 3.0-1)
    [2010-04-05 01:26] upgraded mousetweaks (2.28.2-1 -> 2.30.0-1)
    [2010-04-05 01:26] upgraded nasm (2.07-1 -> 2.08.01-1)
    [2010-04-05 01:26] upgraded nautilus-actions (1.12.2-1 -> 2.30.0-1)
    [2010-04-05 01:26] upgraded nautilus-open-terminal (0.18-1 -> 0.18-2)
    [2010-04-05 01:26] upgraded nautilus-sendto (2.28.2-1 -> 2.28.4-1)
    [2010-04-05 01:26] upgraded samba (3.5.1-1 -> 3.5.1-2)
    [2010-04-05 01:26] upgraded nautilus-share (0.7.2-4 -> 0.7.2-5)
    [2010-04-05 01:26] upgraded network-manager-applet (0.8-2 -> 0.8-3)
    [2010-04-05 01:26] upgraded nfs-utils (1.2.2-1 -> 1.2.2-2)
    [2010-04-05 01:26] upgraded nmap (5.21-1 -> 5.21-2)
    [2010-04-05 01:26] upgraded ptlib (2.6.5-1 -> 2.6.5-2)
    [2010-04-05 01:27] upgraded opal (3.6.6-1 -> 3.6.6-2)
    [2010-04-05 01:27] upgraded openntpd (3.9p1-10 -> 3.9p1-11)
    [2010-04-05 01:28] upgraded openoffice-base (3.2.0-1 -> 3.2.0-3)
    [2010-04-05 01:28] upgraded openssh (5.4p1-3 -> 5.4p1-4)
    [2010-04-05 01:28] upgraded openvpn (2.1.1-1 -> 2.1.1-2)
    [2010-04-05 01:28] upgraded orca (2.28.3-1 -> 2.30.0-1)
    [2010-04-05 01:28] upgraded perl-crypt-ssleay (0.57-3 -> 0.57-4)
    [2010-04-05 01:28] upgraded perl-uri (1.52-1 -> 1.54-1)
    [2010-04-05 01:28] upgraded php (5.3.2-4 -> 5.3.2-6)
    [2010-04-05 01:28] upgraded php-apache (5.3.2-4 -> 5.3.2-6)
    [2010-04-05 01:28] upgraded pixman (0.16.6-1 -> 0.18.0-1)
    [2010-04-05 01:28] upgraded postfix (2.7.0-1 -> 2.7.0-2)
    [2010-04-05 01:28] upgraded qt (4.6.2-2 -> 4.6.2-3)
    [2010-04-05 01:28] upgraded qtscriptgenerator (0.1.0-3 -> 0.1.0-4)
    [2010-04-05 01:29] upgraded rhythmbox (0.12.7-1 -> 0.12.8-1)
    [2010-04-05 01:29] upgraded ruby (1.9.1_p378-1 -> 1.9.1_p378-2)
    [2010-04-05 01:29] upgraded seahorse (2.28.1-1 -> 2.30.0-1)
    [2010-04-05 01:29] upgraded seahorse-plugins (2.28.1-1 -> 2.30.0-1)
    [2010-04-05 01:29] upgraded sound-juicer (2.28.1-2 -> 2.28.2-1)
    [2010-04-05 01:29] upgraded subversion (1.6.9-2 -> 1.6.9-4)
    [2010-04-05 01:29] upgraded syslog-ng (3.0.4-3 -> 3.0.4-4)
    [2010-04-05 01:29] upgraded telepathy-glib (0.10.1-1 -> 0.10.2-1)
    [2010-04-05 01:29] upgraded tomboy (1.1.0-1 -> 1.2.0-2)
    [2010-04-05 01:29] upgraded totem (2.28.5-2 -> 2.30.0-1)
    [2010-04-05 01:29] upgraded transmission-gtk (1.92-1 -> 1.92-2)
    [2010-04-05 01:30] upgraded vala (0.7.10-1 -> 0.8.0-1)
    [2010-04-05 01:30] upgraded vinagre (2.28.1-2 -> 2.30.0-1)
    [2010-04-05 01:30] upgraded vino (2.28.1-3 -> 2.28.2-1)
    [2010-04-05 01:30] upgraded virtuoso (6.1.0-1 -> 6.1.0-2)
    [2010-04-05 01:30] upgraded wget (1.12-1 -> 1.12-2)
    [2010-04-05 01:30] upgraded wpa_supplicant (0.6.10-1 -> 0.6.10-2)
    [2010-04-05 01:30] upgraded xorg-server (1.7.6-2 -> 1.7.6-3)
    [2010-04-05 01:30] upgraded xorg-xinit (1.2.0-1 -> 1.2.1-1)
    [2010-04-05 01:30] upgraded xterm (255-1 -> 256-1)
    [2010-04-05 09:21] upgraded fofix-svn (1991-1 -> 2038-1)
    [2010-04-05 12:31] upgraded gloobus-preview-bzr (212-1 -> 214-1)
    Last edited by valandil (2010-04-06 16:52:28)

    Problem solved!
    I remembered I once configured my keyboard with HAL and /etc/hal/fdi/policy/10-keymap.fdi was set to xkb.layout=ca and xkd.variant=fr. I changed the GDM layout to Canada and removed the xkb.variant=fr from the .fdi file and everything was fixed!

  • Performance of PL/SQL-packages under Oracle 11gR2

    Under Oracle 9i I have used PL/SQL-packages/procedures to perform complicated initializations of the tables of a database schema.
    This was always a long job ... but an execution time of about 4 hours was acceptable!
    Now I changed to Oracle 11g.
    And now there is the following behaviour:
    When I create a NEW instance of the database and then create the schema the execution time ( using the same PL/SQL-packages as in Oracle 9i ) is more than 12 hours which is not acceptable anymore!
    When I only drop the schema ( in the EXISTING instance ) with a drop user (owner of the schema) cascading and then create the schema again the execution time for the same initialization is less than 3 hours which is OK.
    Does anyone have an idea about the reason for such a 'strange' behaviour?
    ... Or does anyone have a hint where I could look for such reasons?

    Hi,
    did you compare the execution plan in 9i and 11g R2?
    when you go to 11gR2, did you keep the statistic of the 9i, so if any regression, 11g can use 9i plan?
    thanks

  • Strange behaviour when using connection pooling with proxy authentication

    All
    I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
    I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
    * User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
    * User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
    Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
    Regards,
    Chris

    Hi Chris,
    I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
    Cheers
    Greg

  • Strange behaviour when running parameterized test

    Hello,
    I am using Flex 4.5 and FlexUnit 4.1 inside of the Flashdevelop IDE and I am experiencing some very strange behaviour.
    If I have 5 parameters to my test the test runs fine. When I add a sixth parameter of the type Array, I get the following error:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    Please see below for my example code.
    The following parameterized test case runs without a problem:
    package {
        import org.flexunit.runners.Parameterized;
        [RunWith('org.flexunit.runners.Parameterized')]
        public class ParameterizedTest {
            [Parameters]
            public static var testData:Array = [
                [1,1,new Array(),1,1]
            public function ParameterizedTest(
                param1:uint,
                param2:uint,
                param3:Array,
                param4:uint,
                param5:uint
            ):void {
            [Test]
            public function testOne():void {
                // Test to go here.
    When I add an Array as the sixth parameter :
    package {
        import org.flexunit.runners.Parameterized;
        [RunWith('org.flexunit.runners.Parameterized')]
        public class ParameterizedTest {
            [Parameters]
            public static var testData:Array = [
                [1,1,new Array(),1,1,new Array()]
            public function ParameterizedTest(
                param1:uint,
                param2:uint,
                param3:Array,
                param4:uint,
                param5:uint,
                param6:Array
            ):void {
            [Test]
            public function testOne():void {
                // Test to go here.
    I get this error :
    com.berog.proj_drum_machine.tests.matrix_test_suite.test_cases::MatrixConstructorTest.test One (1,1,,1,1,) .
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at flex.lang.reflect::Constructor/newInstanceApply()[E:\hudson\jobs\FlexUnit4-Flex4.1\worksp ace\FlexUnit4\src\flex\lang\reflect\Constructor.as:253]
        at TestClassRunnerForParameters/createTest()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\Flex Unit4\src\org\flexunit\runners\Parameterized.as:455]
        at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock()[E:\hudson\jobs\FlexUnit4-Fl ex4.1\workspace\FlexUnit4\src\org\flexunit\runners\BlockFlexUnit4ClassRunner.as:314]
        at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()[E:\hudson\jobs\FlexUnit4-Flex4 .1\workspace\FlexUnit4\src\org\flexunit\runners\BlockFlexUnit4ClassRunner.as:152]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runners::Parameterized/runChild()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace \FlexUnit4\src\org\flexunit\runners\Parameterized.as:273]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runners::Suite/runChild()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUni t4\src\org\flexunit\runners\Suite.as:151]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runners::Suite/runChild()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUni t4\src\org\flexunit\runners\Suite.as:151]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()[E:\hudson\jobs\FlexUnit4-Flex4.1 \workspace\FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:348]
        at org.flexunit.runner::FlexUnitCore/runRunner()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\ FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:307]
        at org.flexunit.runner::FlexUnitCore/runRequest()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace \FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:283]
        at org.flexunit.runner::FlexUnitCore/runClasses()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace \FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:269]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at org.flexunit.runner::FlexUnitCore/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUn it4\src\org\flexunit\runner\FlexUnitCore.as:245]
        at com.berog.proj_drum_machine.tests::TestMain()[E:\Actionscript\projects\DrumMachine\src\co m\berog\proj_drum_machine\tests\TestMain.as:18]
    com.berog.proj_drum_machine.tests.matrix_test_suite.test_cases::MatrixConstructorTest.test One (1,1,,1,1,) E
    Time: 0.013
    There was 1 failure:
    1 com.berog.proj_drum_machine.tests.matrix_test_suite.test_cases::MatrixConstructorTest.tes tOne (1,1,,1,1,) TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at flex.lang.reflect::Constructor/newInstanceApply()[E:\hudson\jobs\FlexUnit4-Flex4.1\worksp ace\FlexUnit4\src\flex\lang\reflect\Constructor.as:253]
        at TestClassRunnerForParameters/createTest()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\Flex Unit4\src\org\flexunit\runners\Parameterized.as:455]
        at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock()[E:\hudson\jobs\FlexUnit4-Fl ex4.1\workspace\FlexUnit4\src\org\flexunit\runners\BlockFlexUnit4ClassRunner.as:314]
        at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()[E:\hudson\jobs\FlexUnit4-Flex4 .1\workspace\FlexUnit4\src\org\flexunit\runners\BlockFlexUnit4ClassRunner.as:152]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runners::Parameterized/runChild()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace \FlexUnit4\src\org\flexunit\runners\Parameterized.as:273]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runners::Suite/runChild()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUni t4\src\org\flexunit\runners\Suite.as:151]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runners::Suite/runChild()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUni t4\src\org\flexunit\runners\Suite.as:151]
        at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ChildRunnerSequencer.as: 82]
        at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\ statements\StatementSequencer.as:141]
        at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[E:\hudson\jobs\F lexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\Stateme ntSequencer.as:109]
        at org.flexunit.runners::ParentRunner/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexU nit4\src\org\flexunit\runners\ParentRunner.as:483]
        at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()[E:\hudson\jobs\FlexUnit4-Flex4.1 \workspace\FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:348]
        at org.flexunit.runner::FlexUnitCore/runRunner()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\ FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:307]
        at org.flexunit.runner::FlexUnitCore/runRequest()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace \FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:283]
        at org.flexunit.runner::FlexUnitCore/runClasses()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace \FlexUnit4\src\org\flexunit\runner\FlexUnitCore.as:269]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at org.flexunit.runner::FlexUnitCore/run()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUn it4\src\org\flexunit\runner\FlexUnitCore.as:245]
        at com.berog.proj_drum_machine.tests::TestMain()[E:\Actionscript\projects\DrumMachine\src\co m\berog\proj_drum_machine\tests\TestMain.as:18]
    FAILURES!!! Tests run: 1, 1 Failures:
    Can anyone help me?

    Actually, I do see what's wrong.
    When you call a method in the ActionScript universe, you can can usually do a function.apply() and pass it a variable number of args. Unfortunately, constructors are the one type of method where this doesn't work. You can't actually do an apply() so we have to fake it by having a map of static functions which each know how to apply a given number of arguments to the constructor. There is a check in the code that tests if the number of arguments you have exceeds what our static map knows how to apply.
    It looks like that check should have thrown the error:
    throw new ArgumentError("Sorry, we can't support constructors with more than " + argMap.length + " args out of the box... yes, its dumb, take a look at Constructor.as to modify on your own");
    It didn't and I am guessing its because there is a border condition here. So, what happening is that we only support up to 5 arguments right now. That number is arbitrary. When it was written it just seemed like a reasonable number, however, this class was written before Parameterized testing was introduced.
    Your three choices right now would be to use the TestNG style of Parameterized testing, which uses functions and not constructor args so it will not suffer this same fate, change the code and compile flexunit for yourself, or we could put a patched Constructor class in your project which fixes it. Longer term, I would like you to file a bug that we should increase the number to 10 or some other quasi-reasonable number. We will never be able to support an infinite number and we will always need to pick som arbitrary line in the sand. It just seems our line should be farther out.
    Mike

  • [solved] AMD Radeon - strange behaviour after mesa-update

    Good afternoon Ladies and Gentlemen,
    This is my first posting, I will try to give as much as detailed information refering to my problem as possible. Please be patient if I ask for solutions which for you all seem easy and logical, I am a Newbie.
    The details: I am running a HP Pavilion 17 " AMD Quadcore laptop, 8gb Ram, Arch Linux 32bit Kernel 3.17.1 XFCE desktop with an AMD Radeon graphic card for about a few weeks now. Everything went fine so far, but last Saturday I did an update via pacman-Syu, the update included a mesa package. All went smooth as ever. Then after a reboot the XFCE desktop had stripes across the laptop screen, the mouse cursor had disappeared, also letters of the icon descriptions and the menus were missing, some strange "hieroglyphics" appeared instead of them. I wasn't able to downgrade the mesa-package as I nearly wasn't able to open the terminal because of the missing mouse cursor, then I managed somehow to get into the terminal and gave in the commands but the writing was incomplete and/or did not work because of these strange and missing letters.
    No problem, I thought to myself, a fresh install will do the work, so I wipped my hard drive using Parted Magic, then I did a fresh Arch install (Netinstall), this time using LXDE instead of XFCE as my desktop environment. When I booted into the login screen first, it looked fine but after logging into the desktop all the stripes, the missing mouse cursor and the strange letters appeared again. So is there any solution to that strange behaviour ? Before the Saturday-update everything worked without any problems for weeks. BTW other OS work without these problems, I tried Macpup just for fun, no messing-up with my Radeon graphics card happened.
    Sorry for my piss poor English I am Austrian. Sorry for eventually causing any inconvenience asking this question. Regards, Fladi.
    Last edited by fladi (2014-11-04 05:01:28)

    fafik1234 wrote:
    I have the same problem, free drivers, xfce4, procesor AMD5350(Kabini), vga radeon R3 (8400)
    downgrade linux kernel to linux-3.16.4
    download: http://seblu.net/a/arm/packages/l/linux … pkg.tar.xz
    pacma -U linux-3.16.4-1-i686.pkg.tar.xz
    edit /etc/pacman.conf
    IgnorePkg   =  linux linux-headers
    screenshot
    linux 3.17 xfce http://pics.tinypic.pl/i/00592/ek3z3ip81ky2.png
    linux 3.17 compiz http://pics.tinypic.pl/i/00592/bddprwn4tey8.png
    linux 3.16 compiz http://pics.tinypic.pl/i/00592/ja5ma8c7rdgl.png
    On a laptop, free drivers, linux 3.17.1-pae, openbox, procesor core i5, vga integrated card - everything OK
    The screenshots you posted match exactly to my problem ! Are you really sure the bug is coming from Kernel 3.17 ? I had this kernel running for about a week without any problems, the problems came when updating mesa.

  • Strange behaviour in a select

    Hi experts,
    i'd like you help to understand a strange behaviour on a 10.2.0.4 db.
    i use a select instruction in a plsql cursor with a where condition like the following:
    select fields
    from table1, table2, table3
    where
    field1 = parameter 1 and
    field2 = parameter 2 and
    field3 = parameter 3 and
    function(field1, field2) = 0
    usually this instruction works without problems.
    Sometimes (i think depending on the parameter) it stucks.
    I have moved the last row of the where condition right after the where instruction:
    select fields
    from table1, table2, table3
    where
    function(field1, field2) = 0 and
    field1 = parameter 1 and
    field2 = parameter 2 and
    field3 = parameter 3
    and it works with the usual performances (with the parameters that does not work on the first select).
    The function returns quickly it's result regardless the parameter used.
    I've compared (by toad) the execuption plan of the two selects and they are the same.
    Could you please explain this behaviour ?
    i can leave on the package the release 2 select but i'm not sure it fixes the problem.
    I'd like to understand something more ?
    thanks in advance
    best regards
    Stefano

    You can verify that the predicates evaluation orders are different in the two queries looking at the "Predicate Information" that follows the execution plan:
    SQL> create function f(a number,b number) return number is
      2  begin
      3  return a+b;
      4  end;
      5  /
    Function created.
    SQL> select * from t;
                       A                    B
                       2                    5
                       3                    7
                       4                    5
                       3                    4
                       6                    6
                       5                    7
                       3                    8
                       5                    9
    8 rows selected.
    SQL> set autot on exp
    SQL> select /*+ ORDERED_PREDICATES */ *
      2    from t
      3  where f(a,b)=7
      4  and a=3
      5  and b=4;
                       A                    B
                       3                    4
    1 row selected.
    Execution Plan
    Plan hash value: 1601196873
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |    26 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| T    |     1 |    26 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("F"("A","B")=7 AND "A"=3 AND "B"=4)
    Note
       - dynamic sampling used for this statement
    SQL> select /*+ ORDERED_PREDICATES */ *
      2    from t
      3  where a=3
      4  and b=4
      5  and f(a,b)=7;
                       A                    B
                       3                    4
    1 row selected.
    Execution Plan
    Plan hash value: 1601196873
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |    26 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| T    |     1 |    26 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("A"=3 AND "B"=4 AND "F"("A","B")=7)
    Note
       - dynamic sampling used for this statementAs you can see, despite the two plans are identical, the predicate information row shows exacly the predicate evaluation order.
    If toad doesn't show predicate information (I don't use it) run your queries in sqlplus.
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/17/supporto-di-xml-schema-in-oracle-xmldb/]

  • Error when publishing a PL/SQL package as a Webservice

    Hi all,
    I am using the JDeveloper (10.1.3.1.0) to publish a PL/SQL package as a Webservice, and I am having some troubles on the generation process.
    The problem that I am facing is on the generated code for the database side, where some methods have a “$GET_” at the end of its name.
    This “$GET_” is handled by the database as a special word, and the package can’t be compiled.
    If the ‘$’ character is removed from all the methods, the package can be compiled and the Webservice works fine.
    What’s wrong? Is there a bug on the generation process of the JDeveloper?
    Regards,
    Rui Torres

    OK, This is the PL/SQL package:
    Function:
    FUNCTION Obtener_paises RETURN res_webservice AS
    v_respuesta res_webservice;
    i PLS_INTEGER:=1;
    CURSOR C_paises IS
    SELECT cpais, tpais
    FROM paises
    ORDER BY tpais;
    BEGIN
    v_respuesta := res_webservice(null,null);
    v_respuesta.error := res_error(null,null,null);
    v_respuesta.error.cerror := 0;
    v_respuesta.error.cerror_ora := 0;
    v_respuesta.error.terror := null;
    v_respuesta.datos := res_datos ();
    FOR v_pais IN C_paises LOOP
    v_respuesta.datos.extend;
    v_respuesta.datos(i) := reg_datos(null,null);
    v_respuesta.datos(i).codigo := v_pais.cpais;
    v_respuesta.datos(i).descripcion := v_pais.tpais;
    i := i + 1;
    END LOOP;
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:0');
    RETURN v_respuesta;
    EXCEPTION
    WHEN OTHERS THEN
    v_respuesta.error.cerror := 1;
    v_respuesta.error.cerror_ora := SQLCODE;
    v_respuesta.error.terror := substr(SQLERRM,1,80);
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:1 '||substr(SQLERRM,1,120));
    RETURN v_respuesta;
    END Obtener_paises;
    TYPES USED:
    CREATE OR REPLACE
    TYPE res_webservice AS OBJECT (error res_error, datos res_datos);
    CREATE OR REPLACE
    TYPE res_error AS OBJECT (cerror NUMBER(1), cerror_ora VARCHAR2(12), terror VARCHAR2(80));
    CREATE OR REPLACE
    TYPE res_datos AS TABLE OF reg_datos;
    CREATE OR REPLACE
    TYPE reg_datos AS OBJECT(codigo VARCHAR2(12), descripcion VARCHAR2(150));
    Thanks in advanced...
    Could happen this bacause of these defined types???

  • Strange behaviour from new 2012R2 in old domain

    Hi all,
    At work (education level), I'm starting to take charge of windows admin, so beiing a noob admin I'm finding strange behaviours that I hope you can help me solve them all :-)
    We've one (big) domain with about 5000 computers (workers and students all together), and around 50000 users (again, workers and students all together) setup like this:
    DC-DOMAIN-1:
    Windows Server 2008R2
    Shares NETLOGON and SYSVOL
    DC-DOMAIN-2:
    Windows Server 2003 R2 x64
    Shares CertEnroll, NETLOGON, SMSLOGON, SYSVOL
    Checking RootDSE, I see 'domainControllerFunctionaly is Windows 2003' (DC-DOMAIN-2)
    So, with this setup, I've noticed these strange behaviours, hope list isn't too big  (guess there will be more behaviours but these seemed too odd):
    1) On DC-DOMAIN-2, WinServer 2003 eventlog, inside 'Directory Service', I found this warning event ID 1083 (Source NTDS Replication):
    Active Directory could not update the following object with changes received from the domain controller at the following network address because Active Directory was busy processing information.
    Object:CN=<an user name>, CN=Users, DC=DOMAIN
    Usually followed by an information event (eventid 1955) which says:
    ctive Directory encountered a write conflict when applying replicated changes to the following object.
    Object:
    <SAME USER OBJECT THAN PREVIOUS EVENT ID>
    Time in seconds:
    0
    Event log entries preceding this entry will indicate whether or not the update was accepted.
    A write conflict can be caused by simultaneous changes to the same object or simultaneous changes to other objects that have attributes referencing this object. This commonly occurs when the object represents a large group with many members, and the functional level of the forest is set to Windows 2000. This conflict triggered additional retries of the update. If the system appears slow, it could be because replication of these changes is occurring.
    User Action
    Use smaller groups for this operation or raise the functional level to Windows Server 2003.
    And having as result that user being blocked in domain.
    2) I've added a new print server based on Windows Server 2012R2 (running inside an updated ESX 5.5 with VMXNET3 ethernet adapter as recommended by vmware), and seen in the event viewer these warnings/errors:
    At System log:
    Error Event ID 5783, Source NETLOGON:
    The session setup to the Windows NT or Windows 2000 Domain Controller \\DC-DOMAIN-2.fulldns.name for the domain DOMAIN is not responsive. The current RPC call from Netlogon on \\PRINTSERVER to \\DC-DOMAIN-2.fulldns.name has been cancelled.
    I've seen Event ID 5783 with DC-DOMAIN-1 too....
    Error Event ID 5719, Source NETLOGON:
    This computer was not able to set up a secure session with a domain controller in domain DOMAIN due to the following:
    The remote procedure call failed and did not execute.
    This may lead to authentication problems. Make sure that
    this computer is connected to the network. If the problem persists, please contact your domain administrator.
    ADDITIONAL INFO:
    If this computer is a domain controller for the specified domain, it sets up the secure session to the primary domain controller emulator in the specified domain. Otherwise, this computer sets up the secure session to any domain controller in the specified domain.
    At Microsoft-Windows-TerminalServices-RemoteConnectinoManager/Admin found also this warning:
    Warning Event ID 20499 Source TerminalServices-RemoteConnectionManager:
    Remote Desktop Services has taken too long to load the user configuration from server \\DC-DOMAIN-2.fulldns.name for user administrator
    3) If I try Group Policy Modeling on DC-DOMAIN-1 (server 2008R2), everything works fine, no matter if I try it against DC-DOMAIN-1 or DC-DOMAIN-2, but if I try this from the Server 2012R2 (the one from point 2), I get this:
    Simulation against DC-DOMAIN-2: Gets executed, but all GPO show as inaccessible, empty or disabled.
    Simulation against DC-DOMAIN-1: Sometimes it gets executed as DC-DOMAIN-2, sometimes I get an error saying query can't be executed.
    4) From server 2012R2, I usually manage printing GPO. If I click on the domain root (GPMC, forest, Domains, DOMAIN-NAME-ROOT) right pane, I get a pop up saying: 
    'A processing error ocurred collecting data using this base domain controller. Please change the base domain controller and try again'
    After closing popup, right pane says something like 'DC-DOMAIN-2.fulldns.name' is the baseline domain controller for this domain.
    No infrastructure Status information exists for this domain.
    Click the Detect Now button below to gather infrastructure status from all of the domain controllers in this domain.
    Pressing 'Detect Now' does nothing, and trying to select New Baseline DC shows again same pop up than before.
    5) Last, but not least, I've feeling that GPO takes too much to apply. I've found scenarios in which even after executing 'gpupdate /force' correctly on client computer either local or domain admin, I can't see the new changes (gpresult says it has been
    updated though). But couldn't find anything on eventlog that informs about problems with GPOs...
    For all these strange behaviours I've noticed in last month that I started checking things as sys admin, I believe domain is damaged, or something is wrong there (not just my new server 2012R2, even if it's running inside an ESX, blehh), so please, any hint
    on what to check, what to change, what to fix, would be highly appreciated.
    Thanks in advance.

    Hi Paul,
    Honestly, I'm still trying to figure out all broken things reported by tests :( Guess Jesper's suggestion about adding a new 2008 DC to get rid of 2003 and start checking again after that may be best option.
    I'll try to summarize list of things I believe are wrong:
    running
    DCDIAG /V /C /D /E /s:yourdcname > c:\dcdiag.log  for every DC, shows different errors. They show things such as:
    another domain running here (not administered by us, only relationship is that our users are shared with that domain, nothing else) appear when Printing out pDsInfo (as if they were DC of our domain too, but they do not even share RootDomain). Guess it
    may be for a bug old sys admin had when clonning from his 2008R2 template, that forgot to change SID... I already noticed 1 year ago our print server shared SID with those DC, guess there may be more servers sharing SID too :-(
    Within Starting test: Replications, I see few messages at Replication Latency Check, such as the one for CN=Schema, CN=Configuration, DC=<ourdomain>: 
    Latency information for 35 entries in the vector were ignored.
                      35 were retired Invocations.  0 were either: read-only replicas and are not verifiably latent, or dc's no longer replicating this nc.  0 had no latency information (Win2K DC)
    On Services test, I see an 
       Invalid service type: RpcSs on DC-DOMAIN-3, current value
                WIN32_OWN_PROCESS, expected value WIN32_SHARE_PROCESS
    On SystemLog, I see LOTS of warnings/errors such as:
    A warning event occurred.  EventID: 0x80000002
                Time Generated: 07/28/2014   08:21:54
                (Event String (event log = System) could not be retrieved, error
                0x503)
             An error event occurred.  EventID: 0xC0000003
                Time Generated: 07/28/2014   08:22:18
                (Event String (event log = System) could not be retrieved, error
                0x3afc)
    Missing entries on DNS (we've a static DNS)
    netdiag.exe /v > c:\netdiag.log Showed again DNS problems such as our primary DNS pointing to all DC, secondary
    DNS pointing just to DC with FSMO roles,...
    repadmin.exe /showrepl * /verbose /all /intersite > c:\repl.txt  Gave no errors, now I must check in detail
    if every replica is correct
    And finally,
    dnslint /ad /s "ip address of your dc"  gave more DNS problems:
    One or more DNS servers may not be authoritative for the domain
    One or more DNS servers did not respond to UDP queries
    One or more zone files may have expired
    SOA record data was unavailable and/or missing on one or more DNS servers
    Sumarizing, guess it will be better to fix DNS problems, promote new 2008R2 DC to get rid of 2003 one, promote domain to 2008 too, check again for messages and relationship with other domain, and then come back here for support if needed 
    EDIT: Almost forgot to talk about SYSVOL folder. As said before, there are 426 GPO folders inside Policies. Of them, 375 have an inetres.adm files in it (smallest one 1398 KB, almost all of them 2307 or 2707 kb).... 

  • Strange behaviour when placing text frame on top of image

    Hi,
    Win XP, FM 8.04
    I have a front cover that consists of a TIF image that bleeds off the page. On top of that image I want to put a text frame with the book title.
    The strange thing is that when I create the text frame and use the toolbar buttons to nudge it down on the page, the text (but not the frame) suddenly jumps to a totally different place way down on the page, despite only nudging it, say, 10 mm.
    Any ideas why this is happening?
    /Mats

    Hi,
    Partly solved:
    After some tests, it seems FM does not like when you try to move a text frame over a transparent area in an image. The image in question was made by importing a PDF into Photoshop, then saving as TIF. Since the PDF contained an area that was had full transparency in InDesign (i.e. "Paper"), that area was also in the TIF image.
    The strange behaviour starts exactly at the border where the transparency starts. In non-transparent areas, there is no problem.
    Seems like a bug.
    /Mats

  • How to delete duplicates in oracle 10g ( strange behaviour)

    Recently we migrated from oracel 8i to oralce 10g and we face this problem.
    When we try to delete duplicates using rowid ( analytical functions row_number()/
    or normal delete ) and commit the same , still we find some duplicates to be existing because of which we are not able to enable costriants and resulting in process failure.
    When we run the same delete statement next time it removes more duplicates than the required or sometimes required duplicates resulting in abnormal behaviour.
    I don not understand this strange behaviour after upgrading to oracle 10g.
    It'd be great if some one who has idea on this can throw light on the same.
    thanks

    Gasparotto,
    Thanks a lot for letting me know a new procedure to delete duplicates sing lead function.
    I've tried this code on a temp table and it worked, let me use the same query on the prodn side and test the same.
    Procedure for deletion of duplicates using lead analytical function.
    create table temp ( col1 number(2) , col2 number(2) , col3 number(2));
    insert into temp values ( 1,2,10);
    insert into temp values ( 1,2,20);
    insert into temp values ( 1,2,30);
    insert into temp values ( 3,2,10);
    insert into temp values ( 3,4,12);
    insert into temp values ( 3,4,45);
    commit;
    COL1 COL2 COL3
    1 2 10
    1 2 20
    1 2 30
    3 2 10
    3 4 12
    3 4 45
    select col1,col2 , col3, LEAD(rowid) OVER (PARTITION BY col1,col2 order by null) from temp;
    COL1 COL2 COL3 LEAD(ROWID)OVER(PA
    1 2 10 AAAVBjAApAAAFyGAAB
    1 2 20 AAAVBjAApAAAFyGAAC
    1 2 30
    3 2 10
    3 4 12 AAAVBjAApAAAFyGAAF
    3 4 45
    6 rows selected.
    select rowid , temp.* from temp ;
    ROWID COL1 COL2 COL3
    AAAVBjAApAAAFyGAAA 1 2 10
    AAAVBjAApAAAFyGAAB 1 2 20
    AAAVBjAApAAAFyGAAC 1 2 30
    AAAVBjAApAAAFyGAAD 3 2 10
    AAAVBjAApAAAFyGAAE 3 4 12
    AAAVBjAApAAAFyGAAF 3 4 45
    SQL> DELETE temp
    WHERE rowid IN
    ( SELECT LEAD(rowid) OVER (PARTITION BY col1, col2 ORDER BY null)
    FROM temp ); 2 3 4
    3 rows deleted.
    SQL> select rowid , temp.* from temp ;
    ROWID COL1 COL2 COL3
    AAAVBjAApAAAFyGAAA 1 2 10
    AAAVBjAApAAAFyGAAD 3 2 10
    AAAVBjAApAAAFyGAAE 3 4 12
    Thanks for the reply

  • Strange Behaviour after 6.0.2 install

    Hello all,
    This is my first posting to Apple Discussions, so please be kind...
    I recently installed iTunes 6.0.2 via Software Update and noticed strange behaviour while trying to edit a smart playlist. I have a smart playlist set up to select songs between 3 and 5 stars in My Rating, which have not been played in the last four weeks. While trying to edit the star range, I found that I could only select two stars or five stars. If I clicked one star, it changed to two; if I clicked any other number of stars, it changed to five. As a test, I restored the previous iTunes.app from backup and the problem disappeared.
    Anyone have any ideas what might be causing this?
    Thanks,
    Jon

    Hello Web_Diko,
    I'm sorry but I don't know where you can find that package. I take nightly backups of my machine so I just restored the previous version from my backup. Maybe try a search for "iTunes 6.0.1" on Google or on www.apple.com?
    When I mentioned the "privacy thing" I was alluding to the various items about iTunes 6.0.3 "phoning home" with details of what tracks you are playing together with your Apple ID. It doesn't bother me personally, but I think that the complaints are legitimate, because people should be told whenever they install a program that sends information back to the vendor.
    Jon

  • Connection Reset when compiling PL/SQL Package

    Recently a strange issue appeared on my office PC. When I try To compile a PL/SQL package on specific Oracle instance I get an error message:
    Error: Io exception: Connection reset by peer: socket write error
    And the connection is reset. I even cannot reconnect to database schema. To open connection again I have to restart SQL Developer. In spite of this issue I can execute SELECT queries in SQL worksheet and view data in tables. Error message appears only when compiling packages in any schema on database instance in our local network and only on my PC. Other office PCs works fine without any errors. I am able to compile packages on remote database from my PC.
    Same error message shows up in different SQL Developer versions and also in JDeveloper. SQL Developer restart, Windows restart, database instance restart doesn't help.
    Used software:
    SQL Developer versions: 1.2.1 and 1.1
    JDeveloper version: 10.1.3.2
    Oracle Database on local network: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
    Remote Oracle Database: Oracle Database 10g Release 10.2.0.3.0 - Production
    OS: Windows XP Pro SP2
    Thanks,
    Raymond

    I am trying to convert the values in a selected
    column into 1 and 0 so that I can display all 1s in
    one column, all 0s in another. I am doing this in a
    PL/SQL package. However ORACLE compiler does not
    like the CASE construct.
    Does anyone know how to group values in a column into
    several new columns. If CASE WHEN construct is not
    doable in PL/SQL, what alternatives are there?
    Thanks.
    CURSOR v_Cursor IS
    SELECT A.D_CODE, A.M_CODE, TEST_START ,
    , C.C_NAME,C.P_ID,
    SUM(CASE WHEN MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 >
    40 AND MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 <85 ANDB.B_CODE IN '11.1','222.2','272.4') THEN 1 ELSE 0
    END) QUALIFIEDUse the Decode function. This has been around in oracle SQL for ages and works like a case construct.
    You would do something like
    select ...
    sum( decode (MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 >
    40 AND MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 <85 AND
    B.B_CODE IN ('11.1','222.2','272.4') 1,0 )

Maybe you are looking for

  • Report with Invoice and Accounting Document Number

    Dear Experts, Here i have a requirement. I wanna a report which gives a Invoice (MIRO) and its accounting documents (Follow on document) in one page. Because If I view a MIRO document, for checking the accounting document, I need to click on Follow o

  • Connecting to a plasma tv...

    Hi there, I just bought a Panasonic Viera plasma tv and I would like to connect it to my iMac G5. I would like to use the HDMI slots in the tv as this is how I could get the best possible quality. Thanks for any help.... 20" 2 GHz Intel Core Duo 2 GB

  • Socket Exceptoin  by  JVM

    Hello I have analyze the exception . Any body help me. I need brief explanation. Give me suggestion how can rectify it. java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read      at java.net.SocketInputStream.socket

  • Control-click doesn't select multiple thumbnails?

    Two of our workstations have recently lost the ability to control-click to select multiple thumbnails. Control-click works in other applications, including Windows Explorer, but control-clicking in the thumbnails pane in Acrobat simply selects the ne

  • WRT54GS2 - Random Disconnect help.

    I am baffled as to why my wireless internet disconnects. It seems that after visiting certain flash sites, I will lose internet connectivity. I have no idea why. If anyone has any ideas as to why, I would greatly appreciate the help. I will provide a