I'm still seeing problems that block my usage of 3.1 modeler :( [probably
not related to this commit, but appeared recently]
Now, I can't save project (our test project):
java.lang.NullPointerException
at
org.apache.cayenne.project2.validation.ProcedureParameterValidator.validate(ProcedureParameterValidator.java:32)
at
org.apache.cayenne.project2.validation.ValidationVisitor.visitProcedureParameter(DefaultProjectValidator.java:324)
After I commented out validation, I got another NPE (something in
Entity$PathIterator). Could someone who knows about new changes have a look
please?
2010/3/4 Ольга Ткачева <tkachovaolg..mail.com>
> 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
>
-- Andrey
This archive was generated by hypermail 2.0.0 : Thu Mar 04 2010 - 07:25:31 EST