Re: [Swingosc-devel] FAILURE /set No matching setter method for valueNoAction
Brought to you by:
sciss
From: Sc i. <co...@sc...> - 2009-03-11 03:10:39
|
hi marije can you try to narrow it down and post a code example? not 100% sure, but looks that you try to put an array into the value_ method of JSCNumberBox. maybe you can put a tiny helper in the extensions like + JSCNumberBox { value_ { arg val; if( val.isFloat.not && val.isInteger.not, { Error( "Illegal input : " ++ val ).throw }) keyString = nil; this.stringColor = normalColor; object = val; this.string = object.asString; } } and see if that triggers something. the other thing is, you should put osc-dumping on and try to figure out what the command is that causes the exception to raise. g.dumpOSC( 3 ) ciao, -sciss- ----- original message -------- Subject: [Swingosc-devel] FAILURE /set No matching setter method for valueNoAction Sent: Wed, 11 Mar 2009 From: nescivi<ne...@gm...> > Hiho, > > I get this with the latest svn SwingOSC and latest svn SC (also with a newly > > updated Debian system; I think Sun-Java was updated too). > It occurs with a larger GUI, I think in a NumberBox.value_ call, but I'm not > > sure, as I haven't narrowed it down yet. > > The same GUI used to work in older versions. > > FAILURE /set No matching setter method for valueNoAction > /set : java.lang.NumberFormatException : For input > string: "[Ljava.lang.Object;@16d0a6a3" > at > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224) > at java.lang.Double.valueOf(Double.java:475) > at de.sciss.swingosc.NumberField.setNumber(NumberField.java:51) > ... > > > sincerely, > Marije > > ---------------------------------------------------------------------------- > -- > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Swingosc-devel mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swingosc-devel > --- original message end ---- |