Liveconnect bug, in 1.4.2_04 ?

It seems to me that there is a bug in the wery newest version of Java in download on www.java.com .
When using liveconnect (javascript - java communication) the browser sometimes freezes.
If you are using j2re Version 1.4.2_04 (build b05), with Microsoft Windows, and Internet Explorer, you can go to this page, and try out the bug for you self.
http://www.both.dk/abjavatest/liveConnectTestPage.htm
Best Regards,

FORGET IT !!!!
Just forget it,
It is true that my sample is not working for this version of Java, but it is due to some kind of "bad" code, that is eaten by earlier versions of java. But not this new version.
Sorry.

Similar Messages

  • Is it a bug in 1.4.2_04

    public class MainFrame extends JFrame implements ActionListener
    JLabel jLable = new JLabel();
    static int i = 0;
    public MainFrame()
    jLabel.setText("sometext");
    //some button defined here and added actionlistener.
    public void actionPerformed(ActionEvent e)
    jLabel.setText(++i);
    I click on the button, the text on the jLable is 0, but at the second and also the following clicks on the button to triggle the actionPerformed method, the text on the jLabel doesn't change, still remaining 0. I'm confused, so I changed javax.swing.JLabel to java.awt.Label, everything appears just as I expected. Eaching clicking makes the number on the label increase by 1. Is it a bug of javax.swing.JLabel of 1.4.2_04?

    Thank you very much for your advice, and below is my real codes. I'm sorry the JLabel in my real codes was added to a panel, not the JFrame. I didn't believe it was a bug until I compared it with in java.awt.Label.
    * Created on 2004-6-5
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    package com.jpdragon.product;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.FlowLayout;
    //import java.awt.Label;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Properties;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JLabel;
    * @author elgs
    * TODO To change the template for this generated type comment go to Window -
    * Preferences - Java - Code Style - Code Templates
    public class MainFrame extends JFrame implements ActionListener
         Connection               connection;
         PreparedStatement     pstatement;
         ResultSet               rs;
         Container               content               = getContentPane();
         JPanel                    pn                    = new JPanel();
         JPanel                    pc                    = new JPanel();
         JPanel                    ps                    = new JPanel();
         JPanel                    pt                    = new JPanel();
         (J)Label                    lr                    = new Label();
         LabelPanel               labelPanel          = new LabelPanel("No.)",
                                                                "0000000000", 7);
         JButton                    addButton          = new JButton("Add *");
         JButton                    removeButton     = new JButton("Remove *");
         Properties               p                    = new Properties();
         JTable                    t                    = new JTable();
         JScrollPane               s                    = new JScrollPane();
         String[]               names               =
                                                      {"code", "name"};
         TableModel               tableModel          = new TableModel();
         public MainFrame() throws ClassNotFoundException, FileNotFoundException,
                   IOException, SQLException
              p.load(new FileInputStream("star.properties"));
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              labelPanel.getTheField().selectAll();
              setTitle("2004-06-06");
              content.setLayout(new BorderLayout());
              pc.setLayout(new BorderLayout());
              ps.setLayout(new FlowLayout());
              content.add(pn, BorderLayout.NORTH);
              content.add(pc, BorderLayout.CENTER);
              content.add(ps, BorderLayout.SOUTH);
              addButton.addActionListener(this);
              removeButton.addActionListener(this);
              pn.add(labelPanel);
              ps.add(addButton);
              ps.add(removeButton);
              s.setViewportView(t);
              pt.add(s);
              lr.setText("Total: " + 0);
              pc.add(pt, BorderLayout.CENTER);
              pc.add(lr, BorderLayout.SOUTH);
              String url = p.getProperty("url");
              String username = p.getProperty("username");
              String password = p.getProperty("password");
              connection = DriverManager.getConnection(url, username, password);
              pstatement = connection
                        .prepareStatement("select max(num) from prcadj where cls='lprice'");
              ResultSet rs = pstatement.executeQuery();
              if (rs.next())
                   labelPanel.setField(rs.getString(1).trim());
              pstatement.close();
              pack();
         * (non-Javadoc)
         * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         public void actionPerformed(ActionEvent e)
              addButton.setEnabled(false);
              removeButton.setEnabled(false);
              String sql_view = "";
              String sql_exe = "";
              String title = "";
              String msg_view = "";
              String msg_exe = "";
              String no = labelPanel.getText().trim();
              Component src = (Component) e.getSource();
              if (src == addButton)
                   sql_view = "select g.code,g.name from prcadjdtl p,goods g "
                             + "where num = ? and cls ='lprice' "
                             + "and p.gdgid = g.gid and g.name not like '*%'";
                   title = "Add *";
                   msg_view = "Are you sure to add *?";
                   msg_exe = "items have been added with *";
                   sql_exe = "update goods set name = '*'+ name from prcadjdtl p,goods g "
                             + "where num = ? and cls ='lprice' "
                             + "and p.gdgid = g.gid "
                             + "and g.name not like '*%'";
              if (src == removeButton)
                   sql_view = "select g.code,g.name from prcadjdtl p,goods g "
                             + "where num = ? and cls ='lprice' "
                             + "and p.gdgid = g.gid and g.name like '*%'";
                   title = "Remove *";
                   msg_view = "Are you sure to remove *?";
                   msg_exe = "items have been removed *";
                   sql_exe = "update goods set name = substring(name,2,len(name)-1) from prcadjdtl p,goods g "
                             + "where num = ? and cls ='lprice' "
                             + "and p.gdgid = g.gid "
                             + "and g.name like '*%'";
              try
                   pstatement = connection.prepareStatement(sql_view,
                             ResultSet.TYPE_SCROLL_INSENSITIVE,
                             ResultSet.CONCUR_READ_ONLY);
                   pstatement.setString(1, no);
                   rs = pstatement.executeQuery();
                   tableModel.set(rs);
                   tableModel.setName(names);
                   t.setModel(tableModel);
                   s.setViewportView(t);
                   pt.add(s);
                   lr.setText("total: " + tableModel.getRowCount());
                   pstatement.close();
                   pack();
                   int answer = JOptionPane.showConfirmDialog((Component) content,
                             msg_view, title, JOptionPane.YES_NO_OPTION);
                   if (answer == JOptionPane.YES_OPTION)
                        pstatement = connection.prepareStatement(sql_exe);
                        pstatement.setString(1, no);
                        int rowsAffected = pstatement.executeUpdate();
                        t.setModel(new TableModel());
                        JOptionPane.showMessageDialog((Component) content, rowsAffected
                                  + msg_exe, title, JOptionPane.INFORMATION_MESSAGE);
                   addButton.setEnabled(true);
                   removeButton.setEnabled(true);
                   pack();
              catch (SQLException e1)
                   System.out.println(e1);
    }

  • Is this a Bug?: FocusListener called twice

    Hey all,
    Im having this problem since realease 1.4.2_04.
    Folks, try this code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class FocusTest {
        public static void main(String[] args) {
            JFrame frame  = new JFrame("Focus test");
            final JTextField field1 = new JTextField("Test1");
            final JTextField field2 = new JTextField("Test2");
            field1.addFocusListener(new FocusAdapter(){
                public void focusGained(FocusEvent e){}
                public void focusLost(FocusEvent e){
                    if( !e.isTemporary() ){
                        System.out.println("ID: " + e.getID());
                        JOptionPane.showMessageDialog(null, "Focus lost in 1");
                        field1.requestFocus();
            frame.getContentPane().add(field1, BorderLayout.WEST);
            frame.getContentPane().add(field2, BorderLayout.CENTER);
            frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.setBounds(0,0,200,300);
            frame.show();
    } The problem is: when TF1 looses its focus, and is validated, then i force the focus to keep on TF1 by calling TF1.requestFocus(), somehow the event focusLsot is called twice for my TF.
    If i do not requestFocus() it work but I must force the focus on TF1.
    Im going nuts. Does anyonw apear to have this problems?? In old realeses, the same code work perfect. until 1.4.2 beta.
    Tks
    Bruno

    Hello all!
    I found out that somehow JDialog with requestfocus after, fires twice the lostFocus event. I dont know why. I opened a bug report so they can figure it out why is happaning.
    Tks folks!
    Bruno

  • What happended to j2se 1.4.2_04 installler?

    What happended to j2se 1.4.2_04 installler? Why has it been replaced with 1.4.2_03
    is there a bug in the 1.4.2_04 release I should know about that I have'nt yet discovered, I downloaded it a few days ago.

    It has disappeared for hours , but there's no any explaination till now.

  • Jvm crash on 1.4.2_04 BEA/Solaris

    our weblogic managed server crashed on production with tht following error
    HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF 01
    we opened a case with BEA and they redirected us to SUN as it seems to be a bug in SUN jvm 1.4.2_04.
    http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=5c36f6627418c68d04a7a8936aef:YfiG?bug_id=6181110
    can anybody tell which version is this fixed in, 1.4.2_09 or 1.5.0_u4 or both.
    Also, is 6181110, (Bug ID:2124050) and (Bug ID:2125138) are the same bugs as mentioned in the description or are they different. If they are same, why was it fixed in 1.5.0_u4 if it is already fixed in the previous version which is 1.4.2_09 ?

    can anybody tell which version is this fixed in,
    1.4.2_09 or 1.5.0_u4 or both.It looks like it was fixed in both.
    Also, is 6181110, (Bug ID:2124050) and (Bug
    ID:2125138) are the same bugs as mentioned in the
    description or are they different. If they are same,
    why was it fixed in 1.5.0_u4 if it is already fixed
    in the previous version which is 1.4.2_09 ?They're multiple views of the same bug. We maintain parallel release trains for 1.4.x and 5.0 which is why it was fixed simultaneously in both trains.

  • JRockit 1.4.2_04 released

    An update release for the JRockit 1.4.2_04 JVM has been released and is now
    available from the BEA download site (http://commerce.bea.com). This is a
    maintenance update to the JRockit 1.4.2_04 JVM release that was previously
    released in April '04.
    Some highlights of this release vs. JRockit 8.1 SP2 (J2SE 1.4.1):
    - Support for new OSes. In addition to previously supported OSes, the
    following are additional supported platforms - Red Hat EL 3.0 (IA32 / IPF),
    Windows Server 2003 (IA32), and SuSE Linux Server 9 (IA32 / IPF). Support
    for Red Flag 4.1 (IA32 / IPF) will be added soon after it's availability.
    - This release will be bundled with each of the following Linux
    distributions - Red Hat EL 3.0, SuSE Linux Server 9, Red Flag Advanced
    Server 4.1.
    - Improved runtime performance
    - Improved startup performance
    - Support for Native POSIX Thread Library (NPTL) on Linux
    - Code caching (experimental feature)
    - Numerous bug fixes
    For more information on new features, please visit:
    http://edocs.bea.com/wljrockit/docs142/intro/newftrs.html.
    Finally, this JRockit release is bundled and certified with WebLogic
    Platform 8.1 SP3, which is also available from the BEA download site.

    Here is a test program you can use to test if for JVM leaks memory when creating
    threads.
    Johan Walles <johan@spamalamadingdong> wrote:
    I don't think so, but I could be wrong.
    Your best bet (in case nobody who actually knows answers this) is to
    write a
    short test program that starts tons of threads but always keeps the total
    number
    of threads at some sane value, then run that for a long time. Or ask
    Vegard for
    his :-).
    //Johan
    harish tejwani wrote:
    We are running jrockit81sp2rp1_141_06 for our production
    Any clue if it exists in this version ?
    Thanks
    Harish
    "Vegard Bye" <[email protected]> wrote:
    I've built a program, which just creates threads and let each of them
    run. Each
    thread just increases a couple of numbers and then terminates. After
    about 13
    million threads the program crashes with
    Error Message: Null pointer exception in native code
    Signal info : si_signo=11, si_code=1
    Version : BEA WebLogic JRockit(TM) 1.4.2_04 JVM ari-29212-20040415-1332-linux-ia32
    Threads / GC : Native Threads, GC strategy: parallel
    : mmHeap->data = 0x20000000, mmHeap->top = 0x30000000
    : mmStartCompaction = 0x23c00000, mmEndCompaction = 0x25000000
    which may imply that it is correct that there is a memeory leak for
    each
    started
    thread. In my test program the number of concurrent threads never increases
    100.
    This memory leak is very critical, since my server will crash afterabout
    a day
    or two.
    Johan Walles <johan@spamalamadingdong> wrote:
    There's a memory leak of about 100 bytes per started thread in JRockit
    1.4.2_04.
    If your app starts a lot of threads you may be running into this.
    Regards //Johan
    [TestCreateThreadMemoryLeak.java]

  • Upgrading from 1.4.2_04 to 1.4.2_06, 1.4.2_07 or 1.4.2_08 ?

    I am in need to upgrade my JMV from 1.4.2_04 due to known JVM issues solved in 1.4.2_06 and newer.
    I seek the most stable version and therefore need to pick between 06, 07 or the latest 08.
    Which version is considered the less risky more used and more stable atm?

    Note that 1.4.2_06 and 1.4.2_07 have
    "completed the Sun EOL process and are no longer supported under standard support contracts. These products are down-revision products that may have various bugs, Y2000, and possibly security issues associated with them. Sun in no way recommends these products be used in a live, production environment. Any use of product on this page is at the sole discretion of the developer and Sun assumes no responsiblity for any resulting problems."
    [url http://java.sun.com/products/archive/eol.policy.html]Java Technology EOL Policy

  • Build detection problem when updating 1.4.2_04 to 1.4.2_06 or higher

    When using the object tag in internet explorer to deploy Java we have a problem updating between builds
    example:
    updating Java from 1.4.2_04 to 1.4.2_06
    it seems that the object version attribute only checks 1.4.2 and not the build number, so our client. therefore strarts.
    We had expected that if the version number was changed to _06 and the new er 1.4.2_06 installer was updated to the web server that the installation would be carried out
    Does this mean that my customers that are within a secure (closed) intranet can only update between versions and not builds
    Thax

    Note that 1.4.2_06 and 1.4.2_07 have
    "completed the Sun EOL process and are no longer supported under standard support contracts. These products are down-revision products that may have various bugs, Y2000, and possibly security issues associated with them. Sun in no way recommends these products be used in a live, production environment. Any use of product on this page is at the sole discretion of the developer and Sun assumes no responsiblity for any resulting problems."
    [url http://java.sun.com/products/archive/eol.policy.html]Java Technology EOL Policy

  • LiveConnect - where do i import netscape.javascript.* from?

    I'm trying to get some LiveConnect stuff running with a Java applet, but can't seem to find where to import
    the package netscape.javascript.* from.
    Can anyone please help? Many thanks

    I've just installed Linux 9, jdk1.4.2_04, and Netscape 7.1.
    I am trying to compile a working program (on Win.XP) using Ant.
    I'm getting an error on the "import netscape.javascript.*;" statement.
    I've reviewed many forum posts but I can't find the plugin.jar file anywhere.
    I do have a plugin.pack file in <JAVA_HOME>/jre/lib
    Anybody got an idea where plugin,jar might be or is plugin.pack some incantation I missed?
    If so, what do I do with it?
    Jim

  • Bad http.agent in Java properties : a bug in the HTTP user-agent string?

    Hi all,
    Me :
    I'm patching AWSTATS (web log analyzer tool) in order to recognize which Java version has
    been used to download files.
    Context of the problem :
    Each time a Java program (or applet) is downloading a file (for example .class, .png, .html)
    from a web server, a line will be added in the web server log file. If the web server is well
    configured, the user agent used to download the file will be at the end of the line in the log file.
    For Sun Java JVM, the user agent string is configured in the Java properties under "http.agent".
    Usually, the user-agent string contains the word "Java" and the virtual machine version. In most
    cases, this is just a string like "Java/1.4.2", so this is relatively easy to parse.
    Problem :
    Looking in my web server stats, and then on the web, I found that a JVM's user-agent is
    "Mozilla/4.0 (Windows XP 5.1)", which obviously does not contains the word "Java".
    Consequently, it is difficult to say that this user-agent string belongs to a JVM.
    Further look in my log files and on google shows that this http.agent string appears
    on Microsoft Internet Explorer (it seems MSIE 6.0) over Windows XP with the J2RE plugin:
    http://board.gulli.com/thread/300321
    http://forum.java.sun.com/thread.jsp?thread=531295&forum=30&message=2559523
    http://forum.java.sun.com/thread.jsp?forum=63&thread=132769&start=210&range=15&tstart=0&trange=15
    http://forum.java.sun.com/thread.jsp?forum=32&thread=480899
    http://www.goodidea.ru/setupJava/javaInstall.htm
    The J2RE plugin version does not seems to play a role as this user-agent string has
    been seen on 1.4.1_02-b06, 1.4.2_01, 1.4.2_03 and 1.4.2_04-b05.
    Further information requested :
    I would like to know:
    1) if you have reported the same problem;
    2) if there is some rules for the http.agent property;
    3) if this is a bug.
    Thank you very much, and feel free to add you opinion.
    Julien

    The web log files where the "Mozilla/4.0 (Windows XP 5.1)" user-agent appears can be displayed using the following search terms on google :
    "Mozilla/4.0 (Windows XP 5.1)" -"(Windows XP 5.1) Java"
    http://www.google.ch/search?hl=fr&ie=UTF-8&q=%22Mozilla%2F4.0+%28Windows+XP+5.1%29%22+-%22%28Windows+XP+5.1%29+Java%22&btnG=Rechercher&meta=
    Julien

  • I can't attach the JSF 1.2_04 sources to Eclipse project !

    Hello,
    I am using Eclipse 3.3.2. I am trying to build a ICEFaces project and I need the JSF sources for convinience.
    I have them, I am trying to attach them with Project>Properties>JavaBuildPath>Sun JSF RI 1.2_04>jsf-api 1.2> Source Attachment> Edit>External file.
    It's OK, but when I close the window and reopen it > there are no sources checked again.
    I have downloaded them from here : https://javaserverfaces.dev.java.net/download.html
    Please, help !

    [This is indeed a bug in Eclipse|https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=attach+source]. As far the only workaround is to add a new JRE via Window > Preferences > Java > Installed JREs and adding the desired JAR's as external JAR's, saving it and opening it again (!!) and finally attach the sources to the added JAR's. Then in the project properties choose the new JRE (and keep the same JSF JAR's in the web-inf/lib!).
    Yes it is cumbersome, but I suppose that this will be fixed in the next Eclipse release.

  • This is a bug, right?

    Hi all,
    I am gettting a NotSerializableException (Shown Below) from a JFileChooser sub-class -- because JFilerChooser implements java.io.Serializable, this is a bug right?
    TIA,
    ablivian23
    java.io.NotSerializableException: javax.swing.JFileChooser$WeakPCL
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
         at javax.swing.JFileChooser.writeObject(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeArray(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.access$100(Unknown Source)
         at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
         at java.io.ObjectOutputStream.writeFields(Unknown Source)
         at java.awt.Container.writeObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeArray(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.access$100(Unknown Source)
         at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
         at java.io.ObjectOutputStream.writeFields(Unknown Source)
         at java.awt.Container.writeObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeArray(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.access$100(Unknown Source)
         at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
         at java.io.ObjectOutputStream.writeFields(Unknown Source)
         at java.awt.Container.writeObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeArray(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.access$100(Unknown Source)
         at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
         at java.io.ObjectOutputStream.writeFields(Unknown Source)
         at java.awt.Container.writeObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at java.awt.Window.writeObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at com.lockheedmartin.SOAP.SoapApplication.saveToFiles(SoapApplication.java:166)
         at com.lockheedmartin.SOAP.SoapApplication.oldRun(SoapApplication.java:232)
         at com.lockheedmartin.SOAP.SoapApplication.main(SoapApplication.java:51)

    hmmm... are you sure the same thing happens with all those versions?
    The build of 1.4.2 that I have does not have a class called javax.swing.JFileChooser$WeakPCL, but 1.5.0 beta does have it:> /usr/java/j2sdk1.4.2_04/bin/javap 'javax.swing.JFileChooser$WeakPCL'
    ERROR:Could not find javax.swing.JFileChooser$WeakPCL
    /usr/java/jdk1.5.0/bin/javap 'javax.swing.JFileChooser$WeakPCL'Compiled from "JFileChooser.java"
    class javax.swing.JFileChooser$WeakPCL extends java.lang.Object implements java.beans.PropertyChangeListener{
        java.lang.ref.WeakReference jfcRef;
        static final boolean $assertionsDisabled;
        public javax.swing.JFileChooser$WeakPCL(javax.swing.JFileChooser);
        public void propertyChange(java.beans.PropertyChangeEvent);
        static {};
    }This does look like a bug in 1.5.0 beta.. could you post a minimal program that reproduces this error, I just tested it and was able to serialize a JFileChooser?
    If it's indeed a bug it should be reported at http://bugs.sun.com/services/bugreport/index.jsp

  • Extensive tracing of liveconnect calls kills the browser

    i'm testing liveconnect from a simple example with mozilla 1.4 under linux
    and irix with java plugin versions 1.4.*
    my test looks like this:
    public class jsbug extends Applet implements Runnable {
    public void init() {
    win = JSObject.getWindow(this);
    public synchronized void run() {
    try
    for (;;) {
    wait(100);
    win.getMember("document");
    } catch (Exception eall) {}
    the problem is always the same
    any use of liveconnect method produces some tracelines
    (in tracefile or console-window) like
    OJIPlugin acq Spontaneous pipe=10
    Trying to enter spont monitor: 0
    OJIPlugin release for:Thread[Thread-24,4,file:/.../-threadGroup]
    OJIPlugin releasePipe - exiting spont monitor
    Current thread:Thread[Thread-24,4,file:/.../-threadGroup]
    OJIPlugin: No AThread
    after some times i'm ending up with a browser crash like this:
    INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt
    System error?:: Success
    what is the message? the current thread is no AThread or there is no AThread
    in general?
    in bug 5101073 i found this explanation about AThread:
    When the call is handled to browser, the rest of Javascript to Java call will
    be delived to AThread (a Java level thread created during browser starts up).bug or feature? something like "AThread" is not visible in the threadlist-dump.
    is it realy absense and is this is a bug of mozilla for unix/linux?
    or is this message only a debug-information.
    in any case the tracing makes liveconnect unusable.
    does anybody know how to stop or avoid these messages?
    (stopping trace via runtime-options does not work)
    i.b.

    Yeah, there is
    http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/java_js.html
    but I do not understand who really takes ownership for
    netscape.javascript.JSObject
    I noticed that the traditional link seems to be dead:
    http://developer.netscape.com/docs/manuals/communicator/jsref/pkg.htm
    but there is
    http://wp.netscape.com/eng/mozilla/3.0/handbook/plugins/doc/netscape.javascript.JSObject.html
    I guess you could try to contact Sun and express how important this is to you. I note that 5101073 has zero votes and no comments.

  • This is a Photoshop CS bug, right?

    When I go Save for Web... and choose JPEG, the preview is in GIF, not JPEG. I have used Photoshop for 15 years and I know that when you choose the file format you want to save it will preview in that same file format, not a different format. Is this a bug that is going to be fixed?

    hmmm... are you sure the same thing happens with all those versions?
    The build of 1.4.2 that I have does not have a class called javax.swing.JFileChooser$WeakPCL, but 1.5.0 beta does have it:> /usr/java/j2sdk1.4.2_04/bin/javap 'javax.swing.JFileChooser$WeakPCL'
    ERROR:Could not find javax.swing.JFileChooser$WeakPCL
    /usr/java/jdk1.5.0/bin/javap 'javax.swing.JFileChooser$WeakPCL'Compiled from "JFileChooser.java"
    class javax.swing.JFileChooser$WeakPCL extends java.lang.Object implements java.beans.PropertyChangeListener{
        java.lang.ref.WeakReference jfcRef;
        static final boolean $assertionsDisabled;
        public javax.swing.JFileChooser$WeakPCL(javax.swing.JFileChooser);
        public void propertyChange(java.beans.PropertyChangeEvent);
        static {};
    }This does look like a bug in 1.5.0 beta.. could you post a minimal program that reproduces this error, I just tested it and was able to serialize a JFileChooser?
    If it's indeed a bug it should be reported at http://bugs.sun.com/services/bugreport/index.jsp

  • Java.util.MissingResourceException - A Bug?

    Hi all,
    I think there maybe an bug with the plugin /deploy.jar the JRE 1.5.0_06.
    There is an exception at the end when my signed applet is trying to install an extension for the JRE, it seems to be caused by
    java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key security.dialog.buttonYes.acceleratorKey
    the resources are defined in com.sun.deploy.resources.Deployment.java and it does not contain that key.
    Is this a bug?
    This happens in both Internet explorer and mozilla/firefox.
    Thanks for any help,
    Ashley
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\hayesac
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Netscape Navigator ...
    network: Reading user preference file from C:\DOCUMENTS AND SETTINGS\HAYESAC\APPLICATION DATA\Mozilla\Profiles\default\c8ovvpcr.slt\prefs.js
    network: network.proxy.ftp=192.168.50.8
    network: network.proxy.ftp_port=8080
    network: network.proxy.gopher=192.168.50.8
    network: network.proxy.gopher_port=8080
    network: network.proxy.http=192.168.50.8
    network: network.proxy.http_port=8080
    network: network.proxy.socks=192.168.50.8
    network: network.proxy.socks_port=8080
    network: network.proxy.ssl=192.168.50.8
    network: network.proxy.ssl_port=8080
    network: Proxy enable: 1
    network: Done.
    network: Loading browser proxy configuration ...
    network: Done.
    network: Proxy Configuration: Browser Proxy Configuration
    basic: Cache is enabled
    basic: Location: C:\Documents and Settings\hayesac\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
    basic: Maximum size: unlimited
    basic: Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Registered modality listener
    security: Accessing keys and certificate in Mozilla user profile: C:\DOCUMENTS AND SETTINGS\HAYESAC\APPLICATION DATA\Mozilla\Profiles\default\c8ovvpcr.slt
    security: JSS package is not found
    security: JSS is not configured
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@480457, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6b97fd
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    network: Connecting [manually removed] with proxy=DIRECT
    security: Loading Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
    security: Loaded Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    security: Check if certificate can be verified using certificates in Root CA certificate store
    security: Certificate to be verified:
    [certificate trace stuff manually removed]
    liveconnect: JavaScript: UniversalJavaPermission enabled
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@6b97fd
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@480457, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@480457
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Joining applet thread ...
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Quiting applet ...
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@288051, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@90cb03
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: httpCompression = true
    network: Connecting [manually removed]
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    network: Connecting https://[manually removed]
    basic: Downloading https://[manually removed]
    basic: encoding = null for [manually removed]
    basic: Cached file name: [manually removed]
    extensions: Installing optional package Extension : title(null), name([manually removed]), spec vendor(Macalla Software), spec version(3.6.3), impl vendor(Macalla Software), impl vendor id(com.macalla), impl version(3.6.3), impl url([manually removed])
    java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key security.dialog.buttonYes.acceleratorKey
    at java.util.ResourceBundle.getObject(Unknown Source)
    at com.sun.deploy.resources.ResourceManager.getAcceleratorKey(Unknown Source)
    at com.sun.deploy.util.DialogFactory.showDownloadDialogImpl(Unknown Source)
    at com.sun.deploy.util.DialogFactory.access$200(Unknown Source)
    at com.sun.deploy.util.DialogFactory$4.execute(Unknown Source)
    at sun.plugin.util.PluginSysUtil$SysExecutionThread.run(Unknown Source)
    extensions: Optional package download not granted by user
    sun.misc.ExtensionInstallationException: User denied installation of [manually removed]
    at sun.plugin.extension.ExtensionInstallationImpl$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.extension.ExtensionInstallationImpl.installExtension(Unknown Source)
    at sun.misc.ExtensionDependency.installExtension(Unknown Source)
    at sun.misc.ExtensionDependency.checkExtension(Unknown Source)
    at sun.misc.ExtensionDependency.checkExtensions(Unknown Source)
    at sun.misc.ExtensionDependency.checkExtensionsDependencies(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.parseExtensionsDependencies(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getClassPath(Unknown Source)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: Modality pushed
    basic: Modality popped
    extensions: Optional package installation failed.
    security: Loading certificates from Deployment session certificate store

    Guys,
    i am having almost the same problem with my signed applet, it was working on all previous jres, now it crashes when trying to download imageio, giving the error: sun.misc.ExtensionInstallationException: User denied installation of...
    Is this the same bug? is it really a bug?
    besides, Rita, you mentioned filing it as a bug, but i cannot find it in the bug database
    Thanks guys,
    Best,
    Mohammad

Maybe you are looking for

  • How to pass a variable value in message area

    hi i have a requirement in which i need to display a table with records and below it in a message area i need to display the total no. of records found ( eg : 2 records found ) am using message manager for the display and calculating the total no of

  • Fn + delete, other shortcuts not working with new Santa Rosa Macbooks?

    I recently received a brand new Macbook (Santa Rosa platform) as a replacement for my defunct old Macbook (which was the previous generation). I've noticed in bootcamp, Fn+Delete no longer serves as a shortcut for the Del key in windows. Nor does Fn+

  • How to plot the intensity of a diffraction pattern through a circular aperture

    I'm new to LabVIEW and I was advised to run a tutorial exercise writen for other University students to familiarise myself with the program. Unfortunately, I've fallen at the final hurdle and I have no idea what I'm doing wrong The task is to calcula

  • Problems sharing photos online

    In trying to share photos online, which sends them in an e-mail, people receive the e-mail with thumbnails of pictures. When they click on the thumbnail to enlarge it, the picture disappears. What is going wrong? How can my friends see my pictures?

  • How to embed a swf video into an html page?

    I am haing trouble embedding my swf video into my html page. Here is my code: <embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&MM_ComponentVersion=1&skinName=C:/Users/RogerPa1/Do