It appears to be happening due to an NPE if the password encoder class
is invalid/not in your class path.
On Wed, Aug 20, 2008 at 4:15 PM, Andrus Adamchik <andru..bjectstyle.org> wrote:
> Not sure what's causing it. If you don't find the reason for this failure,
> you may email your project to me directly - I'll try it on my machine.
>
> Andrus
>
> On Aug 20, 2008, at 7:37 PM, Michael Gentry wrote:
>
>> I just built the latest Cayenne & Modeler. I hadn't seen the welcome
>> screen before. It is pretty nice, but could use a horizontal
>> scrollbar for the Recent Projects list (for those long paths). I like
>> the gradient on the background and the icons look nice. And the red
>> hover on the Recent Projects list is nice and matches the Cayenne
>> logo.
>>
>> And, as fate would have it, the first project I clicked on, generated
>> an Error Loading Project dialog:
>>
>> CayenneModeler Info
>> Version: cayenne.version
>> Build Date: cayenne.build.date
>> Exception:
>> =================================
>> org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Aug 20
>> 2008 17:26:13] Null dataSource
>> at org.apache.cayenne.dba.AutoAdapter.<init>(AutoAdapter.java:129)
>> at org.apache.cayenne.dba.AutoAdapter.<init>(AutoAdapter.java:119)
>> at
>> org.apache.cayenne.modeler.util.ModelerDbAdapter.<init>(ModelerDbAdapter.java:50)
>> at
>> org.apache.cayenne.modeler.action.ModelerProjectLoadDelegate.initAdapter(ModelerProjectLoadDelegate.java:51)
>> at
>> org.apache.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode(RuntimeLoadDelegate.java:317)
>> ...
>>
>> I then went back and loaded the same project in a previous version of
>> CM (3.0 snapshot from 5/15/08). I haven't looked into this further
>> (yet).
>>
>>
>> On Wed, Aug 20, 2008 at 11:29 AM, Andrus Adamchik
>> <andru..bjectstyle.org> wrote:
>>>
>>> BTW, I am also in favor of M5. Just recently started using trunk Modeler
>>> for
>>> production work - very nice! Especially the welcome screen :-)
>>>
>>> Just wish we fix class generation issues: the one below and also "int"
>>> attribute issue that came up on the user list.
>>>
>>> Andrus
>>
>
>
This archive was generated by hypermail 2.0.0 : Thu Aug 21 2008 - 13:34:39 EDT