I think this is a bug with rendering a string to a graphics2d

Hiya,
The following lines of code create the rendering error I am experiencing, to which I have tested on several computers.
BufferedImage bi=new BufferedImage(100,100,BufferedImage.TYPE_INT_ARGB);
Graphics2D g2d=bi.createGraphics();
g2d.setColor(new Color(1f,0f,0f,0.5f));
g2d.fillRect(0,0,100,100);
RenderingHints renderingHints=new RenderingHints(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
RenderingHints rh=new RenderingHints(RenderingHints.KEY_TEXT_ANTIALIASING,RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
renderingHints.add(rh);
rh=new RenderingHints(RenderingHints.KEY_ALPHA_INTERPOLATION,RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
renderingHints.add(rh);
g2d.setRenderingHints(renderingHints);
g2d.setFont(new Font("Lucida",Font.BOLD,14));
g2d.setColor(Color.BLACK);
g2d.drawString("SQOWTGBC",10,30);
When the destination image has an alpha of 1 the text is rendered with the correct antialiasing. However, in this example where the alpha is 0.5 the text is rendered with unwanted artifacts.
[http://sphotos-b.ak.fbcdn.net/hphotos-ak-ash4/269344_590137484330481_704825569_n.jpg]
This image has JPG artifacts but the unwanted rendering artifacts are still visible (ie the brighter edges)
I am wondering if this is not in fact an error but the intended result. If so, how to I configure the graphics object to render the antialiased text without the artifacts?
I could not find where to submit a bug on the oracle website for the life of me so maybe if someone would like to explain how this is achieved I will be very grateful.
Penny
x
I have spent several hours trying to find if this has been reported as a bug or if there is a solution posted online but to no avail.
Edited by: 995038 on Mar 20, 2013 5:32 AM
Edited by: 995038 on Mar 20, 2013 5:33 AM
Edited by: 995038 on Mar 20, 2013 5:36 AM

I have made a work around for the moment.
This work around uses a BufferedImage to render the antialiased text first which does not create the artefacts and then draw the image of the text to where the text should appear. I dont think this is an acceptable solution because in the case where there could be 1000s of TextLayout objects the increased overhead would be unacceptable.
private void drawTextLayout(Graphics2D g2d,float x,float _y) {
Rectangle r=_g2d.getClipBounds();
bufferG2D.translate(r.x,r.y);
Composite c=bufferG2D.getComposite();
bufferG2D.setComposite(clearComposite);
bufferG2D.fill(r);
bufferG2D.setComposite(c);
textLayout.draw(bufferG2D,_x,_y);
bufferG2D.translate(-r.x,-r.y);
_g2d.drawImage(buffer,r.x,r.y,null);
the BufferedImage of bufferG2D would need to be large enough to cater for any size of text to be rendered to which I believe the size should be set to the screen size. This solution requires that there always be a _g2d clip assigned.
Regards
Penny

Similar Messages

  • I think this is a Bug of String class

    I think this is a Bug of String class, do you agree with me ?
    String s = "1234........"; // when "1234........". length() > 65535, there will be wrong, but
    char[] c = new char[88888];...
    String s = new String(c);even if c.length >65535�Cevery thing is ok.
    so I think is a bug. Somebody give me a answer, thanks

    below is the two Constructors Of String
        public String(String original) {
         int size = original.count;
         char[] originalValue = original.value;
         char[] v;
           if (originalValue.length > size) {
             // The array representing the String is bigger than the new
             // String itself.  Perhaps this constructor is being called
             // in order to trim the baggage, so make a copy of the array.
             v = new char[size];
             System.arraycopy(originalValue, original.offset, v, 0, size);
         } else {
             // The array representing the String is the same
             // size as the String, so no point in making a copy.
             v = originalValue;
         this.offset = 0;
         this.count = size;
         this.value = v;
        }=====================
        public String(char value[]) {
         int size = value.length;
         char[] v = new char[size];
         System.arraycopy(value, 0, v, 0, size);
         this.offset = 0;
         this.count = size;
         this.value = v;
        }I don't know where has the problem.

  • Do you think this is the bug in 1.5?

    I have this applet and the tooltip for second button does not appear after clicking on first button. It only happens in java 1.5. Do you think this is the bug or I am doing something wrong. this is the code
    /*<HTML>
    <HEAD>
    <TITLE> A Simple Program </TITLE>
    </HEAD>
    <BODY>
    Here is the output of my program:
    <APPLET CODE="HelloWorld1" WIDTH=350 HEIGHT=325>
    </APPLET>
    </BODY>
    </HTML>
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.Applet;
    public class HelloWorld1 extends JApplet implements ActionListener {
    CardLayout c = new CardLayout();
    JPanel lslayout = new JPanel();
         JButton n = new JButton("first");
         JButton n1 = new JButton("second");
    public void init() {
    getContentPane().setLayout(c);
         getContentPane().add("message", n);
         getContentPane().add("message1", n1);
         n.addActionListener(this);
         n.setToolTipText("firs tooltip");
         n1.setToolTipText("second tooltip");
    public void actionPerformed(ActionEvent e) {
    c.show(getContentPane(), "message1");
    }

    I have rewriten it with FlowLayout() and it still does not works. Code is below. One thing i noticed.If I minimize my browser window the tooltip appears. Does anyone knows which method the browser calles after minimizing.
    public class HelloWorld2 extends JApplet implements ActionListener {
    JPanel panel = new JPanel();
         JPanel panel2 = new JPanel();
         JPanel panel3 = new JPanel();
         JButton n = new JButton("first");
         JButton n1 = new JButton("second");
    public void init() {
    panel.setLayout(new FlowLayout());
         panel2.setLayout(new FlowLayout());
         panel.add( n);
         panel2.add(n1);
         getContentPane().setLayout(new FlowLayout());
         getContentPane().add( panel);
         n.addActionListener(this);
         n.setToolTipText("firs tooltip");
         n1.setToolTipText("second tooltip");
    public void actionPerformed(ActionEvent e) {
         getContentPane().removeAll();
         setEnabled(false);
         setEnabled(true);
         getContentPane().add( panel2);
         panel2.revalidate();
         panel2.validate();
         validate();
         repaint();
    }

  • My Airport Time Capsule only works when I turn off and turn on, but I think this may end up with the unit. What can this happening and how to solve?

    Time Capsule Airport
    Hello to all, good day, sorry my english google, but it is the tool I have at the moment. I'm having trouble with my Time Capsule Airport, I made all the settings according to the manual, but there has been a connection problem with my iMac. When I finish my work I turn off the imac and then again when they return to work and care, it can not connect to Time Capsule Airport, making it impossible to remove the files and make back up by Time Machine only works when I turn off and turn on the Airport Time Capsule , but I think this may end up with the unit. What can this happening and how to solve? Thank you.
    Olá a todos, bom dia, desculpe meu inglês google, mas é a ferramenta que tenho no momento. Estou tendo dificuldades com a minha Airport Time Capsule, fiz todas as configurações de acordo com o manual, mas tem existido um problema de conexão com meu iMac. Quando termino meus trabalhos desligo o imac e depois quando retorno pra trabalhar novamente e ligo, ele não se conecta a Airport Time Capsule, impossibilitando retirar os arquivos e fazer o back-up pelo Time Machine, só funciona quando desligo e ligo a Airport Time Capsule, mas acho que isso pode acabar com o aparelho. O que pode esta acontecendo e como resolver? Obrigado.

    This is easier to do with pictures perhaps.. since we do not share a common language and machine translation leaves a lot to be desired.
    In the airport utility bring up your Time Capsule.
    Simply post the screenshots here.
    So here is mine.
    Click on the Edit button and give us the Internet and Wireless and Network tab..
    eg.
    Please also make sure you are set to ipv6 in your wireless or ethernet .. whichever is used.. and do tell which.
    This is wifi in your computer.
    The following are important..
    DO not use long names with spaces and non-alphanumeric names.
    Use short names, no spaces and pure alphanumeric.
    eg TC name. TCgen5
    Wireless name TCwifi
    Use WPA2 Personal security with 10-20 character pure alphanumeric password.
    read apple instructions to help with TM and TC.. they did finally admit it has issues in Mavericks.
    OS X Mavericks: Time Machine problems
    Mount the TC manually in finder.
    AFP://TCgen5.local
    When asked for the password .. that is the disk access password and save it in the keychain.
    Reset Time Machine
    See A4 here. http://pondini.org/TM/Troubleshooting.html

  • Is this a JOGL bug with GLJPanel, a driver problem, or what?

    I've been trying to eliminate a problem I've been experiencing with my WorldWind Java (WWJ) application and I think I've finally taken a step torward finding the root cause, but I'm not sure whose problem it is yet or who to report it to, so I thought I'd start here and work my way up; if it can't get solved here, maybe it's a driver issue.
    The issue goes something like this:
    (Note: this only occurs when the -Dsun.java2d.opengl=true flag is set.)
    I have a GLJPanel on my primary display that works beautifully. I drag that panel onto my secondary display (slowly) and it disappears. Poof. If I position the panel halfway between screens, I can get about half of the panel to render on the secondary display, but any further than that and it disappears. I tried this on a Frame and with a GLCanvas as well and got different results: in a Frame, if I dragged the Panel over and then dragged it back into the primary display, it would disappear on the secondary display, but reappear on the primary display once it was dragged back. With the GLCanvas, I didn't have any issues.
    It's fairly simple to recreate this on my computer by using a WorldWind example that extends ApplicationTemplate and just adjusting ApplicationTemplate to use WWGLJPanels.
    However, I went so far as to reproduce the problem with a plain old GLJPanel:
    import com.sun.opengl.util.Animator;
    import java.awt.GridLayout;
    import javax.media.opengl.GL;
    import javax.media.opengl.GLAutoDrawable;
    import javax.media.opengl.GLJPanel;
    import javax.media.opengl.GLCapabilities;
    import javax.media.opengl.GLEventListener;
    import javax.swing.JFrame;
    public class TrianglePanel extends JFrame implements GLEventListener {
        public TrianglePanel() {
            super("Triangle");
            setLayout(new GridLayout());
            setSize(300, 300);
            setLocation(10, 10);
            setVisible(true);
            initTriangle();
        public static void main(String[] args) {
            TrianglePanel tPanel = new TrianglePanel();
            tPanel.setVisible(true);
            tPanel.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        private void initTriangle(){
            GLCapabilities caps = new GLCapabilities();
            caps.setDoubleBuffered(true);
            caps.setHardwareAccelerated(true);
            GLJPanel panel = new GLJPanel(caps);
            panel.addGLEventListener(this);
            add(panel);
            Animator anim = new Animator(panel);
            anim.start();
        public void init(GLAutoDrawable drawable) {
            GL gl = drawable.getGL();
            gl.glClearColor(0, 0, 0, 0);
            gl.glMatrixMode(GL.GL_PROJECTION);
            gl.glLoadIdentity();
            gl.glOrtho(0, 1, 0, 1, -1, 1);
        public void display(GLAutoDrawable drawable) {
            GL gl = drawable.getGL();
            gl.glClear(GL.GL_COLOR_BUFFER_BIT);
            gl.glBegin(GL.GL_TRIANGLES);
            gl.glColor3f(1, 0, 0);
            gl.glVertex3f(0.0f, 0.0f, 0);
            gl.glColor3f(0, 1, 0);
            gl.glVertex3f(1.0f, 0.0f, 0);
            gl.glColor3f(0, 0, 1);
            gl.glVertex3f(0.0f, 1.0f, 0);
            gl.glEnd();
            gl.glFlush();
        public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {}
        public void displayChanged(GLAutoDrawable drawable, boolean modeChanged, boolean deviceChanged) {}
    }If it helps, the video card I'm using is a Quadro NVS 140M.

    steffi wrote:
    This is a bug that I'm seeing in Apple's new MobileMe service and I believe they are making use of the System Messaging Server product. (Sun Java(tm) System Messaging Server 6.3-6.03)I can't comment on what Apple may or may not be using ;)
    Specifically I have an email that's MIME HTML and what I observe is that lines >999 chars are being truncated so in my case the nested table doesn't render correctly because a whole chunk of the HTML itself on this line has been truncated.The email client generating the message is broken and Messaging Server is 'fixing' the email by truncating the line to the maximum line-length as per the standards.
    Refer to "2.1.1. Line Length Limits" in http://www.faqs.org/rfcs/rfc2822.html
    Regards,
    Shane.

  • I think I found a bug with CC 14 in which text layers wont render! Super Annoying!!!!!!!

    I was editing a Youtube video and I noticed my text layers I added to my footage wouldn't render out on video. Instead my video would freeze then start playing again. I tried to render out as a ProRes file and it still happened. Then I just wanted to render out the text and low and behold the screen was blank. I just switched recently from CS6 is there any way around this? It's a good thing I discovered this early because I still have my 30days to cancel.
    I'm editing on a Macbook Pro Retina 15 inch with 2GB Nvidia Card and 16GB of RAM.
    Thank you all in advance

    In addition to the oddities that Ann noted, the sequence is interlaced whereas the export settings are progressive. I have no particular reason to think that any of these weird little details would cause a problem, but it sure is a quirky set of properties.
    I'd start by testing with a more normal scenario to see if the problem persists:
    New project
    New sequence, using a 1080 preset, such as AVCHD 1080p24.
    Create a Universal Counting Leader and a title and add both to the timeline.
    Export to the same YouTube preset.
    If the encoded output from that sequence has the same problem, then it's time to collect info about your system: OS version, graphics card & driver, whether you've installed any codecs.
    If the title survives the test, then start tweaking things in the direction of the problematic sequence, changing just one variable at a time--adding the odd 29.99 AVCHD clip, changing one sequence setting at a time, etc. Export after each change and see if the issue resurfaces.
    Also worth testing:
    try the various encoding paths: "in-process" by clicking Export in the Export Settings dialog, and via AME by clicking Queue.
    In AME, encode one with the Import Sequences Natively setting enabled, then again with the option disabled. [Preferences>General]
    Test with Renderer set to GPU Acceleration and with it set to Software Only [File>Project Settings>General]

  • LOV Bug with rendering result?

    Hey,
    I'm attempting to create a basic LOV using either the "ADF LOV Input" or "ADF LOV Choice List" components.
    When I try to use these components with a small set of data they behave as one would expect, however I run into some odd behavior when the list behind the LOV is large and the component is required to fetch additional rows of data as the user scrolls through the options.
    With the LOV Input, as I scroll through the data it is retrieved fine, however when I select a value from the bottom half of the list, the component on the page does not update with the selected value and the console in JDeveloper throws the following [truncated] stack trace:
    SEVERE: Server Exception during PPR, #1
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.getRowIndex(RowDataManager.java:171)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.getRowIndex(FacesCtrlHierBinding.java:417)
         at org.apache.myfaces.trinidad.component.UIXIterator._fixupFirst(UIXIterator.java:310)
         at org.apache.myfaces.trinidad.component.UIXIterator.__encodeBegin(UIXIterator.java:297)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeBegin(UIXCollection.java:517)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:271)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$ListOfValuesDialogRenderer.encodeContent(SimpleInputListOfValuesRendererBase.java:598)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelWindowRenderer.encodeAll(PanelWindowRenderer.java:190)
         at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.encodeAll(DialogRenderer.java:135)
         at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:846)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$ListOfValuesPopupRenderer.encodeAllChildren(SimpleInputListOfValuesRendererBase.java:634)
         at oracle.adfinternal.view.faces.renderkit.rich.PopupRenderer.encodeAll(PopupRenderer.java:225)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
    It looks as though the View Object on the back-end is getting populated with the correct value selected from the list (I have a second, cascaded LOV built off the value selected which is populating with the correct data) however the front-end is not getting populated with the correct data.
    With the second LOV component (ADF LOV Choice List) I am completely unable to scroll through the list of values; the component hangs as soon as it attempts to fetch any more data and throws the following [truncated] stack trace in the JDeveloper console:
    SEVERE: Server Exception during PPR, #2
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlListBinding$JUCtrlListBindingItemRef.get(JUCtrlListBinding.java:3006)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:70)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:170)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:129)
         at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:105)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
    If this is indeed a bug with the ADF components themselves attempting to lazy-load the values in the list, is there a way to force the component to simply load the entire list up-front instead of as the user scrolls? This would be an acceptable workaround for my application.
    For the record, the View this page is based off runs flawlessly in the BC tester. Also, incase this helps any, the LOV is not based on any sort of Fk link / association. It is built upon accessor attributes (and bind variables and view criteria in the case of the mentioned cascading LOV).
    Thanks in advance for the help,
    Chris

    Chris,
    can you provide instructions how to reproduce this based on the HR schema (e.g. Departments/Employees table). If its easier for you to create a testcase, please send it to frank. /nimphius /@ oracle.com (please remove blanks and slashes) in a zip file, where you rename the "zip "extension to "unzip"
    Frank

  • I think this has to do with algorithms

    OK this has to do with with a systems calender .Lets say we made a cal program and we need to up date the next month and put the numbers in order for that next month calendar and then after that month has past we need to up date the next month calender and put the numbers of days in order for that month and so on like the system cal does .Well I hope I have made my self clear here.If not let me know and I will try to explain alittle better.If you can give me any hints or tips how I could accomplish that would be great.Thanks

    Thanks for your reply and that is where I have been looking to see if they had something in there that I could use to do that but I have not found nothing or I am over looking it.This is what I am trying to do
    This is for the month of Jan now if I type at the commandline feb I am wanting to shift the numbers around so they line up right for the month of Feb and I need to be able to keep repeating this so if I type the next month or what ever month the numbers will shift and line up right
        //month of Jan
        String[] wholemonth = new String[8];  
        wholemonth[0] =  getM(getArgs);
        wholemonth[1] = "Su Mo Tu We Th Fr Sa";
        wholemonth[2] =  "      1  2  3  4  5 ";
        wholemonth[3] =  "6  7  8  9 10 11 12";
        wholemonth[4] = "13 14 15 16 17 18 19";
        wholemonth[5] = "20 21 22 23 24 25 26";
        wholemonth[6] = "27 28 29 30 31";
        wholemonth[7] = " ";Could anyone help me on this.And if you all think I am going about this the wrong way and if there is something else I could do thanks for telling me

  • Is this a know bug with the Mail server?

    This is a bug that I'm seeing in Apple's new MobileMe service and I believe they are making use of the System Messaging Server product. (Sun Java(tm) System Messaging Server 6.3-6.03)
    Specifically I have an email that's MIME HTML and what I observe is that lines >999 chars are being truncated so in my case the nested table doesn't render correctly because a whole chunk of the HTML itself on this line has been truncated.
    The message fails to render correctly in their Web Client but also in Mail.app when it's accessed over IMAP4

    steffi wrote:
    This is a bug that I'm seeing in Apple's new MobileMe service and I believe they are making use of the System Messaging Server product. (Sun Java(tm) System Messaging Server 6.3-6.03)I can't comment on what Apple may or may not be using ;)
    Specifically I have an email that's MIME HTML and what I observe is that lines >999 chars are being truncated so in my case the nested table doesn't render correctly because a whole chunk of the HTML itself on this line has been truncated.The email client generating the message is broken and Messaging Server is 'fixing' the email by truncating the line to the maximum line-length as per the standards.
    Refer to "2.1.1. Line Length Limits" in http://www.faqs.org/rfcs/rfc2822.html
    Regards,
    Shane.

  • I think this is a bug in oracle

    I have put some threads to show those problems i met before, no one has given the right solutions. Then I reinstall the whole system, and those problems occur again when I repeat what I did before.
    What I did is as follows:
    I created 400 event-based jobs, and one periodic job to trigger them by sending message into a queue. When I let the attribute of "parallel_instance" at default (it should be false). Everything goes fine. I can calculate the CPU utilization in the database, and calculate the average execution time of those event-based jobs. Since I wanna the CPU overloaded, which means when those 400 jobs have not finished until the next triggering comes( the running of that periodic job). So I changed the attribute of "parallel_instance" to be TRUE.
    OK, the problems come. After running my experiments for a while, I stopped it. I found the following problems:
    1. Those event-based jobs cannot record its own execution time and its job name. everything is 0 in a table I created to record those values.(I calculate the execution time at the end of the job by deducting the start time from the current time. The job name is passed by metadata.)
    2 I cannot purge those event-based job logs. I have done all what I have imaged to purge those logs of event-based jobs, no one works. Those job logs always stay in those views which record logs. But I can purge those logs of periodic jobs.
    3 If I delete those event-jobs and create them again. Then the scheduler crashes. That means, the periodic jobs I create in the database cannot run any more.
    As for the last two problems, I have put a lot of threads in the forum to ask for help last week. But I failed.
    Anyone can take deeper insight into the database and give me some help? Perhaps I can delete those disgusting job logs manually from a local file in the hard disk? Because I think those job views should be read from a local file somewhere.
    I really appreciate your kind help.

    I have put some threads to show those problems i met
    before, no one has given the right solutions. You mean: nobody gave me the solutions I like.
    Then I
    reinstall the whole system, and those problems occur
    again when I repeat what I did before.Reinstalling Oracle is usually a waste of time and resources.
    >
    What I did is as follows:
    I created 400 event-based jobs, and one periodic job
    to trigger them by sending message into a queue. When
    I let the attribute of "parallel_instance" at default
    (it should be false).Define 'job', define 'trigger', define 'message', define 'a queue'
    Way more details are required!!!
    Everything goes fine. I can
    calculate the CPU utilization in the database, and
    calculate the average execution time of those
    event-based jobs. Since I wanna the CPU overloaded,
    which means when those 400 jobs have not finished
    until the next triggering comes( the running of that
    periodic job). So I changed the attribute of
    "parallel_instance" to be TRUE.Which means you tinkered with Oracle. Parallel_instance should only be TRUE in a RAC installation.
    >
    OK, the problems come. After running my experiments
    for a while, I stopped it. I found the following
    problems:
    1. Those event-based jobs cannot record its own
    execution time and its job name. everything is 0 in a
    table I created to record those values.(I calculate
    the execution time at the end of the job by deducting
    the start time from the current time. The job name is
    passed by metadata.)Sorry, but this is nonsense. AUDIT CONNECT will already record the logoff_time.
    Also you can dump the session statistics to a table.
    2 I cannot purge those event-based job logs.Define 'purge', define 'log'. Where is your log? A text file?
    Sorry, but if you want help you should not required ouija boards, and/or hand or mind reading.
    I have
    done all what I have imaged to purge those logs of
    event-based jobs, no one works. Those job logs always
    stay in those views which record logs. But I can
    purge those logs of periodic jobs.
    3 If I delete those event-jobs and create them again.
    Then the scheduler crashes. That means, the periodic
    jobs I create in the database cannot run any more.
    Define 'scheduler'
    As for the last two problems, I have put a lot of
    threads in the forum to ask for help last week. But I
    failed.
    Anyone can take deeper insight into the database and
    give me some help? Perhaps I can delete those
    disgusting job logs manually from a local file in the
    hard disk? Because I think those job views should be
    read from a local file somewhere.
    I really appreciate your kind help.Really? You insulted this forum by not specifying any details, by asking for free consultancy, and by claiming you didn't get the 'right solutions'.
    If you know the 'right solutions', please: help yourself!!!!!!
    Sybrand Bakker
    Senior Oracle DBA

  • I think this is a bug for icloud on PC

    My icloud's photo stream didn't work although I had finished the setting steps on guide.
    And there is one thing that I think strange.
    I logged in icloud, with my apple ID on my PC(windows 7). Enable the photo stream option, and then I logged out.
    At the next time I login, using the same ID on the same PC, strange things happened. The photo stream option was in the status of disable.
    I think icloud might failed on storing the user's setting on windows 7.

    below is the two Constructors Of String
        public String(String original) {
         int size = original.count;
         char[] originalValue = original.value;
         char[] v;
           if (originalValue.length > size) {
             // The array representing the String is bigger than the new
             // String itself.  Perhaps this constructor is being called
             // in order to trim the baggage, so make a copy of the array.
             v = new char[size];
             System.arraycopy(originalValue, original.offset, v, 0, size);
         } else {
             // The array representing the String is the same
             // size as the String, so no point in making a copy.
             v = originalValue;
         this.offset = 0;
         this.count = size;
         this.value = v;
        }=====================
        public String(char value[]) {
         int size = value.length;
         char[] v = new char[size];
         System.arraycopy(value, 0, v, 0, size);
         this.offset = 0;
         this.count = size;
         this.value = v;
        }I don't know where has the problem.

  • Think this is a bug?

    ver 10.2
    SQL> select cast(22222  as number(3,0)) from dual
    select cast(22222  as number(3,0)) from dual
    Error at line 0
    ORA-01438: value larger than specified precision allowed for this column
    SQL> select cast('XXXXX' as varchar2(1)) from dual
    C
    X
    1 row selected.seems like the casting of a varchar2 should be an error if it is to long instead of acting kind of like a trim
    Thanks
    Ox

    me also same,
    SQL> select *
      2  from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE     10.2.0.3.0     Production
    TNS for Solaris: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL> select cast(22222  as number(3,0)) from dual;
    select cast(22222  as number(3,0)) from dual
    ORA-01438: value larger than specified precision allowed for this column
    SQL> select cast('XXXXX' as varchar2(1)) from dual;
    CAST('XXXXX'ASVARCHAR2(1))
    X
    from here it looks like for varchar2(1) it just tries to extract 1 letter of the string XXXXX
    if you select the following,
    SQL> select cast('XXXXX' as varchar2(2)) from dual;
    CAST('XXXXX'ASVARCHAR2(2))
    XX
    SQL> select cast('XXXXX' as varchar2(3)) from dual;
    CAST('XXXXX'ASVARCHAR2(3))
    XXX
    SQL> select cast('XXXXX' as varchar2(4)) from dual;
    CAST('XXXXX'ASVARCHAR2(4))
    XXXX
    SQL> select cast('XXXXX' as varchar2(6)) from dual;
    CAST('XXXXX'ASVARCHAR2(6))
    XXXXX
    SQL>
    *here cast works like substr and the string length is determined by varchar2(1), or varchar2(2) and so on,*
    *not sure from it looks like cast with numbers and varchar2 are treated differently,*

  • U think this is a bug in Flash Professional 8????

    I have encountered this probem with Flash Professional 8
    (Windows Version). When i filled the stroke with Bitmap Color and
    tried to Rotate it with a constraint by holding a Shift Key it got
    distorted. This is not hapening everytime we do it, but does happen
    sometimes. Pros out there look into this and lets have a discussion
    of what this problem is???

    I have encountered this probem with Flash Professional 8
    (Windows Version). When i filled the stroke with Bitmap Color and
    tried to Rotate it with a constraint by holding a Shift Key it got
    distorted. This is not hapening everytime we do it, but does happen
    sometimes. Pros out there look into this and lets have a discussion
    of what this problem is???

  • I *think* this is a bug...

    Hello,
    Ah, well, I don't really know what to do... if I should stick to what I've got, restart it all over again, but I have the slight hope that Adobe might be able to help me, at least a little. I don't want to recode this all over again...
    Anyways, I'm coding this game... my first MMOG in fact, I decided to code my own server, using C#. Yesterday, I had got an incredible streak of luck and I managed to finish movement, it was crappy, really laggy, but I was so happy, like any developer would get when they achieve something. I felt I was going to, at least once, do something decent, build a nice game, just for fun.
    However, I lost all of my hope today, when about 1 hour ago, I encounter myself with one of the friendliest flash messages I've seen:
    "Can not save file to "C://[..]" please try at another location or with a different filename"
    All right, I saw it, and I instantly realized that I was going to get in some deep, horrible, problem. But, I had confidence in my beloved Flash CS5 (uh-oh) and I tried saving it one folder up (at the parent folder). error again. I change the filename. Error again. I desperately try to save it as an .xfl, or a CS4 .fla, but this only worsened the situation: My .fla, disappeared.
    OK - I though - Flash is still open, I can try to save it.
    But seems I was with the worse of my luck: Visual Studio's Just-in-time debugger pops up, saying that an "unhandled win32 occurence occured in Flash.exe" and asked me with which debugger I wished to debug the broken program. I was now sure, I had lost a load of work.
    I've tried a recovering lost files programs, to try to see if I regained the lost .fla, but not much hope. I still have the decompiled version, but as you know, it is not as good as the fresh and normal fla...
    Anyone has a suggestion? I just can't believe this happened...
    Thanks in advance,
    Lucas

    Hello,
    Ah, well, I don't really know what to do... if I should stick to what I've got, restart it all over again, but I have the slight hope that Adobe might be able to help me, at least a little. I don't want to recode this all over again...
    Anyways, I'm coding this game... my first MMOG in fact, I decided to code my own server, using C#. Yesterday, I had got an incredible streak of luck and I managed to finish movement, it was crappy, really laggy, but I was so happy, like any developer would get when they achieve something. I felt I was going to, at least once, do something decent, build a nice game, just for fun.
    However, I lost all of my hope today, when about 1 hour ago, I encounter myself with one of the friendliest flash messages I've seen:
    "Can not save file to "C://[..]" please try at another location or with a different filename"
    All right, I saw it, and I instantly realized that I was going to get in some deep, horrible, problem. But, I had confidence in my beloved Flash CS5 (uh-oh) and I tried saving it one folder up (at the parent folder). error again. I change the filename. Error again. I desperately try to save it as an .xfl, or a CS4 .fla, but this only worsened the situation: My .fla, disappeared.
    OK - I though - Flash is still open, I can try to save it.
    But seems I was with the worse of my luck: Visual Studio's Just-in-time debugger pops up, saying that an "unhandled win32 occurence occured in Flash.exe" and asked me with which debugger I wished to debug the broken program. I was now sure, I had lost a load of work.
    I've tried a recovering lost files programs, to try to see if I regained the lost .fla, but not much hope. I still have the decompiled version, but as you know, it is not as good as the fresh and normal fla...
    Anyone has a suggestion? I just can't believe this happened...
    Thanks in advance,
    Lucas

  • I think this has to do with the installation.....

    I have a problem with running a java file. I used to have win98 ans JDK/SDK1.3.1. This worked fine.
    Now I use winXP and JDK/SDK 1.4.1
    The same java-docs don't run anymore (allthough they are compiled okay).
    Maybe some things that might help for this problem to know:
    When I type "java" in the (dos)prompt, it doesn't give any error.
    In an earlier post here, I read that I needed to remove some keys via regedit. So I did (removed everything that had to do with version 1.3)
    The error I see when I try the file to run in the program 'Textpad',is:
    java.lang.NoClassDefFoundError: MyFrame1
    Exception in thread "main"
    Tool completed with exit code 1
    I really don't know what is wrong anymore...... PLease can anyone help me?

    This error is described on this page:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
    You can also set -classpath to point to the directory holding the .class
    file that is not being found.
    -Doug

Maybe you are looking for

  • Delta broken between two DSO ??

    Hello, We are on BI 7.0. We have copied our productive system into our develoment system in order to have refresh datas. But since this copy with a big problem in our development system : one DTP on delta is broken between two DSO. I Try to reactivat

  • Query: How does scale9grid work with bitmap images?

    I have a custom component I use as website header built in flash catalyst. Below is the code for the component. <?xml version="1.0" encoding="utf-8"?> <s:Group xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns

  • When I borrow a firewire cord, my iPod doesn't work

    I was wondering if anyone else had to borrow a firewire cord and it won't work. I am not sure if it is a PC/Mac thing but I was wondering if anyone else had this issue?

  • Download to Excel after migration to 11g: Table lose formats

    Hi, after migration to 11g we make some test. Download to excel is not working correct. Calculated column lose the rounding, Table with green line lose the format of the borders. Is this a known issue? Regards, Stefan

  • Trouble downloading the basic design suite

    I purchased the design standard suite about 2 weeks ago and have tried downloading it multiple times and different ways. Nothing seems to work, I am wondering if this simply a user issue or if it is a problem with my computer.