New topic: NilObjectException
<http://forums.realsoftware.com/viewtopic.php?t=32189> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message brianheibert Post subject: NilObjectExceptionPosted: Tue Jan 26, 2010 12:54 am Joined: Sat Jan 23, 2010 3:03 pm Posts: 2 I am getting a NilObjectException when I run my compiled application I think it isn't finding the keyboardViewer unix executable or something although if I run the program in RB it works, I even put the keyboardViewer unix exec file in the resources folder of my application and it still doesn't work. Actually now it is displaying the keyboardViewer but is still giving me a NilObjectException Any ideas on how to fix this? Brian Top Steve Garman Post subject: Re: NilObjectExceptionPosted: Tue Jan 26, 2010 3:07 am Joined: Fri Sep 30, 2005 3:53 pm Posts: 3187 Location: England brianheibert wrote:Any ideas on how to fix this?My guess is it's appexe that is nil because you never point it at anything. Do you need all that code that uses appexe? try removingCode:if not appexe.exists then msgbox """keyboardViewer"" not found" else sh = new shell sh.execute appexe.shellpath s=sh.result _________________ Steve Garman Using REALbasic 2008r2 Professional on Windows Vista Ultimate and REALbasic 2009r5.1 Professional on Linux Ubuntu 9.04 Desktop Occasional blog Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
