We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › ControlP5 textfield problem with OSX java update
Page Index Toggle Pages: 1
ControlP5 textfield problem with OSX java update? (Read 3103 times)
ControlP5 textfield problem with OSX java update?
May 24th, 2010, 8:42am
 
hi

OS X 1.5.8 + the recent Java update

+ just done a macports install

can no longer input to a text field (although the demo library file works ok)

this is a 2 window project

http://technocasual.co.uk/tct_20100518.zip


Now get below appear in red in Processing

2010-05-24 16:31:44.888 java[193:c1b] *** Assertion failure in -[CocoaAppWindow _changeJustMain], /SourceCache/AppKit/AppKit-949.54/AppKit.subproj/NSWindow.m:8598
2010-05-24 16:31:44.890 java[193:c1b] *** CPerformer: ignoring exception 'Invalid parameter not satisfying: [self canBecomeMainWindow]' raised during perform of selector 'requestFocus:' on target 'FocusManager' with args '<AWTComponentSetFocusData: 0x1e8a40>'

Is there any known issues with either the latest java and or macports?

Mark
Re: ControlP5 textfield problem with OSX java update?
Reply #1 - May 26th, 2010, 1:50am
 
I'm getting the same error on 1.5.8 with the latest Java update, also using ControlP5
Re: ControlP5 textfield problem with OSX java update?
Reply #2 - May 26th, 2010, 2:02am
 
yup I tested on a macbook without the update & everything ok

I've also been commenting out code to try see what is causing problem & it doesn't appear to match to any specfic bit of code - as I switch interface elements back on then things start to screwup

& if you've looked reverting Java on OS X is a mission...


m
Re: ControlP5 textfield problem with OSX java update?
Reply #3 - Jun 1st, 2010, 11:42pm
 
getting a similar error importing an xml file and using println to display its contents.  just updated java on os 10.6.3, running processing 1.1... cleaned up the code to post it here (changed a few variable names) and now i'm not getting the error anymore +can't reproduce it.
Re: ControlP5 textfield problem with OSX java update?
Reply #4 - Jun 5th, 2010, 8:27am
 
it happen to me
the problem was trying to draw outside the limits of the drawing window, once fixed the message disappears.
hope it helps
Page Index Toggle Pages: 1