Why the ScrollDemo sample can not be debugged in Eclipse?
Hi, All,
I am an newer of the Swing/JFC. When I debugged the ScrollDemo in Eclipse 3.0.2, it always reported an exception at setRowHeaderView(...). But it could run perfectly. So I am confused. Who can tell me whether it is a bug of Eclipse or a bug of the ScrollDemo sample?
Thanks,
Terry Nee
The debug window displays:
Thread [DestroyJavaVM] (Running)
Thread [AWT-Shutdown] (Running)
Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception ArrayIndexOutOfBoundsException))
JViewport(Container).getComponent(int) line: not available
JViewport.getView() line: not available [local variables unavailable]
JViewport.getViewPosition() line: not available [local variables unavailable]
MetalScrollPaneUI(BasicScrollPaneUI).updateColumnHeader(PropertyChangeEvent) line: not available
BasicScrollPaneUI$Handler.scrollPanePropertyChange(PropertyChangeEvent) line: not available
BasicScrollPaneUI$Handler.propertyChange(PropertyChangeEvent) line: not available
PropertyChangeSupport.firePropertyChange(PropertyChangeEvent) line: not available
PropertyChangeSupport.firePropertyChange(String, Object, Object) line: not available
JScrollPane(Component).firePropertyChange(String, Object, Object) line: not available
JScrollPane.setColumnHeader(JViewport) line: not available
JScrollPane.setColumnHeaderView(Component) line: not available
ScrollDemo.<init>() line: 55
ScrollDemo.createAndShowGUI() line: 114
ScrollDemo.access$0() line: 105
ScrollDemo$1.run() line: 128
InvocationEvent.dispatch() line: not available [local variables unavailable]
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForHierarchy(int, Component) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available [local variables unavailable]
Thread [Java2D Disposer] (Running)
Similar Messages
-
Why the Oracle Coherence can not run successsfully?
Why the Oracle Coherence can not run successsfully?
When I run the costomized cache-server.cmd file, the following error message shows up:
C:\coherence\examples\java> *contacts-cache-server.cmd*
2009-10-22 10:57:10.609/0.563 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational configur
ion from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational override
from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration overri
"/tangosol-coherence-override.xml" is not specified
2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration overri
"/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.5.2/463
Grid Edition: Development mode
Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
2009-10-22 10:57:11.062/1.016 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a): Loaded cache configurati
from "file:/C:/home/oracle/coherence/Contacts/contacts-cache-config.xml"
2009-10-22 10:57:12.078/2.032 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Service Cluster joined
e cluster with senior service member n/a
2009-10-22 10:57:15.328/5.282 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): Created a new cluster
cluster:0xD3FB" with Member(Id=1, Timestamp=2009-10-22 10:57:11.734, Address=192.168.16.83:8088, MachineId=30803, Loca
on=site:metsys.metex.com,machine:NECu10,process:3820, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, Cp
ount=4, SocketCount=4) UID=0xC0A81053000001247CC05C3678531F98
2009-10-22 10:57:15.375/5.329 Oracle Coherence GE 3.5.2/463 <D5> (thread=Invocation:Management, member=1): Service Man
ement joined the cluster with senior service member 1
2009-10-22 10:57:15.875/5.829 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:PartitionedPofCache, member=
: Service PartitionedPofCache joined the cluster with senior service member 1
2009-10-22 10:57:15.890/5.844 Oracle Coherence GE 3.5.2/463 <Info> (thread=DistributedCache:PartitionedPofCache, membe
1): Loading POF configuration from resource "file:/C:/home/oracle/coherence/Contacts/classes/contacts-pof-config.xml"
2009-10-22 10:57:15.906/5.860 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:PartitionedPofCache, memb
=1): Terminating DistributedCache due to unhandled exception: com.tangosol.util.WrapperException
2009-10-22 10:57:15.906/5.860 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:PartitionedPofCache, memb
=1):
(Wrapped) (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Failed to parse PO
configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exception occurred during parsing: looking for id
, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0
urier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
at com.tangosol.coherence.Component._newChild(Component.CDB:47)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onServiceStarted(
stributedCache.CDB:99)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onServiceState(Grid.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.setServiceState(Grid.CDB:21)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$NotifyStartup.onReceived(Grid.CDB:
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(Distribu
dCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Unknown Source)
Caused by: (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Failed to parse P
configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exception occurred during parsing: looking for i
9, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0
ourier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:49)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.instantiateFromBi
ryConverter(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext
etClassLoader(DistributedCache.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext
nInit(DistributedCache.CDB:2)
at com.tangosol.coherence.Component._newChild(Component.CDB:41)
... 10 more
Caused by: (Wrapped: Failed to parse POF configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exceptio
occurred during parsing: looking for id=9, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\de
ang4105{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1311)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:812)
at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:762)
at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:325)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:45)
... 14 more
Caused by: java.io.IOException: Exception occurred during parsing: looking for id=9, found id=3((0,0,65) Character Dat
Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fmodern\fcharset0 Couri
-Bold;}{\f2\fswiss\fcharset0 Arial;}}....
{code}
The content of the contacts-cache-server.cmd file is shown here under:
(its location is C:\coherence\examples\java
{code}@echo off
setlocal
if (%COHERENCE_HOME%)==() (
set COHERENCE_HOME=c:\coherence
set CONFIG=C:\home\oracle\coherence\Contacts
set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\coherence\Contacts\classes
set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
:exit{code}
The contents of the contacts-cache-config.xml file is shown here under:
(its location is C:\home\oracle\coherence\Contacts
{code}<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
<service-name>PartitionedPofCache</service-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>String</param-type>
<param-value>contacts-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<local-scheme>
<!-- each node will be limited to 250MB -->
<high-units>250M</high-units>
<unit-calculator>binary</unit-calculator>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>{code}
The contents of the contacts-pof-config.xml file is shown here under:
{code}
<?xml version="1.0"?>
<!DOCTYPE pof-config SYSTEM "pof-config.dtd">
<pof-config>
<user-type-list>
<!-- coherence POF user types -->
<include>coherence-pof-config.xml</include>
<!-- com.tangosol.examples package -->
<user-type>
<type-id>1002</type-id>
<class-name>com.tangosol.examples.model.Contact</class-name>
</user-type>
<user-type>
<type-id>1003</type-id>
<class-name>com.tangosol.examples.model.Address</class-name>
</user-type>
<user-type>
<type-id>1004</type-id>
<class-name>com.tangosol.examples.model.Phone</class-name>
</user-type>
</user-type-list>
<allow-interfaces>true</allow-interfaces>
<allow-subclasses>true</allow-subclasses>
</pof-config> {code}I have saved it as a XML documetent. it this OK?
What the following error message shows us?
Caused by: (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.UnsupportedClassVer
sionError: Bad version number in .class file
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:49)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.instantiateFromBina
ryConverter(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext.s
etClassLoader(DistributedCache.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext.o
nInit(DistributedCache.CDB:2)
at com.tangosol.coherence.Component._newChild(Component.CDB:41)
... 10 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:2969)
at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1215)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:973)
at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:762)
at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:325)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:45)
... 14 more
2009-10-22 17:24:14.995/2.922 Oracle Coherence GE 3.5.2/463 <D4> (thread=ShutdownHook, member=2): ShutdownHook: stopping
cluster nodeEdited by: junez on 22-Oct-2009 14:30 -
Why the 2LIS_08TRTK extractor can not get all data
Hello, BW Gurus.
Why the 2LIS_08TRTK and 2LIS_08TRTLP extractors can not get all data. I had used the RSA3 and get 10 registers, when a check at the VTTK table I had 20 registers, I didnt use filters at RSA3, could you help to know what happen o correct it.Is it because
<i>
Shipment documents and their dependent objects (shipment stages as well as shipment items [deliveries in the shipment]) are only extracted into BW when the Shipment completion status has been set.
This is necessary because the numeric values that result from the delivery documents are only established at the time. If the data were already stored earlier in BW, the shipment data would not be updated if the delivery notes were changed in BW.
</i>
- from oss note 573470. -
Why the Blank DVD can not be found in Super Drive?
With my new Mac Book Pro which I created severeal DVDs in past month, all of a sudden I have problem. In Both DVD Studio Pro and iDVD I can not burn the final video which is 35 minutes. Each time I attempt to burn my project, the disk is ejected with a message asking me to insert an acceptable disk because it couldn't find the blank DVD. I have used different brands and still no luck. I tested my hard drive with *TechTool Deluxe* and also the Mac Book Pro's 1st dick of installation and in both cases everything was fine and passes the test. I've updated all of my soft ware as well.
Would you please kindly share your knowlege to solve this problem.Thank you for your time. I have tried Verbatim(Digital Movie DVD-R) which I used before with my Mac Book Pro and also apple DVD-R. Yes I can see my own burned DVDs and also all commercial one in my drive.
Any suggestions -
TS1363 why the i tunes can not show in my ipod?
please kindly help me because i can not connect the itunes to my ipod?
There is a glitch with the calendar app and April 1st, 2013, SInce that is the beginning of daylight savings time, and the true length of the day is relative, if you have any all day events on April 1, it messes with the whole month (since 'all day' can be 23, 24 or 25 hours due to the springing forward)
Make that all day app only last a few hours and the rest of the month will show back up. -
Why the jsp page can not be displayed every time?
I created a jsp page which accesses the data from the oracle database and generates some dynamic results at run time. Most of the time the page works well, but randomly the page can not be displayed. It seems not an application issue. Can someone tell me what's the problem there?
Thanks in advance.but randomly the page can not be displayed. When does this happen?
What are the error messages, if any, that you get?
Give more details.
Manoj -
Why the Olap Forum can not be hot recently?
There r very few people post new topic in the OLAP!!
I wonder why??What is the video converted from? And what format is it converted to?
Premiere Elements is technically not a conversion program. It's a video editor. But if you can tell us what type of camcorder your original video came from and what specs you output, that would be helpful.
It also might help to know which version of Premiere Elements you're using. -
Why the adobe reader can not show Chinese word
Hi All,
i am using WinXP SP2, CFMX7 version 7.0.1, MySQL and the
latest version of report builder.
i wish to do a report which can show chinese word and english
word as well. However, the report can only show english and the
report will replace '?' in every chinese character. Why and how to
solve it?
The CF can insert chinese charater into DB.[email protected] wrote:
> Dear Paulh,
>
> no font can display chinese.
> Where should i trun on identity-H? i dint see.
preferences or simply press the F8 key.
> when i enter chinese character into my DB, the cf able
to catch and display on
> the screen. BTW, if u insert chinese character within
<cfoutput>#??#</output>
> , an error msg will display. If u insert like this
<cfoutput>??</output>, it
> will display as '??'
not following you. -
Why the JCA adapter can not be undeployed on SAP XI?
Hi Friends,
My JCA adapter cannot be undeployed on SAP XI using SDM tool.
Internally, the JCA adapter use "SAPAdapterResources.startRunnable" to starts three threads. Three threads are all started and stoped in start() and stop() method in "SPIManagedConnectionFactory" class. And in the run() method of each thread, it uses "while" loop and "Thread.sleep()" to execute specific tasks in the background.
Does it caused by incorrect thread management? Or are these any other reason that may cause JCA adapater not undployed?
Thanks & Regards,
JasonHi Jason,
Please have a look at these..
SAP inbound activation on SAP JCA adapter
JCA & external libraries
Hope these help!
cheers,
Prashanth -
My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad .
Are you using the Sky Go app to try and watch it ? If so are you logged in with your Sky account ?
If you are using the app then you could try closing the app completely and see if it works when you re-open it : from the home screen (i.e. not with Sky Go 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Sky Go app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
Why my iphone screen can not open the key and can not enter the menu
why my iphone screen can not open the key and can not enter the menu
Your issue is not clear - are you saying your phone is disabled and/or you forgot the passcode?
http://support.apple.com/kb/ht1212 -
Why do I keep getting the "Your purchase can not be completed at this time"?
Why do I keep getting the "Your purchase can not be completed at this time"? I change the email address, credit card, confirmed new billing information and still can't make an In-App purchase.
This sounds like an error in the activation of your device, not to do with syncing. After the restore, did the device activate?
-
Whenever I try to backup my ipad to iCloud, I get the following error message and can't work out why " the last backup could not be completed" I am connected to my wi FI and iPad off and connected to power. Please can anyone help ?
In settings>general> cellular do you have it turned ON?
-
Why in SE16 we can not see New Data Table for standard DSO
Hi,
We says that there is three tables (New Data Table, Active Data Table and Change Log Table) of Standard DSO, Then Why in SE16 we can not see New Data Table of Standard DSO.
Regards,
SushantHi Sushant,
It is possible to see the 3 DSO tables data in through SE16. May be you do not have authorization to see data through SE16.
Sankar Kumar -
How can I relocate songs from my Itunes? Itunes tells me that the original files can not be found! can someone help?
punzete wrote:
I can't do it that way. I erase these songs from the iTunes Library, but when I sycronize the iPhone, all these songs are copied again to the Library. Isn't there any way to stop that? Everything I buy on iTunes Store through my iPhone cannot be erased from the iPhone?
WHY can't you do it the way 100 million people do it?
Maybe you are looking for
-
Can not see the administration tab in EM
Hi, I installed Oracle 10g EE Release 2. However, when I log in to EM and I want to see the Administration tab, I have to enter again the user and password I gave them and I got this error: Database error I/O Exception: Unknown host specified I check
-
Security Update 2008-008 knocks out router
Since installing security update 2008-008 on two computers (MacBook Pro and Power Mac G5, both running OS 10.4.11) earlier this week, my router (Belkin Wireless G model F5D7230-4) no longer connects me to the internet. I also found that my Network pr
-
Change Primary Administrator for Cloud Team
How can I change the primary administrator under the Admin Tools in the Cloud Team portal?
-
In contacts I put in my friend's e:mail as ...
In Contacts I entered friend'E:mail correctly as ...Comcast.net and when I went to create an e: mail her address came up as ...@ aol.com Help!
-
I've downloaded the CVI/Labwindows driver for the Tektronix AWG2021 and tried to import it into LabView with Tools->Instrumentation->Import CVI Instrument Driver. The VIs are all created fine but don't work because the library file tkwg20xx_32.dll i