cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eshan Sudharaka <esudhar...@gmail.com>
Subject Re: [Announce] GSoC 2011 Mentors/Org Admins: Reminder: "Pencils Down" Dates Approaching
Date Wed, 10 Aug 2011 08:14:46 GMT
@kSenia I need some help to solve this.

In Application class in trunk under the startup method we can find :

        this.frameController = new CayenneModelerController(this);

Then it calles the CayenneModelerController's constructor and with in that
we can see :

      this.frame = new CayenneModelerFrame(application.getActionManager());

in this applicaion.getActionManager() it calls injector and retrieve a
DefaultActionManager object. So it is obvious it calls the constructor of
 DefaultActionManager. And here we can see the registering actions like
this.

    registerAction(new ProjectAction(application));

Up to this point it has not created the  framecontroller of Aplications
class instance which is created by Main.java. But inside the Action Classes
we use application.getFrameController() method to get the controller. (Once
the action is performed ). In my case I am getting a NPE here. As I figure
out  it seems  the application object we pass to the Action class does not
have Frame controller. (since we pass aapplication object to Action classes
before we initialize FrameController ) .

But since Java is pass by reference programing language this cannot be
happen. because once it execute
      this.frameController = new CayenneModelerController(this);
 of the application instance which created by Main.java then all
the references are get updated.

This is the NPE which I am trying to solve. And sorry for asking a long
question.
On Wed, Aug 10, 2011 at 12:43 PM, Andrus Adamchik <andrus@objectstyle.org>wrote:

> Great. Thanks for thanks for the info on both points.
>
>
> Andrus (eager to try the plugin :-))
>
>
> On Aug 10, 2011, at 10:10 AM, Eshan Sudharaka wrote:
> > @Andrus ,Ok. I will send it by tomorrow since today I have not access to
> a
> > scanner.
> >
> > @ksenia : I have done all the changes in trunk to avoid the code
> > duplications. Right now I am having an exception which is bit tricky for
> me
> > to identify. Now I am working on it. Now working on this full time.
> >
> > On Wed, Aug 10, 2011 at 12:27 PM, Andrus Adamchik <
> andrus@objectstyle.org>wrote:
> >
> >> Also I don't see Eshan's CLA:
> >>
> >> http://people.apache.org/committer-index.html
> >>
> >> While we can probably integrate the existing patches based on the Jira
> >> "Grant license to ASF for inclusion in ASF works" checkbox, to be on a
> safe
> >> side legally, it would be great if we get a CLA.
> >>
> >> Eshan, would it be possible to fill it out and send a scanned version to
> >> me, Ksenia or to secretary at apache dot org? Here is the relevant link
> >> where you can get a PDF form: http://apache.org/licenses/
> >>
> >> Thanks,
> >> Andrus
> >>
> >>
> >>
> >> On Aug 8, 2011, at 9:01 AM, Ksenia Khailenko wrote:
> >>
> >>> Hi Eshan! For your information, there is no time to wait anymore, I'm
> >> still
> >>> looking forward for your updates.
> >>>
> >>> ---------- Forwarded message ----------
> >>> From: Carol Smith <carols@google.com>
> >>> Date: 2011/8/6
> >>> Subject: [Announce] GSoC 2011 Mentors/Org Admins: Reminder: "Pencils
> >> Down"
> >>> Dates Approaching
> >>> To: Google Summer of Code Mentors List <
> >>> google-summer-of-code-mentors-list@googlegroups.com>
> >>>
> >>>
> >>> Hi there,
> >>>
> >>> This is a friendly reminder that Monday, 15 August, is our soft
> >>> "pencils down" date. We suggest that students have completed their
> >> projects
> >>> by this date and spend a week writing documentation and wrapping up
> their
> >>> projects. We require that students stop all coding on 22 August.
> >>>
> >>> Monday, 22 August at 19:00 UTC is also when final evaluations open.
> >> Please
> >>> consider this your reminder to submit your final evaluation by 26
> August
> >> at
> >>> 19:00 UTC so that you don't delay your students' final payments.
> >>>
> >>> I have updated the code submission guidelines [0] for the students and
> >>> posted it on Melange for your reference. If you have questions about
> how
> >>> code submission works, please let me know. Code submission begins on 29
> >>> August and the deadline is 12 September. More information about project
> >> code
> >>> repositories (for org admins) will be posted to this list soon.
> >>>
> >>> I will post the final evaluation questions to this list on Monday, 15
> >> August
> >>> to allow you all a week to prepare. Please let me know if you need the
> >>> questions before that and I will make arrangements for you.
> >>>
> >>> [0] -
> >>> *
> >>>
> >>
> http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2011/codeguidelines
> >>> *
> >>>
> >>> Cheers,
> >>> Carol
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google
> Groups
> >>> "Google Summer of Code Mentors List" group.
> >>> To post to this group, send email to
> >>> google-summer-of-code-mentors-list@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> google-summer-of-code-mentors-list+unsubscribe@googlegroups.com.
> >>> For more options, visit this group at
> >>>
> http://groups.google.com/group/google-summer-of-code-mentors-list?hl=en.
> >>>
> >>>
> >>>
> >>> --
> >>> Regards, Ksenia Khailenko
> >>
> >>
> >
> >
> > --
> > *~Thanks & Regards~*
> > ***
> > *
> > P.A.Eshan Sudharaka
> > Dept of Computer Science and Engineering
> > University of Moratuwa
> > Sri Lanka
> > http://esudharaka.blogspot.com/
>
>


-- 
*~Thanks & Regards~*
***
*
P.A.Eshan Sudharaka
Dept of Computer Science and Engineering
University of Moratuwa
Sri Lanka
http://esudharaka.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message