Skip to Content
0
Former Member
Oct 18, 2006 at 04:27 PM

Cannot access bean property

18 Views

Hi SDN

I have develop java iViews using jsp/htmlb.

I have this problem that only occurs sometimes.

95% of the times there are no problem, but sometimes I get this error:

Caused by: java.lang.IllegalArgumentException: Tag tableView attribute model: Cannot access bean property dataBean.customerSearchModel in page context

In jsp I use scope="session" and in java jspdynpage I use IPortalComponentSession.

I'm also using setter and getter in my dataBean

I don't think it is because my dataBean is null because I check for this in the doProcessAfterInput

My portalapp.xml looks like this:

<?xml version="1.0" encoding="utf-8"?>
<application alias="myRushorder">
  <application-config>
    <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
    <property name="ServicesReference" value="com.sap.portal.ivs.connectorservice"/>
  </application-config>
  <components>
    <component name="List">
      <component-config>
        <property name="ClassName" value="com.dwi.rushorder.IccList"/>
      </component-config>
      <component-profile>
        <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
      </component-profile>
    </component>
  </components>
  <services/>
</application>

I have ofcourse searched SDN and read several post, but nothing that helped me.

And again, it's not so often that it happens, so it is difficult to reproduce.

Do anyone got a hint?

Thanks in advance

Peter