From: Jeff W. <jww...@ya...> - 2004-08-29 23:54:18
|
Hiroo, I think I know what the problem is. I wanted to run JSynthLib without my drivers installed. I checked out a new version and compiled without my drivers and ran the program. The synthdrivers.properties file did not have my drivers listed but my preferences still did. As soon as I added my drivers, everything worked again. One question--How do you clear your preferences? Jeff --- Hiroo Hayashi <hir...@co...> wrote: > I made a change for AppConfig. I made all methods > in AppConfig static. > But it should not change the behavior of JSynthLib. > Of course I have no > problem. > > Double check if all *.java files are up-to-date and > all *.class file is > updated. > If this is OK, try clear preference. See FAQ in > documentation.html to > see where the preference is saved. If you are using > Windows, you can > delete the preference by using regedit. > > I've cleared my preference and rerun JSynthLib, but > I don't see stack > trace. > > Hope this helps. > > Jeff> Has something changed with the preferences? I > tried > Jeff> running a version of the code which I checked > out Sun. > Jeff> 8/29. Every time I start the program it throws > a > Jeff> NullPonterException: > Jeff> java.lang.NullPointerException > Jeff> at > Jeff> > core.DevicesConfig.createDevice(DevicesConfig.java:162) > Jeff> at > core.AppConfig.addDevice(AppConfig.java:317) > Jeff> at > core.AppConfig.loadPrefs(AppConfig.java:67) > Jeff> at core.PatchEdit.<init>(PatchEdit.java:35) > Jeff> at JSynthLib.main(JSynthLib.java:31) > Jeff> > Jeff> Even after I configure drivers and relaunch, > the same > Jeff> thing happens and none of the configs get > saved. > Jeff> > Jeff> Has anyone else noticed this or is it just me? > > -- > Hiroo Hayashi > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic > Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 > today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Jsynthlib-devel mailing list > Jsy...@li... > https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail |