• 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
Re: D2WS: Can't obtain rules because of protected access!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2WS: Can't obtain rules because of protected access!


  • Subject: Re: D2WS: Can't obtain rules because of protected access!
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 1 Apr 2008 13:12:51 +0200

The error message is garbage. the problem is

/* 221*/ if(d2wmodel instanceof _WSRuleModel)
/* 222*/ rules = ((_WSRuleModel)d2wmodel)._rules();
/* 224*/ else
/* 224*/ throw new IllegalStateException("Can't obtain rules because of protected access!");


so your D2W model is not a _WSRuleModel. Probably because you're using Wonder's D2W or D2JC in the same app, which doesn't work.

Cheers, Anjo

Am 01.04.2008 um 13:07 schrieb Juergen Lorenz Simon:
_WSDirectAction

_______________________________________________ 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
References: 
 >D2WS: Can't obtain rules because of protected access! (From: Juergen Lorenz Simon <email@hidden>)

  • Prev by Date: D2WS: Can't obtain rules because of protected access!
  • Next by Date: Re: binding validation problem
  • Previous by thread: D2WS: Can't obtain rules because of protected access!
  • Next by thread: D2WS: Can't obtain rules because of protected access!
  • Index(es):
    • Date
    • Thread