on 10-20-2005 4:26 PM
Hi,
I have created an action DYNAMIC_LINK_ACTION and attached it to a link to action element as follows
IWDLinkToAction _LinkToAction10Test = (IWDLinkToAction)view.createElement(IWDLinkToAction.class, "action");
IWDAction linkAction = wdThis.wdCreateAction(IPrivateVirtualTaxonomiesView.WDActionEventHandler.DYNAMIC_LINK_ACTION, "");
_LinkToAction10Test.setOnAction(linkAction);
The link is displayed without any problem but when I click on the link the following exception appears:
java.lang.NullPointerException
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:825)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.updateEventQueue(HtmlClient.java:317)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.prepareTasks(AbstractClient.java:237)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:641)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.parseRequest(ClientManager.java:144)
Any idea?
Thank you in advance,
Achim
Please tell us the exact version/SP number. You might look into the HTML source to find that out.
Where have you written the code? Is it in method VirtualTaxonomiesView.wdDoModifyView()?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
I have written the code in the method VirtualTaxonomiesView.wdDoModifyView().
I have attached the info of the html page.
Regards,
Achim
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
This page was created by SAP NetWeaver. All rights reserved.
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322), client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Accessibility mode: false
Web Dynpro runtime:
Vendor: , build ID: , build date:
Web Dynpro code generators of DC sap.com/tckmcwdui~virtualtaxonomies:
SapDictionaryGenerationCore: 7.10.20050908211057.0000
SapMetamodelWebDynpro: 7.10.20050908211057.0000
SapMetamodelCore: 7.10.20050908211057.0000
SapWebDynproGenerationTemplates: 7.10.20050913170707.0000
SapGenerationFrameworkCore: 7.10.20050907090750.0000
SapIdeWebDynproCheckLayer: 7.10.20050913170707.0000
SapMetamodelDictionary: 7.10.20050908211057.0000 (release=710_SP_REL, buildtime=2005-09-13:19:30:56[UTC], changelist=7094, host=pwdfm110)
SapMetamodelCommon: 7.10.20050908211057.0000
SapWebDynproGenerationCore: 7.10.20050913170707.0000
SapDictionaryGenerationTemplates: 7.10.20050908211057.0000
Web Dynpro code generators of DC sap.com/tcwddispwda: No information available!
Web Dynpro code generators of DC sap.com/tckmcwdui~dispatcher:
SapDictionaryGenerationCore: 7.10.20050908211057.0000
SapMetamodelWebDynpro: 7.10.20050908211057.0000
SapMetamodelCore: 7.10.20050908211057.0000
SapWebDynproGenerationTemplates: 7.10.20050913170707.0000
SapGenerationFrameworkCore: 7.10.20050907090750.0000
SapIdeWebDynproCheckLayer: 7.10.20050913170707.0000
SapMetamodelDictionary: 7.10.20050908211057.0000 (release=710_SP_REL, buildtime=2005-09-13:19:30:56[UTC], changelist=7094, host=pwdfm110)
SapMetamodelCommon: 7.10.20050908211057.0000
SapWebDynproGenerationCore: 7.10.20050913170707.0000
SapDictionaryGenerationTemplates: 7.10.20050908211057.0000
J2EE Engine:
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_08-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows XP, version: 5.1, architecture: x86
-->
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.