JDK6 SwingUtilities NullPointerException when user try to open Popup Window
When user clicks first time, the popup menu displayed without any error. User clicks again approx. 4-6 times to open the same popup screen and the popup menu will be displayed with the NullPointerException error. After NullPointerException user is not able to clikc on any button. Swing GUI is hanging & not recognizing the event selected by user in GUI Window and failing with the error NullPointerException.
JVM Version (Tested with the Latest JDK version):-
jdk1.6.0_35
jdk1.6.0_37
Code:-
( (JPopupMenu)popupMenuView ).show( JTree, location.x, location.y );
Error:-
java.lang.NullPointerException
at javax.swing.SwingUtilities.getWindowAncestor(SwingUtilities.java:120)
at javax.swing.Popup.dispose(Popup.java:113)
at javax.swing.Popup.hide(Popup.java:105)
at javax.swing.ToolTipManager.hideTipWindow(ToolTipManager.java:322)
at javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:555)
at java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:293)
at java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:292)
at java.awt.Component.processMouseEvent(Component.java:6303)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4356)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4218)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:627)
at java.awt.EventQueue$2.run(EventQueue.java:625)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:641)
at java.awt.EventQueue$3.run(EventQueue.java:639)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Sounds like s concurrency issue. does your code respect Swing's single threaded rule?
http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html
db
Similar Messages
-
Came home to find computer restarted, which I assume is an automatic Firefox update.
When I try to open Firefox, window pops up saying "Close Firefox" and, "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."
I'm unable to open the program at this time, lots of critical work info stored there - please help. Thx.
NealSee "Hang at exit":
*http://kb.mozillazine.org/Firefox_hangs
*https://support.mozilla.com/kb/Firefox+hangs -
Can someone tell me why we are getting this error message when users try to open?
It was created in LiveCycle and Reader Extensions were given before posting it to the website. Normally if you open in Firefox or IE, it will work (sometimes).
We would also really appreciate an answer to this question. We are having the exact same issue with some new forms we have created. They were created in Adobe LiveCycle Designer ES4, and then usage rights were extended in Adobe Acrobat XI Pro.
When this issue is encountered we send the old version of the form, it was created using the same process a number of years ago, so the only difference is that we were using older versions of both programs. The same recipients who have an issue with the new form are always able to open the old forms.
Help! Does anyone have a solution. Thanks very much! -
When i try to open any window freezes or hang
hp pavilion slimming s5000 series
s#[removed for privacy] product #BM415AA#ABA model s5620ffatalbert38 wrote: hp pavilion slimline s5000series product #BM415AA#ABA
model s5620f
Hello fatalbert38, Can you advise a little more information about the "windows freezes or hang"?
What version of operating system are you using? Either 32 bit or 64 bit?
Can you boot into the Windows desktop before the freeze of hang occurs?
We need just a little more information please.
Please click the White Kudos star on the left, to say thanks.
Please mark Accept As Solution if it solves your problem. -
When I try to open iTunes I get an error message
I cannot open iTunes. I have uninstalled and reinstalled several times and nothing has helped yet. I get the following error message when I try to open iTunes:
Windows cannot find ‘C:\Program Files(x86)\iTunes\iTunes.exe’. Make sure you typed the name correctly, and then try again. I am using Windows 7 64-bit. If anyone can help it would be greatly appreciated.It was malware. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\itunes.exe.
Ack ... yeah, basically it's targeting the Registry key that tells Windows what to do when you click on iTunes desktop icons.
Glad things are working better, bryant, but given that the last Malwarebytes scan I saw for this characterised the infection as a (Security.Hijack), it might be prudent to check to see if there's any unexplained charges showing up on your iTunes account or any other charges on any credit card you have listed for an iTunes Store account. (I don't know whether or not this one is able to successfully grab any info, but there's no harm in being wry.) -
Version is 7.0.1
Windows 7 64 Bit
I can open FF under my user name which is not an Administrator,
but when I try to open it under one of the Administrator names I get that error message. I do have the password for that administrator.Upgrade your browser to Fiefox 8 and check
* getfirefox.com -
I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path? When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?
Some of the following is going to use some technical terms — this area is inherently somewhat technical.
If you don't understand some part of the following reply, please ask.
Is this your own OS X Server system on your own network, or is this some other server within some larger organization?
You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured. This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
http://10.20.30.40
UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share. That's used if you're connecting to an Apple storage service somewhere on your network. You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server. (There can be additional requirements for connecting to Windows Server systems, too.)
If there's local IT staff available here, please contact them for assistance. If these are your own local systems and your own local OS X Server system, then some information on the server will be needed. (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.) -
I use 2 accounts, one for work and one for personal.
I have Microsoft Office, in my applications, and I can find it in my work user account, but when I try to open it, it keeps doing start up for Auto updates. and wont open the application. It works fine in my personal (Admin) account which is where I did migration when I bought the laptop. And I've looked on here for similar problems, and everyone says if it's in your applications it should work, but I can't open mine.
Anyone know what I can do?Go to the main Library folder and look for a folder called Application Support / Microsoft.
There are a few folders in there, and you may have to do some digging. In one of them (mine is called MAU2.0), there should be a file called Microsoft Autoupdate. Open it.
It looks like this:
check the button for manual updates.
That should let you open the apps without triggering an automatic update. -
When I try to open my Aperture Library, I get this message: "There was an error opening the database for the library “/Users/alyssabouma/Pictures/Aperture Library.aplibrary”.
I have already uninstalled and reinstalled the library....Help!!lyssalou,
what is your Aperture version and what is your MacOS X version?
What happened, before this problem occurred? Did you import images, install software, move the Aperture library?
I have already uninstalled and reinstalled the library....Help!!
What do you mean by reinstalling the library? Did you reinstall Aperture?
You might start the trouble shooting with using the Aperture Library First Aid Tools - repairing the permissions, repairing the library, and rebuilding, if necessary, see:
Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
Before rebuilding the library, make a backup of the Aperture Library, if you do not have one.
Regards
Léonie -
Error code -50 when certain users try to open a document
Got a 17" G5 iMac serving a lab of 14 eMacs. A few users have been having problems accessing items in their home folders. When they try to open a certain recently created document, they get an error message with the code -50. I have identified this as a user parameter list error, but I don't know how to go about correcting it. I have two user groups, and all users and machines in question have the same permissions. I have checked the ownership on affected files--no problem with permissions.
I can open other pdf documents that were scanned then saved to microsoft word. I can't open those in my scanned file.
When I open acrobat reader, I get the same message. I downloade adobe acrobat reader XI to see if that would help and it doesn't I get the same message.
Best regards
Michael Majsak
Director of Marketing & Sales -
I can open various most other *.htm or *.html files on my C drive without a problem. However, there are other HTML files on the drive that do have this problem when I try to open them.
When I try to open the file in Internet Explorer rather than Firefox, I get a message that JavaScript is not enabled. However, I do have JavaScript enabled, and have just updated Java to Version 7, Update 51.One of the problems with saving web pages from complex dynamic sites like Gmail is that you may be saving the instructions for rendering the page rather than the actual content of the page. In that case, if you are logged out of your account or there is a cross-site security bar to pulling the needed data, then the saved page may not display correctly or at all. If a message is critical, it's a good idea to print or save the page to PDF or grab a screen shot to work around that problem.
The message you're getting in Internet Explorer may be related to the fact that IE has different security zones with different restrictions. For example, sites in the Internet Zone normally can run JavaScript, and sites in the Restricted Sites list cannot. The local computer zone has much tighter security compared with the old IE6/XP days, and that may explain what you're seeing there.
P.S. Browsers interpret JavaScript internally without using the Java plugin. -
When I try to open photoshop I get a "help adobe improve it's produts" dialog box. No matter what I do, I get this box when I try to open a file in photosop never opens although it appears to be
Hi Steadyalberta,
Something might be preventing Photoshop from being able to save your selection on the dialog window properly. You might try right clicking and choose Run as Administrator on the Photoshop icon when launching (Windows) or test if the behavior persists when using a newly created admin user account.
Hope that helps,
- Dave -
I just updated my RAM (replaced the two 2 gig cards with two Corsair 8 gig cards) and I keep getting a crash report. I have a 21.5 Inch mid 2010 imac. I also am experiencing slow load times with Photoshop and when I try to open Final Cut it says that quartz extreme is not compatible and that I have no VRAM even though I do.
Here is the crash report:
Interval Since Last Panic Report: 5426204 sec
Panics Since Last Report: 2
Anonymous UUID: 2DD57DDB-BB42-5614-395A-CA6225BDAFD9
Wed Mar 20 11:36:53 2013
panic(cpu 0 caller 0xffffff801aa43d8e): "a freed zone element has been modified in zone: maps"@/SourceCache/xnu/xnu-2050.18.24/osfmk/kern/zalloc.c:219
Backtrace (CPU 0), Frame : Return Address
0xffffff81eb0eb950 : 0xffffff801aa1d626
0xffffff81eb0eb9c0 : 0xffffff801aa43d8e
0xffffff81eb0eba00 : 0xffffff801aa435d2
0xffffff81eb0ebae0 : 0xffffff801aa663f7
0xffffff81eb0ebb20 : 0xffffff801aa67398
0xffffff81eb0ebc70 : 0xffffff801aa6887c
0xffffff81eb0ebd20 : 0xffffff801ad5b8fe
0xffffff81eb0ebf50 : 0xffffff801ade182a
0xffffff81eb0ebfb0 : 0xffffff801aaced33
BSD process name corresponding to current thread: launchd
Mac OS version:
Not yet set
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x000000001a800000
Kernel text base: 0xffffff801aa00000
System model name: iMac11,2 (Mac-F2238AC8)
System uptime in nanoseconds: 1070542822
last loaded kext at 707348380: com.apple.driver.AppleIRController 320.15 (addr 0xffffff7f9c53e000, size 28672)
loaded kexts:
at.obdev.nke.LittleSnitch 3908
com.apple.driver.AppleIRController 320.15
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AirPort.Atheros40 600.70.23
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AppleUSBUHCI 5.2.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: iMac11,2, BootROM IM112.0057.B00, 2 processors, Intel Core i3, 3.2 GHz, 16 GB, SMC 1.64f5
Graphics: ATI Radeon HD 5670, ATI Radeon HD 5670, PCIe, 512 MB
Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.70.23-P2P
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 0 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: HL-DT-STDVDRW GA32N
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 3There have been a few reports on here where Corsair RAM seems to have caused users a lot of grief with crashes.
The recommendation on here, mostly, is to only buy RAM from macsales.com or crucial.com as they guarantee their modules will work and offer a no quibble lifetime guarantee.
I'd put the original RAM back in, return the Corsair chips for a refund and re-order from one of those two companies.
http://eshop.macsales.com/shop/apple/memory/iMac
http://www.crucial.com/ -
== Issue
==
Firefox is having problems with certain web sites
== Description
==
I can get into AOL on Firefox, but cannot open e-mails. It "hangs" on loadfing an e-mail when I try to open one.
== URL of affected sites
==
http://www.aol.com
== Troubleshooting information
==
I just get a loading message with my wheel turning, but it just hangs and doesn't open.
== Firefox version
==
3.6.6
== Operating system
==
Windows Vista
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 GTB7.1 (.NET CLR 3.5.30729)
== Plugins installed
==
*-np-mswmp
*1.9.0042.0
*npdnu
*npdnupdater2
*Adobe PDF Plug-In For Firefox and Netscape
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*6.0.12.732
*RealPlayer(tm) LiveConnect-Enabled Plug-In
*RealJukebox Netscape Plugin
*Default Plug-in
*Provides additional functionality on Facebook. See our web site for details.
*Shockwave Flash 10.0 r22
*Adobe Shockwave for Director Netscape plug-in, version 11.5
*iTunes Detector Plug-in
*GEPlugin
*4.0.50524.0
*Office Live Update v1.3
*Virtual Earth 3D 4.00090316005 plugin for Mozilla
*NPWLPG
*RealPlayer(tm) HTML5VideoShim Plug-In
*Google Updatethe settings program will not allow me to enter any of those cells. the accounts section is all in grey scale (not black) and none will open including "add account"
-
I have iPhone 4s, and using latest iOS. When I try to open any link from Twitter or Facebook, it goes to open some wrong webpage. My iphone seems to be infected or suffering from some spyware or malware. How can I remove this wrong link opening ? Please help me to resolve...
I think the McAfee suite will do the trick when I pay them a one-time fee of $69 or $179 for a year for unlimited support.
Your call of course but IMO a waste of money. Please read this first:
There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
https://discussions.apple.com/docs/DOC-2435
The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
More useful information can also be found here:
http://www.reedcorner.net/mmg/
Maybe you are looking for
-
Standard report for the cost of raw materail in production of finished good
Is there any standard report for calculation of raw material cost from the production order of finished goods.? plz help in this issue. Thanks.
-
I am missing the 'print to pdf' option on my entire adobe creative suite 'HELP!'
I really need some help. After installing a new printer to my computer I noticed that my adobe programs would not longer allow me to Print to PDF. I originally thought it was a problem with my mac, but after doing tech support with them, we discove
-
Connecting Mac Mini wirelessly to PC router
Hi all, I have recently purchased a MAC mini. Using the network setup assistant, I am able to see the wireless network I have setup in my home. It is password protected and the password has been accepted on my Mac. I am unable to connect so I open up
-
Graduated Filter creates saturated image
Still getting to grips with Lightroom 3 and the graduated filter is working in strange ways. When I apply it the whole image goes super saturated and high in contrast. I have to click back in the history and then back on to the latest adjustment to m
-
Trouble with mass amount of text and clipping mask - please help!
I have a curvy vector image that I want text to appear in, then create a clipping mask. When I try this I get a message saying that the text object is extremely complex and might not print. The file is impossible to move around and sometimes crashes