Thanks, I will look it tomorrow morning.
2010/3/3 Andrey Razumovsky <razumovsky.andre..mail.com>
> Hi Olga,
>
> I'm afraid "open project" menu item doesn't work anymore:
> java.lang.NullPointerException
> at
>
> org.apache.cayenne.modeler.Application.getMainPreferenceForProject(Application.java:263)
> at
>
> org.apache.cayenne.modeler.util.CayenneController.getViewPreferences(CayenneController.java:109)
> at
>
> org.apache.cayenne.modeler.util.CayenneController.getLastDirectory(CayenneController.java:92)
> at
>
> org.apache.cayenne.modeler.action.ProjectOpener.getDefaultStartDir(ProjectOpener.java:158)
> at
>
> org.apache.cayenne.modeler.action.ProjectOpener.openProjectFile(ProjectOpener.java:132)
> at
>
> org.apache.cayenne.modeler.action.OpenProjectAction.performAction(OpenProjectAction.java:96)
>
> 2010/3/3 <oltk..pache.org>
>
> > Author: oltka
> > Date: Wed Mar 3 13:26:27 2010
> > New Revision: 918465
> >
> > URL: http://svn.apache.org/viewvc?rev=918465&view=rev
> > Log:
> > CAY-1327 Migrate HSQLDB modeler preferences to Java preferences API
> >
> > Modified:
> >
> >
> cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/CayenneModelerController.java
> >
> > Modified:
> >
> cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/CayenneModelerController.java
> > URL:
> >
> http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/CayenneModelerController.java?rev=918465&r1=918464&r2=918465&view=diff
> >
> >
> ==============================================================================
> > ---
> >
> cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/CayenneModelerController.java
> > (original)
> > +++
> >
> cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/CayenneModelerController.java
> > Wed Mar 3 13:26:27 2010
> >.. -82,7 +82,7 @@
> > FSPath path = (FSPath) application
> > .getCayenneProjectPreferences()
> > .getProjectDetailObject(
> > - DataMapDefaults.class,
> > + FSPath.class,
> > getViewPreferences().node("lastEOMDir"));
> >
> > if (path.getPath() == null) {
> >
> >
> >
>
>
> --
> Andrey
>
-- Olga Tkacheva
This archive was generated by hypermail 2.0.0 : Wed Mar 03 2010 - 16:24:08 EST