Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Error PropertyResolutionException
Error PropertyResolutionException [message #697987] Mon, 18 July 2011 14:48 Go to next message
Filipe Santana is currently offline Filipe SantanaFriend
Messages: 2
Registered: July 2011
Location: Brazil
Junior Member
Hello,

I'm new to WindowBuilder and also to Data Binding, so before I post my problem if anyone have any material to sugest specially regards databiding I'll apreciated.

I'm trying to binding a checkbox and a jspinner , But I'm getting a error:

this error is regarding the checkbox:

org.jdesktop.beansbinding.PropertyResolutionException: Exception invoking method public void org.jdesktop.swingbinding.adapters.AbstractButtonAdapterProvider$Adapter.setSelected(boolean) on org.jdesktop.swingbinding.adapters.AbstractButtonAdapterProvider$Adapter@641a034d
	at org.jdesktop.beansbinding.BeanProperty.invokeMethod(BeanProperty.java:791)
	at org.jdesktop.beansbinding.BeanProperty.write(BeanProperty.java:891)
	at org.jdesktop.beansbinding.BeanProperty.setProperty(BeanProperty.java:909)
	at org.jdesktop.beansbinding.BeanProperty.setValue(BeanProperty.java:580)
	at org.jdesktop.beansbinding.Binding.refreshUnmanaged(Binding.java:1229)
	at org.jdesktop.beansbinding.Binding.refresh(Binding.java:1207)
	at org.jdesktop.beansbinding.AutoBinding.tryRefreshThenSave(AutoBinding.java:162)
	at org.jdesktop.beansbinding.AutoBinding.bindImpl(AutoBinding.java:199)
	at org.jdesktop.beansbinding.Binding.bindUnmanaged(Binding.java:959)
	at org.jdesktop.beansbinding.Binding.bind(Binding.java:944)
	at test.PersonFrame.initDataBindings(PersonFrame.java:210)
	at test.PersonFrame.createContents(PersonFrame.java:194)
	at test.PersonFrame.<init>(PersonFrame.java:91)
	at test.PersonFrame$1.run(PersonFrame.java:78)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	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)
Caused by: java.lang.IllegalArgumentException
	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 org.jdesktop.beansbinding.BeanProperty.invokeMethod(BeanProperty.java:782)
	... 21 more



and this regarding the jspinner:
org.jdesktop.beansbinding.PropertyResolutionException: Exception invoking method public void org.jdesktop.swingbinding.adapters.JSpinnerAdapterProvider$Adapter.setValue(java.lang.Object) on org.jdesktop.swingbinding.adapters.JSpinnerAdapterProvider$Adapter@49f10a67
	at org.jdesktop.beansbinding.BeanProperty.invokeMethod(BeanProperty.java:791)
	at org.jdesktop.beansbinding.BeanProperty.write(BeanProperty.java:891)
	at org.jdesktop.beansbinding.BeanProperty.setProperty(BeanProperty.java:909)
	at org.jdesktop.beansbinding.BeanProperty.setValue(BeanProperty.java:580)
	at org.jdesktop.beansbinding.Binding.refreshUnmanaged(Binding.java:1229)
	at org.jdesktop.beansbinding.Binding.refresh(Binding.java:1207)
	at org.jdesktop.beansbinding.AutoBinding.tryRefreshThenSave(AutoBinding.java:162)
	at org.jdesktop.beansbinding.AutoBinding.bindImpl(AutoBinding.java:199)
	at org.jdesktop.beansbinding.Binding.bindUnmanaged(Binding.java:959)
	at org.jdesktop.beansbinding.Binding.bind(Binding.java:944)
	at test.PersonFrame.initDataBindings(PersonFrame.java:210)
	at test.PersonFrame.createContents(PersonFrame.java:194)
	at test.PersonFrame.<init>(PersonFrame.java:91)
	at test.PersonFrame$1.run(PersonFrame.java:78)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	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)
Caused by: java.lang.reflect.InvocationTargetException
	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 org.jdesktop.beansbinding.BeanProperty.invokeMethod(BeanProperty.java:782)
	... 21 more
Caused by: java.lang.IllegalArgumentException: illegal value
	at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:426)
	at javax.swing.JSpinner.setValue(JSpinner.java:329)
	at org.jdesktop.swingbinding.adapters.JSpinnerAdapterProvider$Adapter.setValue(JSpinnerAdapterProvider.java:35)
	... 26 more


It looks like they are the same...

I'll need someone's help with this...

thanks,
Re: Error PropertyResolutionException [message #698016 is a reply to message #697987] Mon, 18 July 2011 15:49 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
I don't see anything WindowBuilder related in either your question or the stack traces, so I would recommend asking a question like this in the relevant Java / Swing / JSR 295 forum. None of us (at least those on the WB committer team) have any expertese with Swing Data Binding.
Re: Error PropertyResolutionException [message #698053 is a reply to message #698016] Mon, 18 July 2011 17:32 Go to previous messageGo to next message
Filipe Santana is currently offline Filipe SantanaFriend
Messages: 2
Registered: July 2011
Location: Brazil
Junior Member
Thank you...

I think I'll stop with data Binding... I can't find any answer nor material about that on the internet...
Re: Error PropertyResolutionException [message #698113 is a reply to message #698053] Mon, 18 July 2011 19:47 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
The JSR 295 project seems to be dead at the moment.
Previous Topic:Custom Editors for Components?
Next Topic:SWT GroupLayout mssing
Goto Forum:
  


Current Time: Fri Apr 26 19:41:22 GMT 2024

Powered by FUDForum. Page generated in 0.03604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top