Programmatically trigger method TreeCell.startEdit() to be invoked

If a TreeView is assigned a cell factory that creates a TreeCell with edit capabilities, is it possible to programmatically trigger method TreeCell.startEdit() to be invoked to put a selected tree item in edit mode? Currently a user can edit the name of a tree item by selecting it, but I would also like to provide a context menu that contains a rename menu item similar to Windows Explorer, which would programmatically trigger method TreeCell.startEdit() to be invoked for the selected tree item. Is that possible?
Thanks.
Stefan

This turned out to be a lot easier than I first thought. Method TreeView.edit(TreeItem<T> item) puts the selected tree item in edit state.
Cheers.
Stefan

Similar Messages

  • ActiveX Object Creation method to pass to an Invoke Node

    Hi!
    I'm trying to optimize the way in which I use MathCAD from LabVIEW.  One of my VIs is having really poor performance in terms of execution speed and memory usage.
    My VI converts a 2D LabVIEW array of doubles into a 2d Mathcad matrix and puts that matrix into a Mathcad worksheet.  The issue is that you do not just pass the 2d array of doubles into the SetValue invoke node as a variant.  You have to create a Mathcad.MatrixValue object, and then pass the object to the SetValue invoke node.
    Here is the example code provided in the Mathcad developers manual:
    SetElement Method
    var m = CreateObject("Mathcad.MatrixValue");
    for(row = 49; row >=
    0; --row)
    for(col = 9; col >= 0;
    --col)
    var val = row + col;
    m.SetElement(row, col, val);
    Here is my implimentation in LabVIEW:
    Here is my SubVI
     Here is my main VI:
    My SubVI is running out of memory and throwing the following error:
     Exception occured in mplrun: Exception of type 'System.OutOfMemoryException' was thrown. in NL SubVIs Library.lvlib:Convert LabVIEW 2d Array to MathCAD Variant Matrix (SubVI).vi->test.vi
    It doesn't always throw the error.  When I watch the memory consumption of LabVIEW it goes up to about 250k and then drops to 90k and slowly builds back up to 250k.  Initialy starting the code takes awhile too on my computer.  From start of VI until first loop iteration it is about 20 seconds, and then about 150-250ms after that.  Not very good performance.
    Any advice on how to optimize this code would be appreciated.  I'm not really sure when I should close some of these references.  I tried closing the reference in my converting SubVI, but I guess that destroys it so MathCAD can't use it.
    I'm in LabVIEW 2009.  Any help is appreciated. 
    Thanks for your time and input!
    -Nic

    I'm not sure this will solve your problems but it should help.  You need to close ALL of your references to Mathcad objects when you're done using them.  That means you need to close the reference to the Mathcad MatrixValue after you pass it to Mathcad (to do this you'll need to convert it back from a variant, or pass the reference directly out of your subVI), and you should also close the reference to the matrix that you get back after you've converted it to a LabVIEW array.  Otherwise you'll continuously allocate more and more memory rather than allowing it to be reused.
    Less importantly, you should also close your references to IMathcadWorksheets and IMathcadWorksheet (but since you only open them once it's not causing your memory problems).

  • I want to know when the method "public void setName" is invoked?

    The jsp file contain the one which list below:
    <mt:hello name="foo"/>
    package com.acme.tag;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class HelloTag extends TagSupport
    private String name="";
    public HelloTag()
    super();
    � public void setName(String name) �
    � {                                                                    �
    � this.name=name; �
    � } �
    �_____________________________________________�
    public int doEndTag() throws javax.servlet.jsp.JspTagException
    try
    pageContext.getOut().write("Hello "+name+"!");
    catch(java.io.IOException e)
    throw new JspTagException("IO Error: " + e.getMessage());
    return EVAL_PAGE;
    }

    does the other method like :
    <b>public void setPageContext(PageContext PageContext)</b>
    and
    <b>public javax.servlet.jsp.tagext.Tag getParent()</b>
    is invoked like setName list above.
    Thanks!

  • Which method will be called, when invoking home.create() ?

    Hi,
    In a Stateless session Bean, I want initialize some variables, whenever a bean is created or retrieved from the pool. So I used the ejbCreate() method to initialize the variables, but it is called only first time when I call the home.create(). If I call the home.create() method next time it doesn't call the ejbCreate().
    Which method will be called, whenever I call home.create();.

    hi siva,
    first of all Ejbcontainers maintain a pool of stateless sessionbeans .when you call home.create() the ejbCreate () method is definitely called and you said you are initializing some variable and may be you are trying to retrive that value after home.create() method.. when you try to retrive the value thee value may be same as you have initialized or different depending upon the no of stateless session beans in the container. you have created a bean and there is no guarantee that the same bean will be called when you invoke retrieval method..
    i hope you understood.
    cheers

  • Javascript method for clientListener not getting invoked

    Hi, I am trying to use a clientListener to call a javascript method when an image that's linked gets clicked on, but the javascript method is not getting invoked. I'm using Jdev 11g. E.g.
    <af:resource type="javascript">
    function sayhello(event) {
      event.cancel();
      alert("hello");
    </af:resource>
    <af:goLink id="gl1"> 
      <af:clientListener type="click" method="sayhello"/>
      <af:image id="i1" source="/image/test.gif"/>
    </af:goLink>The sayhello javascript method does not get invoked when clicking the linked image. What I found though is that if I change the <af:goLink> to the following, then the javascript method gets invoked:
    <af:goLink id="gl1" text="click me"> 
      <af:clientListener type="click" method="sayhello"/>
    </af:goLink>I want to have a linked image though instead of linked text. Any suggestions to make this work? In Jdev 10g, the following worked fine for me:
    <af:goLink onclick="sayhello">
      <af:objectImage source="/image/test.gif">
    </af:goLink>I did try using <af:goImageLink> (with <af:clientListener>) and specify the image using the icon attribute. This worked fine in terms of being able to call the javascript method. However, the problem with using this is that it somehow shifts the image down and this doesn't look good in my UI because I basically have a row of <af:goLink> components that use images and using this <af:goImageLink> shows the image mis-aligned compared to the rest of the linked images.

    HI All,
    Iin my case, clientLinstene is not working if i use more than one goLink , any body can you help me.
    <af:goLink text="Forgot Password?" id="gl1">
                                                        <af:clientListener type="click" method="showPopupFromAction"/>
                                                    </af:goLink>
                                                </af:panelFormLayout>
                                            </af:panelGroupLayout>
                                            <af:panelGroupLayout id="pgl4">
                                                <af:spacer width="150" id="s3"/>
                                                <af:outputText value="Choose Language:     " id="ot2"/>
                                                <af:goLink text="Arabic" id="cl1">
                                          <af:clientListener type="click" method="testMethod"/>
                                                </af:goLink>
    one popup will call popup and anther will in call bean method that's my requirement. script is
    <af:resource type="javascript">
                                                       * Shows a popup from an "action" type event.
                                                       * @param {AdfActionEvent} actionEvent the event being handled
                                                      function showPopupFromAction(actionEvent) {
                                                          actionEvent.cancel();
                                                          var eventSource = actionEvent.getSource();
                                                          var popup = eventSource.findComponent("popupForgetPassword");
                                                          popup.show( {
                                                              align : AdfRichPopup.ALIGN_OVERLAP, alignId : eventSource.getClientId()
                                                    </af:resource>
    <af:resource type="javascript">
       function testMethod(actionEvent) {
    // my stuff here.... I will call server listener method.
    </af:resource>
    thanks
    Palanivel

  • Programmatically trigger cursor release?

    Hello,
    I am using the Actor Framework to develop a large application in LabVIEW. I have cursors on a graph that trigger data to be populated into actors using an event structure and a cursor release event. The data is also populated (initialized) when the program starts.
    I currently accomplish this initialization using a structure below, and a value change event on the 'Init' Boolean:
    also described here:
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-First-Run-event-on-event-structure/idc-p/1044975#M...
    The problem with using the "init" Boolean is that I duplicate the same code within two events: "init":Value Change and "graph":Cursor Release events (the two event do the exact same thing).  Does anyone know a slick way combine these the Init event with the cursor release event so that the cursor release event fires on startup? This way I would not have to duplicate my code in two places...
    I have searched and didn't find exactly what I needed, Sorry if this has been covered somewhere in the forum.
    Solved!
    Go to Solution.

    Where will your common code run? In the Event Structure? Could you just register for both events:
    Or register the event separately to send it to the nested actor:

  • Countdown Timer - Trigger method call

    Hello,
    I am using a coundtown timer, what i want is to call a method when the the time is reached.
    The method i want to call requires a String to be passed to it but i am unable to achieve this with my current code:
    package CarSystem;
    import java.util.Calendar;
    import java.text.DecimalFormat;
    import CarSystem.Server;
    import java.rmi.*;
    import java.sql.*;
    public class CarTimer {
      static Server server;
      String TimerCarID = new String();
    public String timer(String CarID) throws java.lang.Exception{
      TimerCarID = CarID;
      String str = getDate();//date-time with the pattern "yyyy-M-d-k-m"
    java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-M-d-k-m");
    java.util.Date date = formatter.parse(str);
    java.util.Timer timer = new java.util.Timer();
    long target = date.getTime();//target date-time in Milliseconds
    Task0 task = new Task0(target);
    timer.schedule(task,0L, 1000L);
      System.out.println("phase 1");
      return str;
        public String getDate()
            Calendar now = Calendar.getInstance();
            String date;
            int dateDay = now.get(Calendar.DATE);
            int dateMonth = now.get(Calendar.MONTH);
            dateMonth++;
            int dateYear = now.get(Calendar.YEAR);
            int timeMin = now.get(Calendar.MINUTE);
            int timeHour = now.get(Calendar.HOUR_OF_DAY);
            System.out.println(timeMin + " normal");
            timeMin ++; //ADD GIVEN TIME TO JUST RECIEVED TIME
            timeMin ++;
            timeMin ++;
            System.out.println(timeMin+ " plus 3 mins");
            DecimalFormat decFormatTime =
                                new DecimalFormat("0");
            String timeMinFormat = decFormatTime.format(timeMin);
            String dateDayFormat = decFormatTime.format(dateDay);
            String dateMonthFormat = decFormatTime.format(dateMonth);
            String timeHourFormat = decFormatTime.format(timeHour);
            date = (dateYear + "-" +dateMonthFormat + "-" + dateDayFormat +"-"+ timeHourFormat +"-"+ timeMinFormat);
            System.out.print(date + " here is the formatted one ");
                    return (date); //date-time with the pattern "yyyy-M-d-k-m"
      class Task0 extends java.util.TimerTask{
        long targ;
        Task0(long target)
        {// constructor
                     this.targ = target;
    private int n=Integer.MAX_VALUE;
    //run method..
    public void run(){
             System.out.println("remaining seconds:");
             n = (int)((this.targ - System.currentTimeMillis())/(1000L));
            System.out.println(String.valueOf(n));
            if(n<=0){
              try{
    \\THIS IS WHERE I HAVE BEEN TRYING TO CALL THE METHOD FROM (server.endCar(carID)
            this.cancel();
            // System.exit(0);
          }catch(java.lang.RuntimeException ex){throw ex;}
         }//end of if
    }From the run method though i am unable to reach server and the method endCar. Neither is the carID string available that was past to the timer and is needed to be returned.
    Can anyone offer me some advice on this??
    Thanks

    Hello,
    Thankyou for your advise,
    I moved the run method to inside the carTimer class and have made some good progress,
    I am however still unable to call the method?
    I now get the following error when the timer = 0 (when the method should be called)
    Exception in thread "Timer-1" java.lang.NullPointerException
         at CarSystem.CarTimer$Task0.run(CarTimer.java:80)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)(CarTimer.java:80) = server.EndCar(CarID);The method i am calling is from the server class is called EndCar and looks like this:
    package CarSystem;
    import java.util.*;
    import java.sql.SQLException;
    import java.sql.*;
    import java.rmi.RemoteException;
    //TIMER CLASS
    import CarSystem.CarTimer;
    public class Server extends java.rmi.server.UnicastRemoteObject
          implements Iserver{
        private Connection link;
        private Vector<Object> rows;
        static CarTimer carTimer;
        //Connect to Database
        public void dbConnect()
          try {
            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
            link = DriverManager.getConnection(
                "jdbc:odbc:CarDatabase", "", "");
          catch (ClassNotFoundException e) {
            System.out.println("* Unable to load driver! *");
            System.exit(1);
          catch (SQLException e) {
            System.out.println(
                "* Cannot connect to database! *");
            System.exit(1);
      public void EndCar(String CarID) throws ClassNotFoundException,
          SQLException, RemoteException {
         dbConnect();
         Statement statement = link.createStatement();
         statement.execute("UPDATE car SET carComplete = 1 WHERE carID = " + CarID);
    }Can anyone offer me any advice as to why this error is occuring?

  • Can I programmatically trigger a menu item tag selected event?

    I am trying to trigger a menu item selected event using built-in vi's. I want my Handle Menu vi to handle the case where the user checks on a boolean control as well as slected the menu option. I don't want to use POSTMESSAGE with acceleration key combination. Are there any built-in vi's which can "post" such a message?

    I have a similar situation and understand why adding a message to the menu queue would be an elegant solution to the problem.
    I have lots of menu bar selections in my program, and I would like to set up a button bar like most applications now have. To do this using the "in parallel" way becomes a ratsnets of wires and would take up a lot of window space.
    I have attached a file that is a good example of how to solve this problem with Event Structures in LabVIEW 6.1. It doesn't take up much additional diagram space and it can be quickly and easily reconfigured.
    It would be nice if future versions of LabVIEW had a more integrated button bar.
    Matt
    Attachments:
    Menu_and_button_bars.vi ‏68 KB

  • Programmatically trigger the ClassNotFoundException

    I'd like to simulate the class not being found.
    class MyClass{
       static{
          if(someCondition) ????;
       public MyClass(){}
    }Is it possible to replace the '????' with something that causes the ClassNotFoundException in the following code:
    try{
       Object o=Class.forName("MyClass").newInstance();
    }Note: ClassNotFoundException is a CHECKED exception, so I cannot simply throw it!

    What you can do is throw an ExceptionInInitializerError that wraps the CNFE. static {
        try {
            whatever
        catch (CNFE exc) {
            log it
            throw new ExceptionInInitializerError("couldn't load class " + classname, exc);
    } Just remember that EIIError is an unchecked exception so if that static initializer is in, say, MyClass, you could have this situation: Foo foo = MyClass.staticMethodThatReturnsFoo(); // ExceptionInInitializerError thrown here if MyClass' static init fails and the compiler won't complain about declaring or catching the EIIError.

  • About backing bean method's invokation

    Hi,
    I have a backing bean method binded to a component:
    <af:selectOneChoice value="#{bindings.managerId.inputValue}"
    label="Manager" valign="middle"
    binding="#{backing_searchDocuments.managersList}"
    valuePassThru="true" immediate="false"
    rendered="#{bindings.ListManagersIterator.estimatedRowCount > 1}">
    <f:selectItems value="#{bindings.managerId.items}"/>
    When page refreshes component executes his binding method. But in some cases, actually when I press the commandMenuItem leading to the same page where I am it seems that it doesn't get invoked.. how can I manage the invocation of backing bean's methods? I need it invoked every time any request is made.. How to do that?

    Mario,
    this method is executed when the component re-draws. So anything other than a PPR request makes this binding method being called.
    If PPR is used with your commandMenuItem, them make sure the PPR trigger is set to refresh the component.
    I don't know what code it is that you need to execute each time, but maybe putting this on a action listener is a better idea
    Frank

  • Huge delay after "liveconnect: Invoking JS method: document"

    Hi,
    We're trying to deply an application which uses a Java applet on the (browser) client. All went well in v.1.4.2, but when I switched to v1.5.0_02 I had serious delay on starting the applet.
    Turning on level 5 (output is at the end)in the console shows there is a delay of sometimes more then 60 seconds between "liveconnect: Invoking JS method: document" and "liveconnect: Invoking JS method: URL".
    After "liveconnect: Invoking JS method: document" CPU goes up to about 50-60% for approx. 5 seconds. It then goes up to 100% for about a minute. Once Java continues, everything works fine. However, startup times of more then a minute is just not acceptable to our customers and most will probably close/kill their browser before that.
    Can anyone of you tell me what is exactly going on during "liveconnect: Invoking JS method: document" and why that could take so much CPU and about a minute. It is even before loading the actual JAR file, so I do not suspect the applet itself.
    Environment:
    Sun plugin v1.5.0_02
    MS IE 6.0 on WinXP SP2
    Trace level set to 5: all ... completed.
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    [ [ [ -o-o-o-o-o-o- here is the huge delay -o-o-o-o-o-o- ] ] ]
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4204, refcount=1
    network: Connecting http://*****/forms90/java/splash_et.gif with proxy=HTTP @ /194.159.73.69:8080
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    network: Connecting http://*****/forms90/java/f90all.jar with proxy=HTTP @ /194.159.73.69:8080
    basic: Loading http://*****/forms90/java/f90all.jar from cache
    basic: Reading cached JAR file from JRE 1.5 release
    basic: Certificates for http://*****/forms90/java/f90all.jar is read from JAR cache

    Java Plug-in 1.5.0_03
    Using JRE version 1.5.0_03 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Wilfred
    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>
    Trace level set to 5: all ... completed.
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    Dump thread stack ...
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):
    "Thread-2" prio=5 tid=0x04f43d28 nid=0x704 runnable [0x064ef000..0x064efb68]
         at sun.plugin.com.DispatchClient.nativeInvoke(Native Method)
         at sun.plugin.com.DispatchClient.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         - locked <0x10a19758> (a sun.plugin.javascript.ocx.JSObject)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
         - locked <0x10a19778> (a java.lang.Object)
         at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
         - locked <0x10a19908> (a java.lang.Object)
         at sun.plugin.AppletViewer.createClassLoader(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    "TimerQueue" daemon prio=5 tid=0x04f9d998 nid=0x410 in Object.wait() [0x05b7f000..0x05b7fbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x109f3438> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(Unknown Source)
         - locked <0x109f3438> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-0" prio=7 tid=0x04f83e18 nid=0xdc8 in Object.wait() [0x059bf000..0x059bfc68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x1089a910> (a java.awt.EventQueue)
         at java.lang.Object.wait(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         - locked <0x1089a910> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "ConsoleWriterThread" daemon prio=7 tid=0x04f834f0 nid=0xe6c in Object.wait() [0x058bf000..0x058bfce8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x10911098> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x10911098> (a java.lang.Object)
    "AWT-EventQueue-1" prio=7 tid=0x04f0bc48 nid=0x8e4 runnable [0x057bf000..0x057bfd68]
         at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
         at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
         at com.sun.deploy.util.ConsoleWindow$1.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.pumpApprovedKeyEvents(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.SequencedEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "traceMsgQueueThread" daemon prio=5 tid=0x04eecf48 nid=0xb48 in Object.wait() [0x055bf000..0x055bfa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Windows" daemon prio=7 tid=0x04ee6920 nid=0xd88 runnable [0x053af000..0x053afae8]
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Shutdown" prio=5 tid=0x04ee6538 nid=0x414 in Object.wait() [0x052af000..0x052afb68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5618> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x108a5618> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "Java2D Disposer" daemon prio=10 tid=0x04edf6b0 nid=0xff8 in Object.wait() [0x051af000..0x051afbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a56a0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x108a56a0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.java2d.Disposer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "Low Memory Detector" daemon prio=5 tid=0x01a7c278 nid=0xf44 runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=10 tid=0x01a7aea8 nid=0xecc waiting on condition [0x00000000..0x04c7f6cc]
    "Signal Dispatcher" daemon prio=10 tid=0x01a7a230 nid=0x3bc runnable [0x00000000..0x00000000]
    "Finalizer" daemon prio=9 tid=0x01a71670 nid=0x5f0 in Object.wait() [0x04a7f000..0x04a7fa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5848> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x108a5848> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    "Reference Handler" daemon prio=10 tid=0x01a701e0 nid=0xf54 in Object.wait() [0x0497f000..0x0497fae8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5550> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Unknown Source)
         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x108a5550> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x019afd10 nid=0x718 runnable [0x00139000..0x0013da34]
         at sun.awt.windows.WComponentPeer.createPrintedPixels(Native Method)
         at sun.awt.windows.WComponentPeer.print(Unknown Source)
         at sun.awt.windows.WCanvasPeer.print(Unknown Source)
         at sun.awt.windows.WPanelPeer.print(Unknown Source)
         at java.awt.GraphicsCallback$PeerPrintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at java.awt.Component.printAll(Unknown Source)
         at java.awt.GraphicsCallback$PrintAllCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.printComponents(Unknown Source)
         at sun.awt.windows.WEmbeddedFrame.print(Unknown Source)
    "VM Thread" prio=10 tid=0x01a6c098 nid=0xf68 runnable
    "VM Periodic Task Thread" prio=10 tid=0x01a7d450 nid=0x2ec waiting on condition
    Done.
    Dump thread stack ...
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):
    "Thread-2" prio=5 tid=0x04f43d28 nid=0x704 runnable [0x064ef000..0x064efb68]
         at sun.plugin.com.DispatchClient.nativeInvoke(Native Method)
         at sun.plugin.com.DispatchClient.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         - locked <0x10a18428> (a sun.plugin.javascript.ocx.JSObject)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
         - locked <0x10a18448> (a java.lang.Object)
         at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
         - locked <0x10a185d8> (a java.lang.Object)
         at sun.plugin.AppletViewer.createClassLoader(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    "TimerQueue" daemon prio=5 tid=0x04f9d998 nid=0x410 in Object.wait() [0x05b7f000..0x05b7fbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x109f2530> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(Unknown Source)
         - locked <0x109f2530> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-0" prio=7 tid=0x04f83e18 nid=0xdc8 in Object.wait() [0x059bf000..0x059bfc68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x1089a910> (a java.awt.EventQueue)
         at java.lang.Object.wait(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         - locked <0x1089a910> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "ConsoleWriterThread" daemon prio=7 tid=0x04f834f0 nid=0xe6c in Object.wait() [0x058bf000..0x058bfce8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x10910e78> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x10910e78> (a java.lang.Object)
    "AWT-EventQueue-1" prio=7 tid=0x04f0bc48 nid=0x8e4 runnable [0x057bf000..0x057bfd68]
         at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
         at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
         at com.sun.deploy.util.ConsoleWindow$1.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "traceMsgQueueThread" daemon prio=5 tid=0x04eecf48 nid=0xb48 in Object.wait() [0x055bf000..0x055bfa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Windows" daemon prio=7 tid=0x04ee6920 nid=0xd88 runnable [0x053af000..0x053afae8]
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Shutdown" prio=5 tid=0x04ee6538 nid=0x414 in Object.wait() [0x052af000..0x052afb68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5618> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x108a5618> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "Java2D Disposer" daemon prio=10 tid=0x04edf6b0 nid=0xff8 in Object.wait() [0x051af000..0x051afbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a56a0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x108a56a0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.java2d.Disposer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "Low Memory Detector" daemon prio=5 tid=0x01a7c278 nid=0xf44 runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=10 tid=0x01a7aea8 nid=0xecc waiting on condition [0x00000000..0x04c7f6cc]
    "Signal Dispatcher" daemon prio=10 tid=0x01a7a230 nid=0x3bc runnable [0x00000000..0x00000000]
    "Finalizer" daemon prio=9 tid=0x01a71670 nid=0x5f0 in Object.wait() [0x04a7f000..0x04a7fa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5848> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x108a5848> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    "Reference Handler" daemon prio=10 tid=0x01a701e0 nid=0xf54 in Object.wait() [0x0497f000..0x0497fae8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5550> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Unknown Source)
         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x108a5550> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x019afd10 nid=0x718 runnable [0x00139000..0x0013da34]
         at sun.awt.windows.WComponentPeer.createPrintedPixels(Native Method)
         at sun.awt.windows.WComponentPeer.print(Unknown Source)
         at sun.awt.windows.WCanvasPeer.print(Unknown Source)
         at sun.awt.windows.WPanelPeer.print(Unknown Source)
         at java.awt.GraphicsCallback$PeerPrintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at java.awt.Component.printAll(Unknown Source)
         at java.awt.GraphicsCallback$PrintAllCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.printComponents(Unknown Source)
         at sun.awt.windows.WEmbeddedFrame.print(Unknown Source)
    "VM Thread" prio=10 tid=0x01a6c098 nid=0xf68 runnable
    "VM Periodic Task Thread" prio=10 tid=0x01a7d450 nid=0x2ec waiting on condition
    Done.
    Dump thread stack ...
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):
    "Thread-2" prio=5 tid=0x04f43d28 nid=0x704 runnable [0x064ef000..0x064efb68]
         at sun.plugin.com.DispatchClient.nativeInvoke(Native Method)
         at sun.plugin.com.DispatchClient.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         - locked <0x10a18428> (a sun.plugin.javascript.ocx.JSObject)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
         - locked <0x10a18448> (a java.lang.Object)
         at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
         - locked <0x10a185d8> (a java.lang.Object)
         at sun.plugin.AppletViewer.createClassLoader(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    "TimerQueue" daemon prio=5 tid=0x04f9d998 nid=0x410 in Object.wait() [0x05b7f000..0x05b7fbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x109f2530> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(Unknown Source)
         - locked <0x109f2530> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-0" prio=7 tid=0x04f83e18 nid=0xdc8 in Object.wait() [0x059bf000..0x059bfc68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x1089a910> (a java.awt.EventQueue)
         at java.lang.Object.wait(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         - locked <0x1089a910> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "ConsoleWriterThread" daemon prio=7 tid=0x04f834f0 nid=0xe6c in Object.wait() [0x058bf000..0x058bfce8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x10910e78> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x10910e78> (a java.lang.Object)
    "AWT-EventQueue-1" prio=7 tid=0x04f0bc48 nid=0x8e4 runnable [0x057bf000..0x057bfd68]
         at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
         at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
         at com.sun.deploy.util.ConsoleWindow$1.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "traceMsgQueueThread" daemon prio=5 tid=0x04eecf48 nid=0xb48 in Object.wait() [0x055bf000..0x055bfa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Windows" daemon prio=7 tid=0x04ee6920 nid=0xd88 runnable [0x053af000..0x053afae8]
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Shutdown" prio=5 tid=0x04ee6538 nid=0x414 in Object.wait() [0x052af000..0x052afb68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5618> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x108a5618> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)
    "Java2D Disposer" daemon prio=10 tid=0x04edf6b0 nid=0xff8 in Object.wait() [0x051af000..0x051afbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a56a0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x108a56a0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.java2d.Disposer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "Low Memory Detector" daemon prio=5 tid=0x01a7c278 nid=0xf44 runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=10 tid=0x01a7aea8 nid=0xecc waiting on condition [0x00000000..0x04c7f6cc]
    "Signal Dispatcher" daemon prio=10 tid=0x01a7a230 nid=0x3bc runnable [0x00000000..0x00000000]
    "Finalizer" daemon prio=9 tid=0x01a71670 nid=0x5f0 in Object.wait() [0x04a7f000..0x04a7fa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5848> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x108a5848> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    "Reference Handler" daemon prio=10 tid=0x01a701e0 nid=0xf54 in Object.wait() [0x0497f000..0x0497fae8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5550> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Unknown Source)
         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x108a5550> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x019afd10 nid=0x718 runnable [0x00139000..0x0013da34]
         at sun.awt.windows.WComponentPeer.createPrintedPixels(Native Method)
         at sun.awt.windows.WComponentPeer.print(Unknown Source)
         at sun.awt.windows.WCanvasPeer.print(Unknown Source)
         at sun.awt.windows.WPanelPeer.print(Unknown Source)
         at java.awt.GraphicsCallback$PeerPrintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at java.awt.Component.printAll(Unknown Source)
         at java.awt.GraphicsCallback$PrintAllCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.printComponents(Unknown Source)
         at sun.awt.windows.WEmbeddedFrame.print(Unknown Source)
    "VM Thread" prio=10 tid=0x01a6c098 nid=0xf68 runnable
    "VM Periodic Task Thread" prio=10 tid=0x01a7d450 nid=0x2ec waiting on condition
    Done.
    Dump thread stack ...
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):
    "Thread-2" prio=5 tid=0x04f43d28 nid=0x704 runnable [0x064ef000..0x064efb68]
         at sun.plugin.com.DispatchClient.nativeInvoke(Native Method)
         at sun.plugin.com.DispatchClient.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         - locked <0x10a18428> (a sun.plugin.javascript.ocx.JSObject)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.AppletViewer.getDocumentBase(Unknown Source)
         - locked <0x10a18448> (a java.lang.Object)
         at sun.plugin.AppletViewer.getCodeBase(Unknown Source)
         - locked <0x10a185d8> (a java.lang.Object)
         at sun.plugin.AppletViewer.createClassLoader(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    "TimerQueue" daemon prio=5 tid=0x04f9d998 nid=0x410 in Object.wait() [0x05b7f000..0x05b7fbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x109f2530> (a javax.swing.TimerQueue)
         at javax.swing.TimerQueue.run(Unknown Source)
         - locked <0x109f2530> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Unknown Source)
    "AWT-EventQueue-0" prio=7 tid=0x04f83e18 nid=0xdc8 in Object.wait() [0x059bf000..0x059bfc68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x1089a910> (a java.awt.EventQueue)
         at java.lang.Object.wait(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         - locked <0x1089a910> (a java.awt.EventQueue)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "ConsoleWriterThread" daemon prio=7 tid=0x04f834f0 nid=0xe6c in Object.wait() [0x058bf000..0x058bfce8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x10910e78> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x10910e78> (a java.lang.Object)
    "AWT-EventQueue-1" prio=7 tid=0x04f0bc48 nid=0x8e4 runnable [0x057bf000..0x057bfd68]
         at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
         at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
         at com.sun.deploy.util.ConsoleWindow$1.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    "traceMsgQueueThread" daemon prio=5 tid=0x04eecf48 nid=0xb48 in Object.wait() [0x055bf000..0x055bfa68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x108a59c8> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Windows" daemon prio=7 tid=0x04ee6920 nid=0xd88 runnable [0x053af000..0x053afae8]
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "AWT-Shutdown" prio=5 tid=0x04ee6538 nid=0x414 in Object.wait() [0x052af000..0x052afb68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x108a5618> (a java.lang.Object)
         at java.lang.Object.wait(Unknown Source)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x108a5618> (a jav

  • How do you invoke a method with native int array argument?

    Hi,
    Will someone help me to show me a few codes samples on how to invoke a method which has only one argument, an int [] array.
    For exampe:
    public void Method1(int [] intArray) {...};
    Here is some simple code fragment I used:
    Class<?> aClass = Class.forName("Test2");
    Class[] argTypes = new Class[] {int[].class};
    Method method = aClass.getDeclaredMethod("Method_1", argTypes);
    int [] intArray = new int[] {111, 222, 333};
    Object [] args = new Object[1];
    args[0] = Array.newInstance(int.class, intArray);
    method.invoke(aClass, args);I can compile without any error, but when runs, it died in the "invoke" statement with:
    Exception in thread "main" java.lang.IllegalArgumentException: object is not an instance of declaring class
         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 Test1.invoke_Method_1(Test1.java:262)
         at Test1.start(Test1.java:33)
         at Test1.main(Test1.java:12)
    Any help is greatly appreciated!
    Jeff

    Sorry, my bad. I was able to invoke static methods and instance methods with all data types except native int, short, double and float, not sure the proper ways to declare them.
    After many frustrating hours, I posted the message for help, but at that time, my mind was so numb that I created a faulted example because I cut and pasted the static method invocation example to test the instance method passing int array argument.
    As your post suggested, "args[0] = intArray;", that works. Thanks!
    You know, I did tried passing the argument like that first, but because I was not declaring the type properly, I ended up messing up the actual passing as well as the instantiation step.
    I will honestly slap my hand three times.
    jml

  • Issue when a standalone client invoke a method on an EJB

    I do a simple ejb (like SayHello sample) and i create a standalone client that call one method of this EJB.
    When i run the client i have the following error from the eclipse IDE (Error is thrown at lookup):
    Exception in thread "main" java.lang.AssertionError: java.lang.ClassNotFoundException: test.IHelloWorld
         at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:57)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
         at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at client.MainHello.main(MainHello.java:21)
    Caused by: java.lang.ClassNotFoundException: test.IHelloWorld
         at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151)
         at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96)
         at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)
         ... 26 more
    The eclipse IDE is runwith the option -vm D:\bea\jdk160_05\bin\java
    In eclipse, i configure to use the same jdk.
    When i execute the client outside eclipse, all is ok....
    Do you have an idée ?
    This is the ejb code :
    package test;
    public interface IHelloWorld {
    public static final String JNDI_NAME = "HelloWorld";
    public String sayHello( String name);
    package test;
    import javax.ejb.Remote;
    import javax.ejb.Stateless;
    import javax.ejb.TransactionAttribute;
    import javax.ejb.TransactionAttributeType;
    import javax.ejb.TransactionManagement;
    import javax.ejb.TransactionManagementType;
    @TransactionManagement(TransactionManagementType.CONTAINER)
    @TransactionAttribute(TransactionAttributeType.REQUIRED)
    @Stateless( name="HelloWorld", mappedName= IHelloWorld.JNDI_NAME)
    @Remote( IHelloWorld.class)
    public class HelloWorld implements IHelloWorld
    public String sayHello (String name) {
    final String msg = "Hello " + name + ". The world is wonderfull...";
    System.out.println ( msg);
    return msg;
    This is the client code :
    package client;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import test.IHelloWorld;
    public class MainHello {
    public static void main (String[] args) throws Exception
    Hashtable<String, String> properties = new Hashtable<String, String> ();
    properties.put (Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    properties.put (Context.PROVIDER_URL, "t3://localhost:7001");
    InitialContext ctx = new InitialContext( properties);
    IHelloWorld hello = (IHelloWorld)ctx.lookup ( "HelloWorld#test.IHelloWorld");
    String result = hello.sayHello ( "franck");
    System.out.println ( result);
    ctx.close ();
    As you can see it is very simple but doesn't work inside eclipse IDE...
    Edited by: user11281761 on 30 juin 2009 07:13

    Oracle software purchases come with a CSI number that allows customers to have people contact support for products they own. If you or the organization you are working with has not purchased the product or have other support arrangements with Oracle (some partners have this), then you probably will not be able to obtain the patch from Oracle.
    You might be able to try a newer release of the product with an OTN evaluation license, WebLogic Server is currently on version 10.3.3, so you are at least 3 releases behind at this point if you are using 10.3.0.

  • Method.invoke hangs?

    I'm trying to send a Class over a network, then invoke a Method inside the class.
                            final Method command = clazz.getDeclaredMethod("exec");
                            try {
                                System.out.println("Invoked0");
                                command.invoke(null);
                                System.out.println("Invoked1");
                            } catch (Exception e) {
                                throw new RuntimeException(e);
                            }Only Invoked0 prints, and there is no Exception. Whats wrong?
        class CommandClassLoader extends ClassLoader {
            public Class<?> defineClass0(String name, byte[] b, int off, int len) {
                return defineClass(name, b, off, len);
        }

    Oops, didn't realize I was throwing there, its printing a NPE.
    java.lang.NullPointerException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at colby.client.Client$1$2.run(Client.java:63)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)That doesn't really make sense though? Why would it be happening there?

  • Obiee 11.1.1.6  Actions- Invoke a Java Method screen is empty

    Hi All,
    I have created and deployed an EJB for obiee11g by using the example provided in the below link
    http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/
    I have mapped oracle.bi.actions also
    But I am not able to see the java method in the obiee11g Actions- Invoke a Java Method screen .The screen is empty
    I have configured the ActionFrameworkConfig.xml as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <obi-action-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="afconfig.xsd">
    <aliases/>
    <registries>
    <registry>
    <id>reg05</id>
    <name>WaterMark EJBS</name>
    <content-type>java</content-type>
    <provider-class>oracle.bi.action.registry.java.EJBRegistry</provider-class>
    <description>WaterMark BIEE</description>
    <location>
    <path/>
    </location>
    <custom-config>
    <ejb-targets>
    <appserver>
    <context-factory>weblogic.jndi.WLInitialContextFactory</context-factory>
    <jndi-url>t3://localhost:9704</jndi-url>
    <server-name>localhost</server-name>
    <account>WLSJNDI</account>
    <ejb-exclude>mgmt</ejb-exclude>
    <ejb-exclude>PopulationServiceBean</ejb-exclude>
    </appserver>
    <ejb-app>
    <server>localhost</server>
    <app-context>watermark</app-context>
    </ejb-app>
    </ejb-targets>
    </custom-config>
    </registry>
    </registries>
    <content-types>
    <content-type>
    <typename>webservices</typename>
    <displayname>Web Services and BPEL Processes</displayname>
    <actionType>WebServiceActionType</actionType>
    </content-type>
    <content-type>
    <typename>misc</typename>
    <displayname>Mixed Services</displayname>
    <actionType>URLActionType</actionType>
    </content-type>
    <content-type>
    <typename>java</typename>
    <displayname>Java Services</displayname>
    <actionType>JavaActionType</actionType>
    </content-type>
    </content-types>
    <accounts>
    <account>
    <name>WLSJNDI</name>
    <description>Account used to access WLS JNDI.</description>
    <adminonly>false</adminonly>
    <credentialkey>JNDIUser</credentialkey>
    <credentialmap>oracle.bi.actions</credentialmap>
    </account>
    </accounts>
    </obi-action-config>
    Please help me to resolve this issue
    Regards
    Deepz

    1. check your t3 port no, in my case it's 7001.
    so i changed "<jndi-url>t3://localhost:9704</jndi-url>" to "<jndi-url>t3://localhost:7001</jndi-url>"
    2. if you run obiee 11.1.1.6.0 above, you don't need below.
    <credentialmap>oracle.bi.actions</credentialmap>
    so please drop this line.
    3. restart your server and check there's no error log when loading ActionFrameworkConfig.xml.
    Good Luck !!!

Maybe you are looking for

  • Spinning wheel of death when i launch steam from my brand new Macbook Pro 13"

    i just got my new early 2011 Macbook Pro 13" and installed steam. works fine but every so often it freezes up and i get the "spinning wheel of death". I am a new Mac user so im not really sure what to think of this. I come from PC's so obviously ive

  • Can I use Mackeeper to remove duplicate address book entries?

    On my MacBook using OS 10.7.2 and iTunes 10.5.1, after syncing with iPad2 and iPod Touch I now have 3 and 4 copies of most Address Book entries ON MY MAC BOOK. Can I use Mackeeper to remove duplicates? No option to remove duplicates ever appeared dur

  • Restore time machine backups folder or iPhoto library to get album data?

    Simply said, can I use Data Rescue or Disk Drill to restore old Time Machine backups instead of just the entire glob of files? I'm specifically looking for an iPhoto backup with albums and metadata, instead of just restoring the photos themselves. Se

  • Thrid Party DLL File

    Hi, How to use Thrid Party DLL File through Java Access Bridge or Any other way. Thanks

  • Schedule workbooks - results to excel

    Hello, I know you can schedule workbooks through discoverer plus. The results from these can be found under File > Open > View: scheduled workbooks. Is there anyway that these can be scheduled with the reults being output to excel? Thank you sarah