Component / dispatching

Hi
I was wondering if anyone could give me some pointers on a
simple problem I`m muddling through.
It`s basically to do with communication between components
and parent app.
The problem is that there is a varying number of the same
component being added to the app and I can't work out how to target
them. I`m adding them on a button click like this:
var newBox:textItem = new textItem;
someContainer.addChild(newBox);
newBox.addEventListener("login", loginHandler);
The textItem component dispatches an event when it is clicked
var e:LoginEvent = new LoginEvent("login",
this.name,);
dispatchEvent(e);
All the dispatching stuff works fine, i`m sending "this.name"
back in there because in the main app I am trying to find out which
instance of the component is reporting back. I`m sure this isn't
the way!
Anyway, after I`ve got the name of the component as a string,
I can`t work out how to get Flex to use it to target the component
- how do i change it from a string to something I can use as a
component id?
I guess basically the main points are;
1. Do you assign an ID when you addChild()?
2. How would you find the ID of and target dynamically added
components?
Thanks very much for any help at all

extend the LoginEvent class to add new property of type
UIComponent, add this constructor and while construcitng LoginEvent
instance add the referece 'this' reference:
var e:LoginEvent = new LoginEvent("login", this.name,
this);
actually, you can get rid of the second parameter as casting
'this' to type of the component would given you access to all of
its properties including 'name' property.
ATTA

Similar Messages

  • ESS page taking long time to load

    Dear Experts,
    While logging to the sap portal, the ess page is taking long time to load. please advice.

    Dear Dishant,
    Error as follows:
    500 Internal Server Error is returned for HTTP request [http://sapprtlclus:50100/webdynpro/resources/sap.com/pb/PageBuilder]:
      component [dispatcher],
      web module [webdynpro/resources/sap.com/pcui_gp~xssutils],
      application [sap.com/pcui_gp~xssutils],
      DC name [sap.com/pcui_gp~xssutils],
      CSN component[CA-GTF-TS-XSS],
      problem categorization [],
      internal categorization [1657115376].
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session lVF7nzKWRpXYazTzysiRjA--A*GK0SXT8TnfXfHX91En3w--/pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.areagroup_overview/com.sap.pct.erp.ess.overview/sap.com/pcui_gp~xssutils/XssMenu/base/. The causing exception is nested. RID=579178403e4911e4c0f70000010f2eda
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:663)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:349)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:62) 
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.service(DispatchHandlerForRequestManager.java:39) 
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.service(DispatchHandlerForRequestManager.java:46) 
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:292) 
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToAppContext(ExecutionContextDispatcher.java:68) 
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:53) 
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:245)
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.callRequestManager(JavaApplicationProxy.java:1244)
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.callEmbeddedApplication(JavaApplicationProxy.java:1122) 
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$StartCommand.doExecute(JavaApplicationProxy.java:1575)
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$AbstractCommand.execute(JavaApplicationProxy.java:1488)
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.execute(JavaApplicationProxy.java:1028)
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy.execute(JavaApplicationProxy.java:859)
    at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy.start1(JavaApplicationProxy.java:637)
    at com.sap.tc.webdynpro.portal.pb.impl.JavaApplicationProxyAdapter.create(JavaApplicationProxyAdapter.java:166)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1691)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:411)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:655)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:227)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:137)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:161)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
    at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:258)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:590)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:660)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:349)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:89)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException: wdDoInit: exception thrown in this user coding area
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:164)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
    at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:258)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:590)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:660)
    ... 75 more
    Caused by: com.sap.tc.webdynpro.progmodel.context.DictionaryException: failed to create provider: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither user nor user alias nor external ID nor SSO ticket nor X.509 certificate is specified{jco.client.lang=EN, jco.client.client=300, jco.client.passwd=<null>, jco.client.mshost=sapprdcluster, jco.client.group=SAPPRDCLUS, jco.client.r3name=PRD}
    at com.sap.tc.webdynpro.progmodel.context.DictionaryHandler.getScalarType(DictionaryHandler.java:378)
    at com.sap.tc.webdynpro.progmodel.context.DictionaryHandler.getDataType(DictionaryHandler.java:126)
    at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:438)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:1002)
    at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:294)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:974)
    at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:978)
    at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:67)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:205)
    at com.sap.tc.webdynpro.progmodel.components.Component.getCustomControllerInternal(Component.java:668)
    at com.sap.tc.webdynpro.progmodel.components.Component.getController(Component.java:597)
    at com.sap.tc.webdynpro.progmodel.components.Component.getController(Component.java:552)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.getPublicInterface(DelegatingComponent.java:275)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetBackendConnectionsController(InternalFPMComponent.java:190)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:204)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:105)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:161)
    ... 81 more
    Caused by: com.sap.dictionary.runtime.DdException: failed to create provider: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither user nor user alias nor external ID nor SSO ticket nor X.509 certificate is specified{jco.client.lang=EN, jco.client.client=300, jco.client.passwd=<null>, jco.client.mshost=sapprdcluster, jco.client.group=SAPPRDCLUS, jco.client.r3name=PRD}
    at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:291)
    at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:161)
    at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:98)
    at com.sap.dictionary.runtime.DdDictionaryPool.makeDictionary(DdDictionaryPool.java:77)
    at com.sap.dictionary.runtime.DdDictionaryPool.makeDictionary(DdDictionaryPool.java:65)
    at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:230)
    at com.sap.tc.webdynpro.progmodel.context.DictionaryHandler.getScalarType(DictionaryHandler.java:370)
    ... 97 more
    Caused by: java.lang.reflect.InvocationTargetException
    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:513)
    at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:271)
    ... 103 more
    Caused by: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither user nor user alias nor external ID nor SSO ticket nor X.509 certificate is specified
    at com.sap.mdi.jco6.Factory.makeException(Factory.java:33)
    at com.sap.mdi.jco6.Destination.connect(Destination.java:57)
    at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:97)
    at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:115)
    ... 108 more
    Caused by: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither user nor user alias nor external ID nor SSO ticket nor X.509 certificate is specified
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:559)
    at com.sap.mw.jco.MiddlewareJRfc$Client.initialize(MiddlewareJRfc.java:1071)
    at com.sap.mw.jco.JCO$Client.connect(JCO.java:3654)
    at com.sap.mdi.jco6.Destination.connect(Destination.java:54)
    ... 110 more
    Caused by: RfcException: [null]
        message: Parameter containing a user ID is missing: neither user nor user alias nor external ID nor SSO ticket nor X.509 certificate is specified
        Return code: RFC_INVALID_PARAMETER(19)
        error group: 101
        key: RFC_ERROR_PROGRAM
    at com.sap.mw.rfc.api.RfcOptions.checkLogonData(RfcOptions.java:162)
    at com.sap.mw.rfc.api.RfcOptions.checkParameters(RfcOptions.java:345)
    at com.sap.mw.jco.MiddlewareJRfc$Client.initialize(MiddlewareJRfc.java:1066)
    ... 112 more

  • CTC Framework is not initialized. Staring initialization...

    Hi,
    We are running with Netweaver 7.3 with some core component like EP, EP
    CORE, KM, DI, BPM etc. I was using configuration wizard in NW7.3
    environment to create track and SC. somehow this configuration wizard
    is not workling from last two days. I have restarted my portal but
    stll its giving me same error.
    CTC Framework is not initialized. Staring initialization...
    com.sap.tc.webdynpro.services.exceptions.WDNonFatalException: wdDoInit:
    exception thrown in this user coding area
    I have checked the JAVA apllication tclmctcccltemplate_installer~wd
    whi h showing started but If when I clicked on log I have got below
    error.
    500 Internal Server Error is returned for HTTP request
    [http://cmpirda.ltisap.com:50000/webdynpro/resources/sap.com/tclmctcccltemplate_installer~wd/TemplateInstaller]:
    component [dispatcher],
    web module
    [webdynpro/resources/sap.com/tclmctcccltemplate_installer~wd],
    application [sap.com/tclmctcccltemplate_installer~wd],
    DC name [sap.com/tclmctcccltemplate_installer~wd],
    CSN component[BC-INS-CTC],
    problem categorization [],
    internal categorization [53088623].
    EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session bec8ab3b24b811e193ff00000048c89e. The causing exception is nested. RID=bec137b724b811e18f8e00000048c89e
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:663)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:349)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:325)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:89)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:55)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:367)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:490)
    at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:63)
    at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doGet(ForwardServlet.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException: wdDoInit: exception thrown in this user coding area
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:164)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
    at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:258)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:590)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:660)
    ... 53 more
    Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.tc.lm.ctc.cul.api.CULServiceController.getProcessEngine() of an object returned from com.sap.tc.lm.ctc.ccl.resourceLocator.CCLServiceLocator.getLocalCULServiceController()
    at com.sap.tc.lm.ctc.ccl.wd.TemplateInstallerCompController.init(TemplateInstallerCompController.java:185)
    at com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerComp.wdDoInit(TemplateInstallerComp.java:161)
    at com.sap.tc.lm.ctc.ccl.templateinstaller.wdp.InternalTemplateInstallerComp.wdDoInit(InternalTemplateInstallerComp.java:451)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:161)
    ... 59 more
    Thanks.
    RG

    Hi,
    I am running with nw7.3 sp04.  This wizard was running perfectly fine. But it has stopped working from last 2 days.
    I have created some coponents and added dependecies on it. Then I have restarted my java system.
    From that moment configuration wizard started throwing exception.
    Regards,
    RG
    Edited by: sap-baba on Dec 13, 2011 7:14 AM

  • AsBroadcaster vs. EventDispatcher

    I'm making some elearning courses and we are trying to combine semi-automation with the ability to place artwork and content on the timeline. Basically we have a series of small tasks -- read this, click this button, see the result, and so on. We have a "highlight" area component that indicates the area a user is to click. Currently that component dispatches and event from the instance when it is clicked and the main timeline is listening for the event and then moves them ahead to the next task when they have clicked properly.
    The issue is that we have lots of these to build and lots of different people (with different code styles and skill levels) work on them and they are frequently edited and rearanged to boot. So the following code:
    myClickAreaInstance.addEventListener("clicked",handleClick)
    and the handleClick function and removing the listener all has to be handled on the timeline. And for a given task there might be an intro animation and the click area component might not come in until the end. So where to put that code and how to automate it becomes tricky. So I first dug up AsBroadcaster and could use it sort of like Mouse or Key classes.
         AsBroadcaster.initialize(ClickArea)
         ClickArea.addListener(this);
         function clicked(obj){
              //handle click broadcast
    And then in the class
         ClickArea.broadcastMessage("click",{someObj});
    But then I asked myself if I could initialize the Class instead of just the instances with AsBroadcaster why couldn't I do the same thing with EventDispatcher. And sure enough it worked!
         EventDispatcher.initialize(ClickArea);
         ClickArea.addEventListener("clicked",handleClick);
         function handleClick(e:Object){
              //handle event
    And then in the class dispatching from the static class method:
         ClickArea.dispatchEvent({type:"click",target:this});
    They both seem to work just fine.
    So I'm wonderinging if anybody else has used this approach?
    Is it sound?
    Are there hidden gotchas?
    Would it be better to us AsBroadcaster or EventDispatcher?

    I'm currently leaning toward AsBroadcaster. It seems that if the timeline loops and I addEventListener again then each dispatch will happen twice. But if I use broadcaster it only goes out once.
    I know that we should be good and removeEventListeners, but there are times when that is difficult. And there are times when it is beyond my control!
    So any ideas.

  • Portal EP 7.3 FQDN Throwing HTTP Internal Error 500 on every link

    Hi Expert,
    Currently we have a strange issue on the portal 7.3 that might you had this issue also. The problem is, everytime we use the FQDN, all the links in the j2ee / portal will throwing an error 500. Currently the portal was on initial sp level and connect to the Abap UME. If we use without fqdn, just normal hostname its fine.
    The error message from default trace is like below:
    #2.#2012 03 07 10:16:20:281#+00#Error#com.sap.engine.services.servlets_jsp.ISE500#
    com.sap.ASJ.web.000500#BC-NWA-INC-UIF#sap.com/tclmitsamuimainframewd#C0000A902D05014B00000004000058D6#405732050000000004#sap.com/tclmitsamuimainframewd#com.sap.engine.services.servlets_jsp.ISE500#J2EE_GST_EPD#0##5A2AB61B683C11E1A38B0000182EFAD2#5a2ab61b683c11e1a38b0000182efad2#5a2ab61b683c11e1a38b0000182efad2#0#Thread[HTTP Worker [@1801061142],5,Dedicated_Application_Thread]#Plain##
    500 Internal Server Error is returned for HTTP request [http://vhscepdapp01.sg.axongroup.co.uk:54000/webdynpro/resources/sap.com/tclmitsamuimainframe~wd/FloorPlanApp]:
      component [dispatcher],
      web module [webdynpro/resources/sap.com/tclmitsamuimainframe~wd],
      application [sap.com/tclmitsamuimainframe~wd],
      DC name [sap.com/tclmitsamuimainframe~wd],
      CSN component[BC-NWA-INC-UIF],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [99433791].
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to retrieve client for current request. Causing exception is  nested.
            at com.sap.tc.webdynpro.clientserver.task.Task.getClient(Task.java:457)
            at com.sap.tc.webdynpro.serverimpl.wdc.um.ClientUserFactory.forceLoggedInClientUser(ClientUserFactory.java:106)
            at com.sap.tc.webdynpro.serverimpl.wdc.um.ClientUserFactory.checkAuthentication(ClientUserFactory.java:284)
            at com.sap.tc.webdynpro.serverimpl.core.um.AbstractClientUserFactory$1.checkAuthentication(AbstractClientUserFactory.java:223)
            at com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.checkAuthentication(WDClientUser.java:233)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.checkAuthentication(RequestManager.java:837)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:294)
            at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
            at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:89)
            at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:55)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:453)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
            at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:462)
            at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:270)
            at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.sap.tc.webdynpro.services.cal.core.exceptions.WDClientException: Found no client: clientNameReqParam=null, clientNameAppParam=null, useragent=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
            at com.sap.tc.webdynpro.clientserver.cal.ClientInspector.findClientContainer(ClientInspector.java:211)
            at com.sap.tc.webdynpro.clientserver.cal.ClientInspector.getClient(ClientInspector.java:103)
            at com.sap.tc.webdynpro.clientserver.task.Task.getClient(Task.java:455)
            ... 50 more
    Appreciate if someone could help to solve this.
    Cheers,
    Raff
    Edited by: Raffaello Sanzio Rodiman on Mar 7, 2012 11:28 AM

    Hi
    If you are using IE 9, Change the browser mode to 8.
    This can be done in IE9,  Tools -->  F12 Developer tools --> Browser Mode --> Internet Explorer 8.
    Regards
    Lakshmi

  • SAPMEINT

    Hi,
    I'm currently trying to install the SAPMEINT component according to the documentation
    {bold}Installation Guide SAP Manufacturing Execution 5.2{bold}
    When I'm trying to open a link under SAP ME ERP Integration -> Administration, I'm getting the following 4 errors:
    Error: "Application error occurred during the request processing."
    Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home Details: "The WebApplicationException log ID is [000C296031258A7600000000000032CD]."
    In the NW log, I'm finding this messages, which are related to the pushing of the link.
    500 Internal Server Error is returned for HTTP request [http://sles1064-06:50000/webdynpro/dispatcher/sap.com/xapps~me~integration~ui/]:
      component [dispatcher],
      web module [webdynpro/dispatcher],
      application [sap.com/tc~wd~dispwda],
      DC name [sap.com/tc~wd~dispwda],
      CSN component[BC-WD-JAV],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [90339475].
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart.getName() of an object loaded from local variable 'applicationPart'
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:570)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:505)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:170)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
    Cannot process an HTTP request to servlet [dispatcher] in [webdynpro/dispatcher] web application.
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart.getName() of an object loaded from local variable 'applicationPart'
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:570)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:505)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:170)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
    Cannot process an HTTP request to servlet [dispatcher] in [webdynpro/dispatcher] web application.
    For more details on the problem please check traces searching by logId: 000C296031258A7800000000000032CD
    Has anyone an idea, what the problem can be?
    Best regards,
    André
    Edited by: André Dittrich on May 21, 2010 4:59 PM
    Edited by: André Dittrich on May 21, 2010 5:04 PM

    Hello Andre,
    I can see the note "1334061" ..anyways here is the information
    1.If you are using SAP ME 5.2 ERP Integration, SAP MII 12.1 Support
       Package 05 is required.
    2. SAP EHP1 for NetWeaver CE 7.1 Support Package 004 Stack (12/2009)
        is required with this Support Package for SAP ME 5.2. Before you
        install this Support Package for SAP ME 5.2, you should upgrade
        Usage Selection 'Java Application Server' to EHP1 for NetWeaver
        CE 7.1 SP004.
    3. Microsoft SQL Server 2005: Standard or Enterprise Edition
       If you are using Microsoft SQL Server as your SAP ME 5.2 DBMS,
       Microsoft SQL Server 2005 SP3 is required.
    Please make sure the above requirements are installed.
    Best regards,
    Kumar

  • SAPMEINT -  Error at Global Configuration

    Hi ME / MII experts
    I am trying to configure SAPMEINT as per installation guide. Under SAP ME ERP Integration -> Administration -> Global Configuration, I get an error message
    500   Internal Server Error
      Error: "Application error occurred during the request processing."
      Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
    Details: "The WebApplicationException log ID is [000C29603125009F00000000000019F9]."
    The detail
    500 Internal Server Error is returned for HTTP request [http://sles1064-06:50000/webdynpro/dispatcher/sap.com/xappsmeintegration~ui/]:
      component [dispatcher],
      web module [webdynpro/dispatcher],
      application [sap.com/tcwddispwda],
      DC name [sap.com/tcwddispwda],
      CSN component[BC-WD-JAV],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [-1757085993].
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart.getName() of an object loaded from local variable 'applicationPart'
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:570)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:505)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:170)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:202)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToDispatcherContext(ExecutionContextDispatcher.java:146)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:92)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:104)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Any Idea?

    Hello Seng,
    Please try the following:
    -Log into netweaver as administrator. http://server:50000/nwa.
    -Go to operation managment>systems>start&stop-->Java EE Applications.
    1-search for tcwddispwda .If the status is "stopped" .Select it and start it.Refresh until the status is "running"
    2-search for xappsmeintegration~ui and do the same.
    3-search for the rest of xapps~ and make sure they run.
    once that the apps are running retry.
    If this doesn't help,retry the error,go to the log viewer and look for the last errors content,they may give you a hint about what is failing.
    Hope this helps,
    Regards,
    German

  • Child control events

    Okay I have custom control based on panel. That contains 2
    input text control 1 textarea and a button.
    I add my panel control in to a viewstack that has 2 canvas.
    Now My question is that how can I change viewstack canvas
    when I click that button in the custom control or alternative. how
    can i listen that buttons event.

    Ok, I am still a bit soft on events, but since no one else
    has responded,try this (no warranty):
    in the component, dispatch an event, with the bubbles
    arg=true:
    <mx:Button click="displatchEvent(new
    Event("myButtonClick",true))" .../>
    In the main app, since the event is bubbling, you should be
    able to listen for it. In a function called by initialize or
    creationComplete:
    this.addListener("myButtonClick", myButtonClickHandler);
    private function myButtonClickHandler(event:Event):void {
    Alert.show("myButtonClick");
    Tracy

  • Unable to edit JCo settings

    Hello,
    I am unable to edit the Jco settings in any of the JCo destinations created in my portal system.
    When i click on "Preview" or "Edit" option of the JCo destination, it throughs the following error msg.
    Ping and Test are working fine.
      SAP_R3_HumanResources_MetaData  Create Preview  Edit  Test  Ping  Remove
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
        at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
        at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:286)
        at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:251)
        at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:158)
        ... 46 more
    Please Help in resolving this issue.
    Thanks
    Sachin

    Hello Ervin,
    Wanted to let folks know that your solution helped me as well.  We are running NetWeaver 7.4 SPS07 and just moved our Portal database from MS SQL Server 2008 to a new database server running MS SQL Server 2012.  After the move, none of our ESS applications worked and we were seeing JCo connection errors.  I manually added our JCo Destinations in the local SLD, which did not solve anything.  Afterward, here is an excerpt of the ESS errors we saw:
    START LOG EXCERPT
    500 Internal Server Error is returned for HTTP request [https://xxx.xxx.xxx:443/webdynpro/resources/sap.com/pb/PageBuilder]:
      component [dispatcher],
      web module [webdynpro/resources/sap.com/pcui_gp~xssutils],
      application [sap.com/pcui_gp~xssutils],
      DC name [sap.com/pcui_gp~xssutils],
      CSN component[CA-GTF-TS-XSS],
      problem categorization [],
      internal categorization [-703535097].
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session XHU_vYZG8FTESKBSpQzBcw--a_qt4QYawfCsNOwEopIVgw--/pcd:portal_content/CustomContent/com.nku.folder.roles/com.nku.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_benefits_payment/com.sap.pct.erp.ess.area_benefits_payment/sap.com/pcui_gp~xssutils/XssMenuArea/base/. The causing exception is nested. RID=a7c267f44f0f11e4a81800000038253e ...
    Caused by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException: wdDoInit: exception thrown in this user coding area...
    Caused by: com.sap.tc.webdynpro.progmodel.context.DictionaryException: TypeBroker failed to access SLD: Error while obtaining JCO connection...
    Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection....
    Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection....
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for 'SAP_R3_SelfServiceGenerics_MetaData'...
    Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.String.equals(java.lang.Object) of a null object loaded from field com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.userDefinition of an object loaded from local variable 'this'
    at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestination(JCOClientConnection.java:532)...
    END LOG EXCERPT
    After that, I could not access Web Dynpro Content Administration (/webdynpro/welcome/) > Create JCo Destination or Maintain JCo Destinations. I received the error:
    START LOG EXCERPT
    500 Internal Server Error is returned for HTTP request [https://xxx.xxx.xxx:443/webdynpro/resources/sap.com/tc~wd~tools~admin/Explorer]:
      component [dispatcher],
      web module [webdynpro/resources/sap.com/tc~wd~tools~admin],
      application [sap.com/tc~wd~tools~admin],
      DC name [sap.com/tc~wd~tools~admin],
      CSN component[BC-WD-JAV],
      problem categorization [],
      internal categorization [713773210].
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.lang.String.equals(java.lang.Object) of a null object returned from com.sap.lcr.api.sapmodel.SAP_JCODestination.getUserHandling()
    END LOG EXCERPT
    After reading your reply I decided to log on to the local SLD and delete all of the JCo Destinations that I had created in the SLD.  I was then able to successfully get to Web Dynpro Content Administration > Maintain JCo Destinations.  I then manually created all of the JCo Destinations in Web Dynpro Content Administration and our ESS problems were resolved.
    Thanks for your help!
    Jill

  • Registering keyboard listener

    Hi,
    In my application I have a JFrame and I add panels to the frame. The JFrame has a menubar which contains menus and menuitems. My problem is that I want to catch keyboard events. After the frame comes up, I should be able to hit certain keys and perform certain actions which will modify the UI.
    I tried adding a keyboard listener to the content pane of the frame but it didn't work. What I did was as follows:
    getContentPane.addkeyListener( new KeyAdapter()
    public void keyReleased (KeyEvent ke)
    // do something
    Can anybody help?
    thanks a lot in advance,
    -Amitabh

    The events are probably being handled at a lower level (subcomponents) and never getting fired to the ContentPane.
    I would suggest extending the DefaultKeyboardFocusManager class and overridding the processKeyEvent or dispatchKeyEvent method.
    public class YourKeyboardFocusManager extends DefaultKeyboardFocusManager
        private   KeyboardFocusManager m_initialManager   = KeyboardFocusManager.getCurrentKeyboardFocusManager();
        public YourKeyboardFocusManager()
            super();
            KeyboardFocusManager.setCurrentKeyboardFocusManager(this);
        public boolean dispatchKeyEvent(KeyEvent event)
            Component component = event.getComponent();
            System.out.println("component dispatching the  KeyEvent : "+component.getClass().getName());
            switch (event.getKeyCode())
              case KeyEvent.VK_WHATEVER_KEY_YOU_WANT:
                     //DO YOUR STUFF HERE
                      event.consume();
                      break;
              default:
                    return m_initialManager.dispatchKeyEvent(event);
             return m_initialManager.dispatchKeyEvent(event);
    } Now this class will pick up every single key event posted to the AWTEventQueue before it is dispatched. This may be overkill but it does what you need. You can look into setting up your own keyevent dispatcher if you want and adding that to the current KeyboardFocusManager opposed to writing your own like above.
    Anyway, should be enough here to fix your problem.
    Hope this helps
    nes

  • Menu not activated from mnemonic

    Hello All,
    Please consider the following code.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame{
        public Test()
            try {
              jbInit();
            catch(Exception e) {
              e.printStackTrace();
        public static void main(String[] argv)
            new Test();
        private void jbInit() throws Exception {
    //      new MyKeyboardFocusManager();
          JMenuBar menuBar = new JMenuBar();
          JMenu menu = new JMenu("File");
          JMenuItem menuItem = new JMenuItem("Test");
          menu.setMnemonic(70);
          menu.add(menuItem);
          menuBar.add(menu);
          this.setSize(200,100);
          this.setJMenuBar(menuBar);
          this.show();
        class MyKeyboardFocusManager extends DefaultKeyboardFocusManager
            public MyKeyboardFocusManager()
                KeyboardFocusManager.setCurrentKeyboardFocusManager(this);
            public boolean dispatchKeyEvent(KeyEvent event)
                Component component = event.getComponent();
                System.out.println("dispatchKeyEvent > component dispatching the KeyEvent : " + component.getClass().getName());
                return super.dispatchKeyEvent(event);
            public void processKeyEvent(Component component, KeyEvent event)
                System.out.println("processKeyEvent > component processing the KeyEvent : " +
                                   component.getClass().getName());
                super.processKeyEvent(component,event);
    }If you run the code a simple JFrame will appear with a menu. If you press <Alt-F> the File menu will open. Standard stuff.
    Now uncomment the //new MyKeyboardFocusManager(); line and run the code again. The menu no longer activates on the <Alt-F> key event. What is going on????
    The MyKeyboardFocusManager class simple prints out some text and forwards the event to the parent. Why should this stop the frame activating the menu????
    To make things even more confusing. If you add a component to the JFrame and move the focus to the component, the <Alt-F> key event works and the menu is shown.
    Any help appreciated as I am very confused.....
    nes

    Since you are using your own KeyboardFocusManager that is not handling events by calling super.<method()>. I think you should write your MyKeyboardFocusManager as given below:-
         class MyKeyboardFocusManager extends DefaultKeyboardFocusManager
              KeyboardFocusManager kfm = KeyboardFocusManager.getCurrentKeyboardFocusManager();
              public MyKeyboardFocusManager()
                   KeyboardFocusManager.setCurrentKeyboardFocusManager(this);
              public boolean dispatchKeyEvent(KeyEvent event)
                   Component component = event.getComponent();
                   System.out.println("dispatchKeyEvent > component dispatching the KeyEvent : " +
                        component.getClass().getName());
                   return kfm.dispatchKeyEvent(event);
    //               return super.dispatchKeyEvent(event);
              public void processKeyEvent(Component component,KeyEvent event)
                   System.out.println("processKeyEvent > component processing the KeyEvent : " +
                        component.getClass().getName());
    //               super.processKeyEvent(component,event);
                   kfm.processKeyEvent(component,event);
         }

  • Difference between resizeEffect and resize ?

    Hy
    does anyone can explain me the difference between resizeEffect and resize ?
    example:
    <mx:Button label="hello" resizeEffect="" resize="" />
    thanks !

    resize is an event that the component dispatches whenever it's size is changed.
    resizeEffect is the effect that takes place when the resize event happens.

  • Dispatching Event in ItemRenderer Component?

    Am I going about this the right way? Here's my situation:
    I have a custom itemRenderer for a List. This itemRenderer consists mainly of a checkbox and label, but has a few additional details in it (which is why I'm not using a drop-in itemRenderer). I want to detect when the selection of the checkbox changes, so I was thinking of creating a custom event in the itemRenderer and then bubbling it up to the list.
    Or is there a way I can detect when a user checks a checkbox from the lists itself?
    Thanks!

    I found this article which explains this topic very well also: http://weblogs.macromedia.com/pent/archives/2008/03/itemrenderers_p_2.html
    (It appears that these may be referencing the same series of articles on different sites.)
    However, I am now conflicted, because if I the version without bubbling, I am tying the itemRenderer directly to my component; whereas with bubbling I don't need to make that association. I may opt for the bubbling route after all, because I want to keep my itemRenderers generic enough to use in any of my custom controls, and not just in a certain type.
    For more clarification: the hangup is where the event gets triggered on the listData.owner. To do this, it appears that it must be type-cast first, and then manipulated. Any ideas on how to get around that? Here's Peter's example:
    ====================================
    First, you have to add metadata to the CatalogList control to let the compiler know the control dispatches the event:
         import events.BuyBookEvent;
         import mx.controls.TileList;
         [Event(name="buyBook",type="events.BuyBookEvent")]
         public class CatalogList extends TileList
    Second, add a function to CatalogList to dispatch the event. This function will be called by the itemRenderer instances:
              public function dispatchBuyEvent( item:Object ) : void
                   var event:BuyBookEvent = new BuyBookEvent();
                   event.bookData = item;
                   dispatchEvent( event );
    Third, change the Buy button code in the itemRenderer to invoke the function:
                   <mx:Button label="Buy" fillColors="[0x99ff99,0x99ff99]">
                        <mx:click>
                        <![CDATA[
                             (listData.owner as CatalogList).dispatchBuyEvent(data);
                        ]]>
                        </mx:click>
                   </mx:Button>
    Now the Button in the itemRenderer can simply invoke a function in the list control with the data for the record (or anything else that is appropriate for the action) and pass the responsibility of interfacing with the rest fo the application onto the list control.
    ====================================

  • Event dispatching in lightweight component

    Hi all
    I'm trying to figure out how the event dispatch works for the Swing's lightweight component, and there's something I can't find in the tutorials I found.
    Lightweight components doesn't have a peer, so they don't receive directly paint events, but it's their containers that call it inside their paint() method (and that's why one should always write super.paint() if wants to override the container's paint() ).
    But what about the other events? I suppose they are received by the container (just as paint events) but I can't understand how that container dispatches them to the right lightweight container...
    Thank you

    This is what I know about the painting in light weight component in Java.
    Lets us concentrate on the button only.
    Whenever we press the button we change it s state from 'normal' to 'pressed'. ( Some boolean might be used in the actual code ).
    Like wise whenever we do some user inputs to the button ( or any other lightweight component ) it results in the change in the state of the button.
    These basic actions are handled by BasicButtonListener.
    Now whenever the state of a component is changed it triggers a ChangeEvent associated with that perticular state change.
    The implementation of the button is such that it calls the repaint method itself whenever any state of the button changes.
    So it is the component itselt who calls its paint method and not its outermost container as you think.
    The container of any component can result in repainting of its child component only when it revalidates itself.

  • [svn:cairngorm3:] 21050: Popup: The default behavior when an Event. CLOSE is dispatched through the popup component should be preventable

    Revision: 21050
    Revision: 21050
    Author:   [email protected]
    Date:     2011-04-09 16:22:58 -0700 (Sat, 09 Apr 2011)
    Log Message:
    Popup: The default behavior when an Event.CLOSE is dispatched through the popup component should be preventable
    https://bugs.adobe.com/jira/browse/CGM-59
    Popup: The write-only behaviors property can not be used with states
    https://bugs.adobe.com/jira/browse/CGM-55
    Ticket Links:
        http://bugs.adobe.com/jira/browse/CGM-59
        http://bugs.adobe.com/jira/browse/CGM-55
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/Popup/test/com/adobe/cairngorm/popup/PopUpBaseTest.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/html-template/
        cairngorm3/trunk/libraries/PopupTest/html-template/index.template.html
        cairngorm3/trunk/libraries/PopupTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/PopupTest/html-template/swfobject.js

    Hi Shweta,
    as i discussed with you to update the script code
    <html><script> function closeWindow( ){       top.close( );     }                  </script><body><form> The application was logged off successfully. <br><input type="button" value="close window" onclick="closeWindow( );" /></ form></body></html>
    in sicf transaction for your component.
    it will work (close the window).
    dont forget to give me points
    all the best...
    Rgds,
    Mahesh.Gattu

Maybe you are looking for

  • Desc not working in SQL Developer Version 1.1.3 Build 27.69

    Hi All, I am using Oracle SQL Developer Version 1.1.3 Build 27.69 select count(*) from abccount(*) 100 using desc / describe table name gives error desc abcERROR: ERROR: object abc does not exist 1 rows selected I am able to perform select on the tab

  • Billing not releasing to accounting

    Hi, At the time of releasing Billing Document by T. code VF02 to accounting we are getting this error message, u201CAssign condition type P101 in CO-PA and message no. is KE391.u201D Please suggest how to solve  this issue.

  • How to make a dynamic table in front panel to show the result?

    Hi, Dear friends!It was a long time that I can't visit here.It is labview that brings me good luck. I will never forget all friends who answer me in time. Thank you all.Let's keep contact with each other without breaking. I have no question Today.I t

  • Embed Livecycle Form in Java Applikation

    Hi, we are using Adobe Acrobat 9 to create Livecycle Forms. Is there a way to display or embed livecycle forms in a Java Apllication. I know there was a java bean from adobe for displaying pdf's but it doesn't seem that this java viewer is compatible

  • How can I edit original e-mails from friends?

    I've been able to do this w/Firefox 3.6.2 on my previous computer & present one ever since my first install. I would open e-mail, click on it & was able to delete or add text. Two days ago I was using backspace to remove text & decided to highlight a