Skip to Content
author's profile photo Former Member
Former Member

Problem implementing TableView 1 example

Any ideas on what I'm missing here?

I'm running the EP SP6 Sneak Preview and I'm trying to exercise the development process by creating a project in NWDS and plugging in the files from the TableView1 example

[Java Development->

User Interface Development->

HTMLB->

Additional Examples->

tableView->

tableView I ]

Everything compiles and deploys w/o error, but I get the following when I try to run it:

Portal Runtime Error

An exception occurred while processing a request for :

iView : TableView1Example.TableView1

Component Name : TableView1Example.TableView1

com/sapportals/htmlb/table/DefaultTableViewModel.

Exception id: 10:04_09/12/04_0006_3450250

See the details for the exception ID in the log file

The stack trace in the server0.log contains the following snippet:

Caused by: java.lang.NoClassDefFoundError: com/sapportals/htmlb/table/DefaultTableViewModel

at bean.TableView1Bean.createNewTable(TableView1Bean.java:133)

at bean.TableView1Bean.<init>(TableView1Bean.java:79)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at java.beans.Beans.instantiate(Beans.java:204)

at java.beans.Beans.instantiate(Beans.java:48)

at pagelet._sapportalsjsp_tableview1.doContent(_sapportalsjsp_tableview1.java:46)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

... 29 more

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2004 at 05:50 PM

    Never mind.

    I forgot to change the following in portalapp.xml:

    From default generated when the wizard creates the portal application:

    <application-config>

    <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>

    </application-config>

    To:

    <application-config>

    <property name="SharingReference" value="htmlb"/>

    <property name="startup" value="true"/>

    </application-config>

    I'm not exactly sure what this does.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.