• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EOGenerator problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOGenerator problem


  • Subject: EOGenerator problem
  • From: Jeff Schmitz <email@hidden>
  • Date: Mon, 29 Jan 2018 21:35:25 -0600

Hello List,
   I recently updated to Eclipse Oxygen and somewhere in the process my
EOGenerator behavior has been changed.  Specifically, where it used to generate
“set” functions like this:

public void setMiscState1(Boolean value) {
    if (_Entry.LOG.isDebugEnabled()) {
        _Entry.LOG.debug( "updating miscState1 from " + miscState1() + " to " +
value);
    }
    takeStoredValueForKey(value, _Entry.MISC_STATE1_KEY);
  }

It’s now generating them like below, which causes a null pointer exception when
miscState1() happens to return null.

  public void setMiscState1(Boolean value) {
    log.debug( "updating miscState1 from {} to {}", miscState1(), value);
    takeStoredValueForKey(value, _Entry.MISC_STATE1_KEY);
  }

Any idea how I can get back my old EOGenerator functionality?  I have tried
following the instructions here:
https://wiki.wocommunity.org/display/WOL/EOGenerator
<https://wiki.wocommunity.org/display/WOL/EOGenerator> and I specified the
wondierEntity files in my EOGenerator preferences as suggested.

Thanks!
Jeff
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Attributes of an EOModel
  • Next by Date: mod_WebObjects.so on High Sierra
  • Previous by thread: Re: Using database objects in different schemas
  • Next by thread: mod_WebObjects.so on High Sierra
  • Index(es):
    • Date
    • Thread