When i click node of tree this exception occured.. what is problem plz ...

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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)

ok, I'll bite:
Obviously, something in your code is null when it isn't supposed to be. My suggestion is to run your code in a debugger to find the source of the null value.
good luck

Similar Messages

  • I have had trouble with Firefox all week. When I click on your update this am, my free AVG 10.0.1204 disconnected and Firefox tells me it doesn't have any program to connect to it! What's going on???????? This is the 2nd problem I've had this week!!!!!

    I don't know any other details.

    Should read 'When I '''clicked''' on your update this a.m......

  • Platform is iMac OS X 10.8.5 and iPhoto 9.4.3, signed in to iCloud and selected Photo Stream. Got an invite via email to subscribe to a Photo Stream and when I click on Subscribe to this Photostream, it tells me that I need specs that I already have.

    Platform is iMac OS X 10.8.5 and iPhoto 9.4.3, signed in to iCloud and selected Photo Stream. Got an invite via email to subscribe to a Photo Stream and when I click on Subscribe to this Photostream, it tells me that I need specs that I already have.

    Thanks for responding. When I open the email and click on Subscribe to this Photo Stream, this is the message I get:
    To subscribe to Pamela Mccormack’s “Baltimore Zoo” photo stream on your iPhone, iPad, iPod touch, or Mac, open your invitation in the Mail app, and click the Subscribe button in the message. 
    To subscribe you need to be signed in to iCloud on: 
    an iPhone, iPad, or iPod touch with iOS 6 or later, or
    a Mac with OS X 10.8.2 or later and iPhoto 9.4 or Aperture 3.4 or later
    So I have Mac OS X 10.8.5 and iPhoto 9.4.3 installed.

  • I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?

    I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?

    Firefox does not have a built-in "Run" option on downloads for security reasons. If you "Run" an item, your anti-virus/anti-spyware may not have an opportunity to fully examine the contents until it is already installed on your hard drive. Result: damage, if infected, is already installed on your system.
    With that in mind, you can install the following add-on, but you accept the risk mentioned above ('''NOTE:''' the developer has not updated this product -- OR any of his other 7 extensions -- to be compatible beyond Firefox 3.6.x; therefore, when you upgrade to a more current version of Firefox, you may lose the functionality of the add-on if the developer does not update it.):
    *https://addons.mozilla.org/en-US/firefox/addon/opendownload/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • To the left are 3 balls, red, yello, green, that go around in a circle. when i click on them it says download helper, what is that for and how do I learn more about them?

    to the left of the URL are 3 balls, red, yellow, green, that go around in a circle. when i click on them it says download helper, what is that for and how do I learn more about them?

    Thanks, this is very helpful, and resolved my question
    dan

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • In my apple iphone 3gs when i try to download any software when i click on download button disappear tell me what to do

    in my apple iphone 3gs when i try to download any software when i click on download button disappear tell me what to do

    Contact itunes support

  • LR CC has just been installed but when I click on the desktop icon nothing happens, what can I try?

    LR CC has just been installed but when I click on the desktop icon nothing happens, what can I try?

    Probably is
    You need a minimum of 10GB of free space for normal operations
    You need to address that first - the best soution may be to get an external drive formatted Mac OS extended (journaled) and drag your iPhoto library to it - depress the option key and launch iPhoto and point to that library
    Hopefully that will let you get started - there may be additional repairs needed
    LN

  • How to trigger event when double click on a tree node

    I have this code which creates new tab in a remote Java Class.
    treeView.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<TreeItem<String>>()
       @Override
       public void changed(ObservableValue<? extends TreeItem<String>> observable, TreeItem<String> oldValue, TreeItem<String> newValue)
       System.out.println("Selected Text : " + newValue.getValue());
       // Create New Tab
       Tab tabdata = new Tab();
       Label tabALabel = new Label("Test");
      tabdata.setGraphic(tabALabel);
       DataStage.addNewTab(tabdata);
    Can you tell me how I can modify the code to open new tab when I double click on a tree node. In my code the tab is opened when I click once. What event handler do I need?

    import java.util.Arrays;
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.StackPane;
    import javafx.scene.control.TreeCell;
    import javafx.scene.control.TreeView;
    import javafx.scene.control.TreeItem;
    import javafx.scene.control.SelectionMode;
    import javafx.util.Callback;
    public class TreeTest extends Application {
      public static void main(String[] args) {
        launch(args);
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("TreeView Test");
        primaryStage.setScene(createScene());
        primaryStage.show();
      private Scene createScene() {
        final StackPane stackPane = new StackPane();
        final TreeView<String> treeView = new TreeView<String>();
        treeView.setRoot(createModel());
        treeView.getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
        treeView.setCellFactory(new Callback<TreeView<String>, TreeCell<String>>() {
          @Override
          public TreeCell<String> call(TreeView<String> treeView) {
            return new ClickableTreeCell();
        stackPane.getChildren().add(treeView);
        return new Scene(stackPane);
      private TreeItem<String> createModel() {
        TreeItem<String> root = new TreeItem<String>("RootNode");
        TreeItem<String> packageA = new TreeItem<String>("package A");
        packageA.getChildren().addAll(
            Arrays.asList(new TreeItem<String>("A1"), new TreeItem<String>("A2"), new TreeItem<String>("A3"))
        TreeItem<String> packageB = new TreeItem<String>("package B");
        packageB.getChildren().addAll(
            Arrays.asList(new TreeItem<String>("B1"), new TreeItem<String>("B2"), new TreeItem<String>("B3"))
        root.getChildren().addAll(Arrays.asList(packageA, packageB));
        return root;
      private class ClickableTreeCell extends TreeCell<String> {
        ClickableTreeCell() {
          setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent event) {
              // Handle double-clicks on non-empty cells:
              if (event.getClickCount()==2 && ! isEmpty()) {
                System.out.println("Mouse double-clicked on: " + getItem());
        @Override
        protected void updateItem(String item, boolean empty) {
          super.updateItem(item, empty);
          if (empty) {
            setText(null);
          } else {
            setText(item);

  • Displaying JPanel when clicking nodes in Tree

    I've two panes.
    the one on the left is a JTree while the one on the right holds a JPanel..
    Is there a way such that when i clicked the node of the tree, the correct JPanel would show the pane i want?
    thanks!

    Quit being so impatient. There is no requirement of the forum that says anybody will respond withing 20 minutes. In fact its the weekend and many people are still in bed.
    I tend to ignore people who constantly bump posts in a short period of time and who cross post. I hope other do as well.

  • Why only gets one node when select many nodes of tree in DWCS4 on Mac OS

    I use tag <mm:treecontrol> to create tree in DWCS4 on Mac OS.
    When I select many nodes in tree, but I only get one node by method: selectedNodes.
    codes of created tree as following:
    <mm:treecontrol name='tree' size='20' multiple noheaders>
         <mm:treecolumn state='hidden'>
              <mm:treenode value='A' state='expanded'></mm:treenode>
              <mm:treenode value='B' state='expanded'></mm:treenode>
              <mm:treenode value='C' state='expanded'></mm:treenode>
    </mm:treecontrol>
    Who can  tell me reasons?
    Thanks!
    comments: if don't use tag <mm:treecolumn>, tree will not show on Mac OS.

    Hi macbig,
    I finally got to look at my sister's computer. The HDD "Repair Disk" found missing threads, missing directory records, etc. and ended with:
    Error: Disk Utility can't repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-
    up files.
    Then, I tried "Verify Disk" and it found invalid volume file count and ended with:
    The volume Macintosh HD was found corrupted and needs to be repaired.
    Error: This disk needs to be repaired. Click Repair Disk
    I guess running Apple Hardware Test is not going to happen. :/
    I've ordered online a new 2.5 disk, make a Maverick boot USB, and start from scratch. Do you have any other suggestions?
    As for the corrupted old hard drive, do you have any suggestions of how to get out the data somehow?
    Thank you so much!

  • I not able to open any links in the emails I receive and get an "Error: No associated application could be found" when I click on it. HELP!! What's going on? This happened after I downloaded Chrome and then

    I not able to open any links in the emails I receive and get an "Error: No associated application could be found" when I click on a link. HELP!! What's going on? This happened after I downloaded Chrome and then decided to delete it. 

    I have Lion and I just came across this link and it took care of the problem.
    Jose Antonio Solis
    Re: Lion: Delete google chrome completely include user profile?
    Try deleting:
    ~Library/Application Support/Google
    and
    ~Library/Caches/Google/Chrome

  • HT1222 when I Clicked to update, appear this message: An error occurred while installing the updates.(103)

    when I Clicked to update iTunes, appear this message: An error occurred while installing the updates.(103)

    Read all 3 pages of this thread:  https://discussions.apple.com/thread/4148868?start=15&tstart=0 for possible solutions. 
    Good luck! 

  • Is there a way to force firefox to send ajax-request when user clicks on a link and redirect occurs?

    I'm trying to send ajax-request with web-analytics data when user clicks on a link. But Firefox cancels the request and moves to the link location. Sync requests or waiting for response is not an option because performance is critical.

    Correct me if I'm wrong here:
    <code>jQuery.data()</code> saves the <code>{"foo": "bar"}</code> JSON object to variable <code>data</code>, and then the <code>s.tl()</code> call sends <code>data</code> to the server, right?
    You could use jQuery's [http://api.jquery.com/event.preventDefault/ <code>event.preventDefault()</code>] method to stop the browser from automatically following the link on click. You could wait until the Ajax request was finished before following the link.
    <hr>
    I hope that solved your problem!
    <i>If it did, would you please choose this answer as your solution? It would help other Firefox users to find help on the forums faster and more efficiently. Thanks!</i>
    And of course, feel free to post back if you need more help!
    Happy browsing!

  • I've iPhone 4s, and I am trying to update it to iOS 5.1 I've downloaded the software from iTunes, but when I click to install it, it says: "There was a problem downloading the software for the iPhone 'Donnbjj1's IPhone'. An unknown error occurred (1480)"

    I have an Iphone 4s 32gb and i'm trying to update it to ios 5.1. i've downloaded the software from itunes but when i click on it to install it to my actual phone it says: "There was a problem downloading the software for Iphone 'Donnbjj1's Iphone' . An unknown error occurred (1480)."

    iOS: Resolving update and restore alert messages
    For error -50: See error 13 and 14: 
    Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.

Maybe you are looking for

  • Upgrade using another phone on my family plan

    I have a family plan. One of my regular non data phones is eligible for an upgrade, but my Iphone 3G is not. Can I go to ATT and sign a new 2 year contact on the non data phone and upgrade my 3G to a 3GS? I don't want a data plan on the other phone,

  • I Need help to remove or change link on photo gallery web site menu

    Hi, I am not a flash specialist. I want to insert a photogallery in my web page. I purchased on line a photo gallery Template made on flash and I am unable to desable the menu on the gallery or change the link on gallery menu to link to my other page

  • What printers are compatible with Mac Book Pro's?

    Hi All, Just looking to buy a printer for my Mac Book Pro but I don't know which ones are compatiable... Any suggestions or do you know where I can find a list of compatible printers?? Thanks

  • My CS5 Bridge opens images into Quicktime by Default rather than PS or ACR

    I recently changed from an old pc running XP Service Pack 3 to a new computer running 7 and upgraded from CS4 to CS5 with an "upgrade disc". When I double click in Bridge to open into PS or ACR the images open into Quicktime by default. A secondary t

  • ALE - Receiving problem

    Hello,         I am sending material in bulk quantity more than 1000. There I am getting message in WE02 it is displaying status in ORANGE color with following message. Kindly suggest how to solve this problem. <b> IDoc: 0000000000000025 Status: IDoc