Java.lang.NullPointerException at org.apache.struts.taglib.tiles.InsertTag

I am using tiles with JSF.
my starting page is template.jsp which is like this..
<f:view>
<f:subview id="header">
<tiles:insert attribute="header" flush="false"/>
</f:subview>
<f:subview id="menu">
<tiles:insert attribute="menu" flush="false"/>
</f:subview>
</f:view>
when ever the page is rendered, im not getting the value for attribute header or content. its throwing java.lang.NullPointerException at org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:689)
Below is my faces-config.xml
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<application>
<view-handler>org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl</view-handler>
</application>
</faces-config>
Below is my web.xml
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<init-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/ApplianceMgr/conf/faces-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Tiles Servlet</servlet-name>
<servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class>
<init-param>
<param-name>tiles-definitions</param-name>
<param-value>/ApplianceMgr/conf/tiles.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
Below is my tiles.xml
<tiles-definitions>
<definition name="main.template" path="/template/template.jsp" >
<put name="header" value="test from template" />
<put name="menu" value="test from template" />
</definition>

Please post the tiles-config.xml, layout and tiles.
Please refer
http://www.oracle.com/technology/pub/articles/vohra_tiles.html

Similar Messages

  • Tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag"

    Hi All,
    I have a proble deploying my app with struts 1.3.10, when I run under tomcat 6 on my eclipse, it´s fine, but when I deploy on weblogic send next exception:
    ####<Apr 2, 2013 4:24:19 PM CDT> <Info> <ServletContext-/slagentes> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1364937859494> <BEA-000000> <layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    >
    ####<Apr 2, 2013 4:24:19 PM CDT> <Error> <HTTP> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1364937859499> <BEA-101017> <[ServletContext@159254910[app:slagentes module:/slagentes path:null spec-version:3.0], request: weblogic.servlet.internal.ServletRequestImpl@5ebf5ebf[
    POST /slagentes/login.do HTTP/1.1
    Connection: keep-alive
    Content-Length: 37
    Cache-Control: max-age=0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Origin: http://172.17.12.129:7004
    User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
    Content-Type: application/x-www-form-urlencoded
    Referer: http://172.17.12.129:7004/slagentes/
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: es-ES,es;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    ]] Root cause of ServletException.
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/template/layout.jsp
    layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:225)
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:161)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:190)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:281)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:453)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:364)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:567)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:263)
    at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
    at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3284)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    My weblogic.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
         xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd">
         <wls:container-descriptor>
              <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
         </wls:container-descriptor>     
    </wls:weblogic-web-app>     
    and my weblogic-application.xml is
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
         xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
         <application-param>
              <param-name>webapp.encoding.default</param-name>
              <param-value>UTF-8</param-value>
         </application-param>
         <prefer-application-packages>
              <package-name>antlr.*</package-name>          
              <package-name>org.apache.*</package-name>          
              <package-name>javax.xml.rpc.*</package-name>
              <package-name>javax.xml.namespace.*</package-name>
              <package-name>javax.xml.messaging.*</package-name>
              <package-name>javax.xml.soap.*</package-name>
              <package-name>javax.servlet.jsp.jstl.*</package-name>
         </prefer-application-packages>
    </weblogic-application>
    please help me

    The struts-template tld has been deprecated in favour of the tiles taglib.
    If you are using anything above struts 1.0, then you should be using tiles.
    Most probably the support files for the struts-template taglib are not in your distribution.
    Cheers,
    evnafets

  • Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHa

    I am using JDeveoper10.1.2 with JHeadStart
    I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
    Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
    Please help what could be the cause.

    I have another way to solve this problem!
    When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
    or
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
    If line (1) marked, change the prefix="html" to prefix="html1"
    If line (2) marked, find the lines like <bean:message key="link.something_here"/>
    and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
    I successfully using this way but only if one error happend at a time or two errors from two kinds of error
    This way is not as good as the previous way mentioned in previous post.

  • Java.lang.NullPointerException at org.collaxa.thirdparty.apache.wsif.base.

    Hi,
    I am trying to invoke a Websservice, which has JCA bindings, using the WSIF framework. Getting a null pointer exception:
    Have posted the code and error below.
    CODE SNIPPET:
    ====================================================================
    try{
    /* if (Thread.currentThread().getContextClassLoader() == null) {
    ClassLoader cl = getClass().getClassLoader();
    Thread.currentThread().setContextClassLoader(cl);
    oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA provider = new oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA();
    org.collaxa.thirdparty.apache.wsif.util.WSIFPluggableProviders.overrideDefaultProvider("http://xmlns.oracle.com/pcbpel/wsdl/jca/", provider);
    Definition wsdlDefinition = WSIFUtils.readWSDL(null, "C:\\SOAPJCA\\BRMCustServices.wsdl");
    Service wsdlService = wsdlDefinition.getService(new QName("http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes") );
    org.collaxa.thirdparty.apache.wsif.WSIFServiceFactory wsifFactory = org.collaxa.thirdparty.apache.wsif.WSIFServiceFactory.newInstance();
    WSIFService wsifService = wsifFactory.getService(wsdlDefinition, wsdlService);
    String portChosen = null;
    Iterator it = wsifService.getAvailablePortNames();
    while (it.hasNext()) {
    String nextPort = (String) it.next();
    if (portChosen == null)
    portChosen = nextPort;
    System.out.println(" - " + nextPort);
    WSIFPort port_wsif = wsifService.getPort();
    System.out.println("After that !!");
    //WSIFPort javaPort = wsifService.getPort("");
    }catch(WSIFException wsifEx){
    System.out.println("Within WSIF exceptions");
    wsifEx.printStackTrace();
    ====================================================================
    ERROR:
    ====================================================================
    - WSIF0007I: Using WSIFProvider 'oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA' for namespaceURI 'http://xmlns.oracle.com/pcbpel/wsdl/jca/'
    - BRMCUSTService_pt
    After preferred portoracle.j2ee.ws.wsdl.DefinitionImpl@1d86fd3
    After preferred portclass org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl
    Within exceptions
    java.lang.NullPointerException
         at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort(WSIFServiceImpl.java:417)
         at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:467)
         at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:429)
         at WSIFSample4.main(WSIFSample4.java:62)
    =====================================================================
    The jars used here are orabpel related jars, which has its own JCA provider and implementation classes. There are similar errors reported in Axis WSIF forums for:
    Null pointer Exception at apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort
    But no concrete answers to it.
    Has anyone tried using WSIF in Oc4j,
    Any help is appreciated.
    Thanks,

    It says "*unique* constraint (XXEA_GLOBAL.XXEA_GL_JOURNAL_IN_STG_U1) violated". Pls check if your data (for insertion) is violating this constraint.

  • Java.lang.ClassNotFoundException:myclass org.apache.catalina.loader

    I've been building some HTTP servlets and to ease up on the typing I've created a ServletUtilities file and class for repetitve tasks. I then added this file to my core package. However once I made a call to my ServletUtilites class from the other classes I've been getting:
    HTTP Status 500 - Exception Report
    java.lang.ClassNotFoundException:FactoryClass org.apache.catalina.loader. WebappClassLoader. loadClass(WebappClassLoader.java:1453)

    You're right, you posted a new thread, but . . .
    This whole forum is dedicated to Messaging Server
    You might want to find the correct forum to post your question . . . . . . . . . .

  • Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib

    Hi,
    I am using tomcat 4.1.x and jdk1.4. After updating the tomcat to 5.5.17 my application gives the following error:
    org.apache.jasper.JasperException: /jsp/index.jsp(150,20) Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
    Is it because jdk1.4 is not compatible with tomcat 5.5.17? can i fix this problem by just pasting some jar files in my WEF-INF/lib directory?
    If yes, could you let me know what those jar files are.
    Can anyone please suggest me if there is some other approach?

    Just remove jsp-api.jar from your classpath.

  • Javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib

    Hi
    i have a form from which i am gettin values and i am using struts to get those values and perform actions in my DAO,
    i am able to retrieve values from DAO but the value is not gettin printed in front end.. its throwing
    "javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope" error
    got any suggestions
    thankx

    Got the solution,. i had closed my <html:form> before closing one of my <html:form>
    thankx

  • Error:Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

    I want to submit this page so that i can retrieve values in the new employer name and license type depending on the license # my jsp code is as below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ page import="org.apache.struts.action.Action.*"%>
    <%@ page contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html>
    <HEAD>
    <TITLE><bean:message key="application.title"/></TITLE>
    <META HTTP-EQUIV="Content-Type" content="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" content="Oracle JDeveloper 10g">
    <META HTTP-EQUIV="Content-Style-Type" content="text/css">
    <META HTTP-EQUIV="PRAGMA" VALUE="NO-CACHE">
    <LINK href="theme/Master.css" rel="stylesheet" type="text/css">
    <SCRIPT src="javascript/common_validation.js"></SCRIPT>
    </HEAD>
    <BODY MARGINHEIGHT="0" marginweight="0" topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
    <%@ include file="../../includes/icolaMenu.jsp" %>
    <html:form action="/addTransfer.do" focus="newEmplic" onsubmit="return validateTransferlicenseeForm(this);">
    <html:javascript formName="transferlicenseeForm" /><html:errors />
    <tr><td>
    <table align="left" border="1" width="736" bgcolor="ffffff" cellpadding="0" cellspacing="0" bordercolor="c0c0c0">
    <tr><td>
    <table width="736" border="0" cellpadding="1" cellspacing="0">
    <tr>
    <td width="730" align=center><b><font face="Verdana, Arial, Helvetica, sans-serif">Transfer License</font></b></td>
    </tr>
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td><%@ include file="../../includes/licenseDetails.jsp" %></td>
    </tr>
    <tr>
    <td align="center">
    <table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
    <tr>
    <td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>  &#58;&#58;  Current Employing Licensee Information:</b></font></td>
    <td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>&#164; &#164; &#164;  </b></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="left"><table width="734" border="0">
    <tr>
    <td width="30"> </td>
    <td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
    <td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplic" /></font></td>
    </tr>
    <tr>
    <td width="4%"> </td>
    <td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
    <td width="30%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpname" /></font></td>
    <td width= "20%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>DBA Name:</b></font></td>
    <td width="30%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpdbaname" /></font></td>
    </tr>
    <tr>
    <td width="30"> </td>
    <td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
    <td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplictype" /></font></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td nowrap><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    </tr>
    <tr>
    <td align="center">
    <table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
    <tr>
    <td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>  &#58;&#58;  New Employing Licensee Information:</b></font></td>
    <td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>&#164; &#164; &#164;  </b></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <logic:equal name="transferlicenseeForm" property="transferButton" value="button.submit">
    <tr>
    <td align="left"><table width="734" border="0">
    <html:form action="ChangeEvent.do" name ="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" >
    <html:hidden property="method" />
    <tr>
    <td width="4%"> </td>
    <td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
    <td width="76%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><html:text styleClass="required" maxlength="10" name="transferlicenseeForm" property="newEmplic" onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}" /></font>  
    <font size="-2" color=blue face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td>
    <!-- <td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
    <td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td>-->
    </tr>
    <!-- </html:form> -->
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
    </tr>
    <tr>
    <td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
    fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
    Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
    </td>
    </tr>
    </table></td>
    </tr>
    <html:hidden property="parentLicid" />
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><b>Have you been convicted of a felony or misdemeanor for which you could have gone to jail that has not previously been reported to the department?</b></font>
    </td>
    </tr>
    <tr>
    </tr>
    <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray">
    <html:radio property="GMCind" value="N" disabled="true"/>NO
    <html:radio property="GMCind" value="Y" disabled="true"/>YES (Complete and return this questionaire)
    (http://www.cis.state.mi.us/bcsc/forms/lce020.pdf)
    </font>
    </td>
    </tr>
    <!-- <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Have you had disciplinary action taken against any license, registration or permit you now hold or have ever held that you have not reported to the department?</b></font>
    </td>
    </tr>
    <tr>
    <td colspan=3>
    <font size="-1" face="Verdana, Arial, Helvetica, sans-serif">
    <html:radio property="dispInd" value="N" />NO
    <html:radio property="dispInd" value="Y" />YES (Complete and return this questionaire)
    (http://www.cis.state.mi.us/bcsc/forms/lce021.pdf)
    </font>
    </td>
    </tr>-->
    </td>
    </tr>
    </logic:equal>
    <logic:equal name="transferlicenseeForm" property="transferButton" value="button.canceltransfer">
    <tr>
    <td align="left"><table width="734" border="0">
    <tr>
    <td width="30"> </td>
    <td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License #:</b></font> </td>
    <td width="280"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><html:text styleClass="required" maxlength="10" property="newEmplic" disabled="true" /></font>   </td>
    <!-- <font size="-2" color="Gray" face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td> -->
    <!--<td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
    <td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td> -->
    </tr>
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>Name:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License Type:</b></font></td>
    <td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
    </tr>
    <tr>
    <td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
    fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
    Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
    </td>
    </tr>
    </table></td>
    </tr>
    <html:hidden property="parentLicid" />
    <tr>
    <td> </td>
    </tr>
    </logic:equal>
    <tr>
    <td align="center">
    <table width="734" border="0">
    <tr>
    <td align="left" width="240" valign="middle"> <img src="images/icon_required.gif" align=top width="6" height="6" border="0"> Required Field</td>
    <td align="center" width="20">
    <html:submit property="confirmTrans">
    <bean:message name="transferlicenseeForm" property="transferButton" />
    </html:submit>
    </td>
    </html:form>
    <html:form action="/Button">
    <td align="left" width="330">
    <html:cancel property="method">
    <bean:message key="button.returnChild"/>
    </html:cancel>
    </td>
    </html:form>
    </tr>
    </table></td>
    </tr>
    </table>
    </td></tr>
    </table>
    </td></tr>
    <%@ include file="../../includes/icolaFooter.html" %>
    </BODY>
    </html:html>
    my struts-config as below
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
    <struts-config>
    <form-beans>
         <form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="userID" type="java.lang.String" />
    <form-property name="pinNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="renewalLoginForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="licNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="reqPwdResetForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="chooseOption" type="java.lang.String" />
    <form-property name="lName" type="java.lang.String" />
    <form-property name="SSN" type="java.lang.String" />
    <form-property name="DOB" type="java.lang.String" />
    <form-property name="licNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="reqNewAcctForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="chooseOption" type="java.lang.String" />
    <form-property name="lName" type="java.lang.String" />
    <form-property name="SSN" type="java.lang.String" />
    <form-property name="DOB" type="java.lang.String" />
    <form-property name="licNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="changePinForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="userID" type="java.lang.String" />
    <form-property name="pinNum" type="java.lang.String" />
    <form-property name="dupPinNum" type="java.lang.String" />
    </form-bean>
    <form-bean name="newAppInitialForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="board" type="java.lang.String" />
    <form-property name="licType" type="java.lang.String" />
    <form-property name="obtBy" type="java.lang.String" />
    <form-property name="allObtBy" type="java.lang.String" />
    <form-property name="allLicTypes" type="java.lang.String" />
    </form-bean>
    <form-bean name="mainForm" type="org.apache.struts.validator.DynaValidatorForm" >
    <form-property name="chooseOption" type="java.lang.String" />
    </form-bean>
    <form-bean name="buttonForm" type="org.apache.struts.validator.DynaValidatorForm" />
    <form-bean name="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" />
    <form-bean name="apprTransferForm" type="org.apache.struts.validator.DynaValidatorForm" >
    <form-property name="trApprFlag" type="java.lang.String[]" />
    </form-bean>
    <form-bean name="empRenewForm" type="com.dleg.cola.forms.EmpRenewForm" >
    <form-property name="empRenFlag" type="java.lang.String[]" />
    </form-bean>
    <form-bean name="renewalForm" type="com.dleg.cola.forms.RenewForm" />
    <form-bean name="reprintlicenseForm" type="com.dleg.cola.forms.ReprintLicenseForm" />
    <form-bean name="invoiceForm" type="com.dleg.cola.forms.InvoiceForm" />
    <form-bean name="creditCardForm" type="com.dleg.cola.forms.CreditCardForm" />
    <form-bean name="addressChangeForm" type="com.dleg.cola.forms.AddressChangeForm" />
    <form-bean name="personForm" type="com.dleg.cola.forms.PersonForm" />
    <form-bean name="companyForm" type="com.dleg.cola.forms.CompanyForm" />
    <form-bean name="checkListForm" type="com.dleg.cola.forms.CheckListForm" />
    </form-beans>
    <global-exceptions>
    <exception type="com.dleg.cola.exceptions.DatabaseException" key="error.database.missing" path="/error.jsp" scope="request" />
    </global-exceptions>
    <global-forwards>
    <forward name="login" path="/login.jsp" redirect="false" />
    </global-forwards>
    <action-mappings type="org.apache.struts.config.SecureActionConfig">
    <action path="/RequestPwdReset" input="/WEB-INF/jsps/reqPwdReset.jsp" type="com.dleg.cola.actions.RequestPwdResetAction" name="reqPwdResetForm">
              <forward name="success" path="/changePin.jsp" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
    <action path="/RequestNewAcct" input="/WEB-INF/jsps/reqNewAcct.jsp" type="com.dleg.cola.actions.RequestNewAcctAction" name="reqNewAcctForm">
              <forward name="destination1" path="/changePin.jsp" />
    <forward name="destination2" path="/changePin.jsp" />
    <forward name="destination3" path="/register.jsp" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
         <action path="/RenewalLogin" input="/WEB-INF/jsps/renewalLogin.jsp" type="com.dleg.cola.actions.RenewalLoginAction" name="renewalLoginForm">
              <forward name="success" path="Licensee.do" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
    <action path="/Login" input="/WEB-INF/jsps/login.jsp" type="com.dleg.cola.actions.LoginAction" name="loginForm">
              <forward name="success" path="Licensee.do" />
    <!--<forward name="success1" path="/UserLogin.jsp" /> -->
    <forward name="success1" path="/changePin.jsp" />
    <forward name="success2" path="/newApp.jsp" />
              <forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
         </action>
    <action path="/UpdateAddrInfo" type="com.dleg.cola.actions.UpdateAddrInfoAction" name="personForm">
    <forward name="success" path="ShowCheckList.do" />
         </action>
    <action path="ShowCheckList" type="com.dleg.cola.actions.ShowCheckListAction" name="checkListForm">
    <forward name="success" path="/checkList.jsp" />
         </action>
    <action path="/SubmitCheckList" type="com.dleg.cola.actions.SubmitCheckListAction" name="checkListForm">
    <forward name="success" path="viewInvoice.do" />
         </action>
    <action path="Licensee" type="com.dleg.cola.actions.LicenseeAction" name="licenseeForm">
              <forward name="success" path="/licHome.jsp" />
         </action>
    <action path="/Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
    <set-property property="secure" value="true"/>
    <forward name="exit" path="/login.jsp" />
    <forward name="exit1" path="/renewalLogin.jsp" />
    <forward name="changePin" path="/changePin.jsp" />
    <forward name="approve" path="PendAppr.do" redirect="false" />
    <forward name="submit" path="/ApprTransfer.do" redirect="false" />
    <forward name="returnHome" path="/licHome.jsp" redirect="false" />
    <forward name="returnChild" path="ChildLic.do" redirect="false" />
    <forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
    <forward name="cancel" path="/login.jsp" redirect="false" />
    <forward name="renew" path="RenewLic.do" redirect="false"/>
    <forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="pay" path="/makePayment.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false"/>
    <forward name="login" path="/login.jsp" redirect="false" />
    <forward name="main" path="/main.jsp" redirect="false" />
    <forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
    <forward name="newLicApp" path="NewApp.do" redirect="false" />
    <forward name="renewMore" path="/licHome.jsp" redirect ="false" />
    </action>
    <action path="Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
    <set-property property="secure" value="true"/>
    <forward name="exit" path="/login.jsp" />
    <forward name="changePin" path="/changePin.jsp" />
    <forward name="approve" path="PendAppr.do" redirect="false" />
    <forward name="submit" path="/ApprTransfer.do" redirect="false" />
    <forward name="returnHome" path="/licHome.jsp" redirect="false" />
    <forward name="returnChild" path="ChildLic.do" redirect="false" />
    <forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
    <forward name="cancel" path="/login.jsp" redirect="false" />
    <forward name="renew" path="RenewLic.do" redirect="false"/>
    <forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
    <forward name="pay" path="/makePayment.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false"/>
    <forward name="main" path="/main.jsp" redirect="false" />
    <forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
    <forward name="newLicApp" path="NewApp.do" redirect="false" />
    <forward name="renewMore" path="/licHome.jsp" redirect ="false" />
    </action>
    <action path="NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
    <forward name="success" path="/newApp.jsp" />
    </action>
    <action path="/NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
    <forward name="success" path="/newApp.jsp" />
    </action>
    <action path="/AddressInfo" type="com.dleg.cola.actions.AddressInfoAction" name="personForm" scope="request">
    <forward name="success" path="/addressInfo.jsp" />
    </action>
    <action path="/NewAppContinue" type="com.dleg.cola.actions.NewAppContinueAction" name="newAppInitialForm" scope="request">
    <forward name="success" path="/newAppContinue.jsp" />
    </action>
    <action path="/ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
    <forward name="success" path="/child_lic.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
    <forward name="success" path="/child_lic.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/transferLic" type="com.dleg.cola.actions.ButtonAction" name="transferlicenseeForm" parameter="transferLicense" scope="request">
    <forward name="transfer" path="/transferLicense.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/transferLicense" type="com.dleg.cola.actions.TransferLicAction" name="transferlicenseeForm" scope="request">
    <forward name="transfer" path="/transferLicense.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/ChangeEvent" type="com.dleg.cola.actions.ChangeAction" name="transferlicenseeForm" scope="request" parameter="method">
    <forward name="success" path="/transferLicense.jsp"></forward>
    <forward name="failure" path="/error.jsp"></forward>
    </action>
    <action path="/addTransfer" input="transferLicense.jsp" type="com.dleg.cola.actions.TransferLicenseAction" name="transferlicenseeForm" parameter="confirmTrans" scope="request">
    <forward name="success" path="/viewInvoice.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    <forward name="cancel" path="/child_lic.jsp" redirect="false" />
    <forward name="transfer" path="/licHome.jsp" redirect="false" />
    <forward name="invalid" path="/error.jsp" redirect="false" />
    </action>
    <action path="/reprintLic" input="child_lic.jsp" type="com.dleg.cola.actions.ButtonAction" name="reprintlicenseForm" parameter="reprintLicense" scope="request">
    <forward name="reqDuplicate" path="/dupReprint.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/addReprint" input="dupReprint.jsp" type="com.dleg.cola.actions.ReprintAction" name="reprintlicenseForm" scope="request">
    <forward name="success" path="/viewInvoice.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    <forward name="cancel" path="/child_lic.jsp" redirect="false" />
    </action>
    <action path="/ChangePin" input="/WEB-INF/jsps/changePin.jsp" type="com.dleg.cola.actions.ChangePinAction" name="changePinForm">
    <forward name="success" redirect="false" path="Licensee.do" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/changeAddress" type="com.dleg.cola.actions.ChangeAddressAction" name="addressChangeForm" parameter="method" scope="request">
    <forward name="changeEntAddr" path="/changeAddress.jsp" redirect="false" />
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/ChangeLicAddr" type="com.dleg.cola.actions.ChangeLicAddrAction" name="addressChangeForm" parameter="method" scope="request">
    <forward name="changeLicAddr" path="/changeLicAddr.jsp" redirect="false" />
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/RenewLicense" type="com.dleg.cola.actions.RenewLicenseAction" name="renewalForm" scope="request">
    <forward name="success" path="/renew.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/Register" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterAction" name="personForm" scope="request">
    <forward name="success" path="/login.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/RegisterCom" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterComAction" name="companyForm" scope="request">
    <forward name="success" path="/login.jsp" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/addRenewal" input="renew.jsp" type="com.dleg.cola.actions.RenewLicAction" name="renewalForm" scope="request">
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/PendAppr" type="com.dleg.cola.actions.PendApprAction">
    <forward name="approve" path="/approveTransfer.jsp" redirect="false" />
    </action>
    <action path="PendAppr" type="com.dleg.cola.actions.PendApprAction">
    <forward name="approve" path="/approveTransfer.jsp" redirect="false" />
    </action>
    <action path="/ApprTransfer" type="com.dleg.cola.actions.ApprTransferAction" name="apprTransferForm">
    <forward name="success" path="Licensee.do" redirect="false" />
    </action>
    <action path="EmpRenew" type="com.dleg.cola.actions.EmpRenewAction" name="empRenewForm">
    <forward name="empRenew" path="/subRenewal.jsp" redirect="false" />
    </action>
    <action path="/SubmitEmpRenew" type="com.dleg.cola.actions.SubmitEmpRenewAction" name="empRenewForm">
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/remove" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/addRenew" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
    <forward name="addCart" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/backHome" type="com.dleg.cola.actions.HomeAction" name="buttonForm">
    <forward name="success" path="/licHome.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="/viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
    <set-property property="secure" value="true"/>
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <action path="viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
    <set-property property="secure" value="true"/>
    <forward name="success" path="/viewInvoice.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    <!--
    <action path="/checkOut" input="payNow.jsp" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
    <forward name="success" path="https://www.govone.com/epay/http/pay.aspx" redirect="true" />
    <forward name="confirm" path="/confirmPayment.jsp" redirect="false"/>
    <forward name="failure" path="/error.jsp" redirect="false" />
    </action>
    -->
    <action path="/checkOut" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
    <forward name="success" path="/wait.jsp" redirect="false" />
    <forward name="failure" path="/error.jsp" redirect="false" />
    <forward name="cancel" path="viewInvoice.do" redirect="false" />
    </action>
    <action path="/CommitTxn" type="com.dleg.cola.actions.CommitTxnAction" >
    <forward name="success" path="/paymentConf.jsp" redirect="false"/>
    <forward name="fail

    looking at the code...dont know where to start ... but usally this error occurs when u r using a property attribute in in html tag which wont actually exist in the action form or with a different spell....
    just check the exact naming and spelll of property attribute of HTML tag ,,,

  • Java.lang.NullPointerException after setDisabled(false);

    Trying to execute it.setDisabled(false) or it.setReadOnly(false) i get:
    ava.lang.NullPointerException
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1
    The error log writes:
    <RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase 5
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1545)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at ua.zp.zss.view.backing.Sprppfu.t1_add(Sprppfu.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 43 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096: Server Exception during PPR, #1
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:521)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at ua.zp.zss.view.backing.Sprppfu.t1_add(Sprppfu.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1545)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
         ... 36 more
    Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
    P.S. it.setDisabled(true) works ok.
    Edited by: user5376911 on 28.05.2013 8:08

    You can create a boolean variable
    boolean inputTextState = false;
    //get setthen according to your logic
    public void selectRowTableMethod(SelectionEvent selectionEvent){
       //your logic
       if(otherVariable.equals("A"){
          inputTextState = true;
       }else{}
          inputTextState = false;
    //depends on your logic
    //then you input rendered or disable value should have an EL( expression language) use the expression builder option
    <af:inputtext id="it1" disabled="#{backingbean.inputTextState}" />So here you give the value of your input using the EL not by working with the component itself
    Well if you use a backingbean it means is request scoped (it builds up again after every refresh or action)
    and your boolean variable will reset and don't keep its v alue
    so you will need a session scoped bean
    look at my thread how I solved here:
    JSFF BackingBean scope

  • Java.lang.NullPointerException returned from webservice

    Hi I have an axis client which sends an image attachment to an axis webservice, however I am returned with a null pointer exception,
    this is my client,
    package chapter5;
    import java.net.URL;
    import org.apache.axis.client.Service;
    import org.apache.axis.client.Call;
    import org.apache.axis.encoding.XMLType;
    import org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory;
    import org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.namespace.QName;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    public class AttachmentServiceClient{
         public AttachmentServiceClient(){}
         public static void main(String args[]){
              try{
                   String filename = "D:\\images\\products\\r.jpg";
                   //create the data for the attached file
                   DataHandler dhSource = new DataHandler(new FileDataSource(filename));
                   String endpointURL = "http://localhost:8080/axis/services/AttachmentService";
                   String methodName = "addImage";
                   Service service = new Service();
                   Call call = (Call)service.createCall();
                   call.setTargetEndpointAddress(new URL(endpointURL));
                   call.setOperationName(new QName("AttachmentService",methodName));
                   call.addParameter("sku",XMLType.XSD_STRING,ParameterMode.PARAM_MODE_IN);
                   QName qname = new QName("AttachmentService","DataHandler");
                   call.addParameter("image",qname,ParameterMode.PARAM_MODE_IN);
                   //register the datahandler
                   call.registerTypeMapping(dhSource.getClass(),qname,JAFDataHandlerSerializerFactory.class,JAFDataHandlerDeserializerFactory.class);
                   call.setReturnType(XMLType.XSD_STRING);
                   Object[] params = new Object[]{"SKU-111",dhSource};
                   String result = (String)call.invoke(params);
                   System.out.println("The response: "+result);
    ;          }catch(Exception e){
                   System.err.println(e.toString());
    this is my webservice,
    package chapter5;
    import javax.activation.DataHandler;
    import java.io.FileOutputStream;
    import java.io.File;
    import java.io.BufferedInputStream;
    public class SparePartAttachmentService{
         public SparePartAttachmentService(){}
         public String addImage(String sku,DataHandler dataHandler){
              System.out.println("trying");
              try{
                   String filepath = "c:/wrox-axis/"+sku+"-image.jpg";
                   FileOutputStream fout = new FileOutputStream(new File(filepath));
                   BufferedInputStream in = new BufferedInputStream(dataHandler.getInputStream());
                   while(in.available()!=0){
                        fout.write(in.read());
              }catch(Exception e){
                   return e.toString();
              return "Image: "+sku+" has been added successfully!!";
    I did a test by stripping out the attachment being sent by the client and just let it send the string,
    then in the webservice I stripped out the lines for the attachment and just returned the string and it worked ok, so it has been deployed correctly.
    I have the Java Activation framework both in tomcat commons and my webapps lib dir.
    I'm pretty sure the error is being thrown here,
    public String addImage(String sku,DataHandler dataHandler){
    any help would be greatly appreciated,
    thank you,
    JP.

    Ok, I have now successfully got the stack trace to show where the exception bubbled, Im suprised its in the axis client as I assumed it was in the webservice, but this whole exercise has been extremely beneficial,
    anyway this is the client code again and the stack trace error, I now think the problem lies within the JAF, possibly, however, im doing something incorrectly,
    package chapter5;
    import java.net.URL;
    import org.apache.axis.client.Service;
    import org.apache.axis.client.Call;
    import org.apache.axis.encoding.XMLType;
    import org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory;
    import org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.namespace.QName;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.activation.DataSource;
    import java.io.File;
    public class AttachmentServiceClient{
         public AttachmentServiceClient(){}
         public static void main(String args[]){
              try{
                   String filename = "D:\\javaDev\\utilities\\coldfusionMX\\Java\\javapetstore\\r.jpg";
                   //create the data for the attached file
                   DataHandler dhSource = new DataHandler(new FileDataSource(new File(filename)));
                   String endpointURL = "http://localhost:8080/axis/services/AttachmentService";
                   String methodName = "addImage";
                   Service service = new Service();
                   Call call = (Call)service.createCall();
                   call.setTargetEndpointAddress(new URL(endpointURL));
                   call.setOperationName(new QName("AttachmentService",methodName));
                   call.addParameter("sku",XMLType.XSD_STRING,ParameterMode.PARAM_MODE_IN);
                   QName qname = new QName("AttachmentService","DataHandler");
                   call.addParameter("image",qname,ParameterMode.PARAM_MODE_IN);
                   //register the datahandler
                   call.registerTypeMapping(dhSource.getClass(),qname,JAFDataHandlerSerializerFactory.class,JAFDataHandlerDeserializerFactory.class);
                   call.setReturnType(XMLType.XSD_STRING);
                   Object[] params = new Object[]{"SKU-111",dhSource};
                   try{
                        String result = (String)call.invoke(params);
                        System.out.println("The response: "+result);
                   }catch(Exception f){
                        f.getStackTrace();
                        f.printStackTrace();
              }catch(Exception e){
                   System.err.println("error");
    stack trace
    C:\wrox-axis>java chapter5.AttachmentServiceClient
    java.lang.NullPointerException
    at org.apache.axis.AxisFault.makeFault(Unknown Source)
    at org.apache.axis.SOAPPart.getAsString(Unknown Source)
    at org.apache.axis.SOAPPart.getAsBytes(Unknown Source)
    at org.apache.axis.Message.getContentLength(Unknown Source)
    at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source)
    at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source)
    at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
    at org.apache.axis.SimpleChain.invoke(Unknown Source)
    at org.apache.axis.client.AxisClient.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at chapter5.AttachmentServiceClient.main(AttachmentServiceClient.java:45
    Caused by: java.lang.NullPointerException
    at org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(Unkno
    wn Source)
    at org.apache.axis.encoding.SerializationContextImpl.serializeActual(Unk
    nown Source)
    at org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown S
    ource)
    at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(Unk
    nown Source)
    at org.apache.axis.message.SOAPEnvelope.outputImpl(Unknown Source)
    at org.apache.axis.message.MessageElement.output(Unknown Source)
    ... 13 more

  • Java.lang.NullPointerException hostname:localhost.localdomain

    All,
    I have developed web service and it is perfectly working windows system..
    When i move web server - service to Linux.. when client try to call service.. i am getting following exception...earlier web service port is not open on the LInux at the time i am getting nullpointer exception... after the port are properly opened
    Following are present in my host file
    hosts
    IP address localhost.localdomain localhost
    please help me on this.. Urgent
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:localhost.localdomain
    java.lang.NullPointerException
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.tspl.PapaServiceSoapBindingStub.createDetailPR(PapaServiceSoapBindingStub.java:173)
    at org.apache.jsp.Welcome_jsp._jspService(Welcome_jsp.java:123)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Unknown Source)

    my appliaction install this http://www.ssco.tv  when google robots access this url http://www.ssco.tv/faces/  throw  exeption
    my application  web.xml
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
          <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces</url-pattern>
      </servlet-mapping>
      <servlet-mapping>

  • NullPointerException at org.apache.crimson.parser.Parser2.parseInternal

    I've tried to use JavaTM API for XML Processing (JAXP), particulary default SAX parser,
    which is embeded into JAXP.
    I downloaded jaxp-1_1.zip file from http://java.sun.com/xml/download.html, extacted it
    and included crimson.jar, jaxp.jar and xalan.jar to java CLASSPATH.
    After that I'd tried to parse XML document
    with following code
         // prepare SAX parser
    SAXParserFactory factory = SAXParserFactory.newInstance();
    DefaultHandler handler = new XMLHandler();
    try {
    // Create a JAXP SAXParser
    SAXParser saxParser = factory.newSAXParser();
    // url
    File file = new File( fileName );
    String url = file.toURL().toString();
    System.out.println( "URL: " + url );
    // parse
    saxParser.parse( url, handler );
    } catch (Exception ex) {
    ex.printStackTrace();
    throw ex;
    and obtained the message below
    java.lang.NullPointerException
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:523)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:232)
         at com.darout.bot.parser.PObjectsBuilder.parse(PObjectsBuilder.java:54)
         at TestSAXParser.main(TestSAXParser.java:22)
    Could you help me?

    I've found an error. It was in my handler implementation.
    But is it possible to trace a handler exception correctly?

  • "UDDIClerkServlet" failed to preload on startup in Web application: "uddiportlets". java.lang.NullPointerException

    Hi,
    I was trying to implement jUDDI on weblogic. I have set up all the prerequisites, i have set up the db also. I am trying to deploy the application as an ear file which contains jUDDI war file, pluto portal war file, UDDI portlet war file. Everything is working without this UDDI portlet war file now when i added this UDDI its showing the following error in logs::
    Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "UDDIClerkServlet" failed to preload on startup in Web application: "uddiportlets".
    java.lang.NullPointerException
        at org.apache.juddi.v3.client.config.UDDIClerkServlet.init(UDDIClerkServlet.java:49)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
        at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
        at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    any help will be so helpful for me... Thanks in advance, have a nice day
    Thanks
    Sharath.

    Let's say your Weblogic domain for Contract Management is located in
    C:\Oracle\Middleware\user_projects\domains\cm, please first check if the com folder exists in the domain folder. If the folder not exists, you have to reinstall Contract Management using an administrative account.

  • Jdev+ADF Mobile : Error java.lang.NullPointerException,need global variable

    hi, i am using jdeveloper version 11.1.1.1.0.
    i try to get value of field "id" from a table "customer" from input value from "username" and "password" form in welcome / login page.
    the value of field "id" that logged on will be used for further operation like determine relationship with other table for showing data.
    to accomplish that, i create a new java class "bean.java"
    the content is simple, just a few variable like : eeid,eeuser,eepass, and more else.
    each variable have accessors.
    after create "bean.java", i register that class to faces-config.xml in managed beans tab. i give it description like below :
    - name : beanku
    - class : mvc.bean
    - scope : session
    to login, i check the login button with code like this :
    public String cmdSigninee_action() throws ClassNotFoundException, SQLException {      
    String tuser = (String) inputUseree.getValue(); --> value of username
    String tpass = (String) inputPassee.getValue(); --? value of password
    bean ong = (bean) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("beanku"); --> it's ok here
    ong.setSeeid("testing"); --> here is the error
    i got an error message like shown below :
    Target URL -- http://127.0.0.1:7101/madf-mvc-context-root/faces/welcome.jsp
    Dec 4, 2009 11:39:26 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: file:/C:/Documents and Settings/Ong/Application Data/JDeveloper/system11.1.1.1.33.54.07/o.j2ee/drs/madf/madf-mvc-webapp/WEB-INF/classes/mvc/DataBindings.cpx
    Dec 4, 2009 11:39:27 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    Dec 4, 2009 11:40:21 PM com.sun.faces.application.ActionListenerImpl processAction
    SEVERE: java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at mvc.backing.Welcome.cmdSigninee_action(Welcome.java:380)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 38 more
    Dec 4, 2009 11:40:21 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
    WARNING: #{backing_welcome.cmdSigninee_action}: java.lang.NullPointerException
    javax.faces.FacesException: #{backing_welcome.cmdSigninee_action}: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         ... 37 more
    Caused by: java.lang.NullPointerException
         at mvc.backing.Welcome.cmdSigninee_action(Welcome.java:380)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 38 more
    Dec 4, 2009 11:40:21 PM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /welcome.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@8aa35b]
    <Dec 4, 2009 11:40:21 PM ICT> <Error> <HTTP> <BEA-101017> <[ServletContext@14855001[app:madf module:madf-mvc-context-root path:/madf-mvc-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@5a2f7[
    POST /madf-mvc-context-root/faces/welcome.jsp?_adf.ctrl-state=4p5g40az1_4 HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Referer: http://127.0.0.1:7101/madf-mvc-context-root/faces/welcome.jsp;jsessionid=vs4JLZ7ppccm9mdq4z1RJn31c1Qj9ZpLmdHhT2BGTThzP7JnZfmJ!1909271282?_adf.ctrl-state=4p5g40az1_4
    Accept-Language: en-us
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
    Content-Length: 346
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: JSESSIONID=vs4JLZ7ppccm9mdq4z1RJn31c1Qj9ZpLmdHhT2BGTThzP7JnZfmJ!1909271282
    ]] Root cause of ServletException.
    javax.faces.FacesException: #{backing_welcome.cmdSigninee_action}: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         Truncated. see log file for complete stacktrace
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
         at mvc.backing.Welcome.cmdSigninee_action(Welcome.java:380)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         Truncated. see log file for complete stacktrace
    >
    anyone can help me with those errors? i just need global variable, so i can use it for check relationship with other table.
    or if anyone of you can give me another way to get the value of field "id" from a table?
    thank you so much before! and i am sorry if my english is bad.

    If you select the JSP page in the graphical stuts-config.xml overview in JDeveloper, you should see the properties of the JSP page in the property inspector. One of those properties defines the Java class that handles the action/forwarding/etc.
    Then you should create a new Java-class that extends the original action handling class. Change the property in the graphical stuts-config.xml overview in JDeveloper to this new class.
    Then add an event attribute to the submitbutton element in the form of your JSP page, e.g. seeDetails.
    In your newly created class you can then create a new method: onSeeDetails. This method should be invoked when the submit button is pressed and the form is submitted.
    In the ADF ToyStore demo there are some examples of Java classes that extend the standard action handler. There in the ViewController project.
    ROnald

  • Importing security 11.1.1.3 fails "java.lang.NullPointerException"

    Hi Form,
    I'm importing Hyperion Planning security from one server (11.1.1.1) to a new installation (11.1.1.3).
    The Import fails - no access rights are imported at all.
    Here's the screen output (removed some names ...)
    D:\Hyperion\products\Planning\bin>ImportSecurity.cmd "<APP>,<USER>,SL_COMMA"
    Mon Jun 21 14:19:33 CEST 2010 :: The length of the string:: 1
    Enter password:
    Mon Jun 21 14:20:05 CEST 2010 :: Validating the Secfile.txt...
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    D:\Hyperion\common\config\9.5.0.0\product\planning\9.5.0.0\planning_1.xml
    displayName = Planning
    componentTypes =
    priority = 50
    version = 9.5.0.0
    build = 1
    location = D:\Hyperion\products\Planning
    taskSequence =
    task =
    *******D:\Hyperion\common\config\9.5.0.0\registry.properties
    java.util.MissingResourceException: Can't find bundle for base name HspCustomMsgs, locale de_DE
    java.util.MissingResourceException: Can't find bundle for base name HspImgs, locale de_DE
    java.util.MissingResourceException: Can't find bundle for base name HspCustomImgs, locale de_DE
    Mon Jun 21 14:20:12 CEST 2010 :: Logging into the application
    using Java property for Hyperion Home D:\Hyperion
    Setting Arbor path to: D:\Hyperion\common\EssbaseRTC\9.5.0.0
    Setting HBR Mode to: 2
    =2010-06-21 14:20:23,015 WARN main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    d{ISO8601} WARN main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    Embedded HBR initialized.
    d{ISO8601} INFO main com.hyperion.audit.client.runtime.AuditRuntime - Audit Client has been created for the server http://demswbappx8111.de.ad.tmo:28080/interop/Audit
    d{ISO8601} INFO pinging com.hyperion.audit.client.cache.AuditConfigFilter - Client Enable Status false
    d{ISO8601} INFO filterConfig com.hyperion.audit.client.cache.AuditConfigFilter - Client Enable Status false
    Mon Jun 21 14:20:33 CEST 2010 :: Logged in successfully
    Mon Jun 21 14:20:34 CEST 2010 :: Error : Import Security Failed - null
    java.lang.NullPointerException
    at com.hyperion.planning.HspImportSecurityCmd.parseSecFile(Unknown Source)
    at com.hyperion.planning.HspImportSecurityCmd.importSecurity(Unknown Source)
    at com.hyperion.planning.HspImportSecurityCmd.main(Unknown Source)
    Mon Jun 21 14:20:34 CEST 2010 :: Logging off from application ....
    Mon Jun 21 14:20:34 CEST 2010 :: Logged out of the application.
    Mon Jun 21 14:20:34 CEST 2010 :: Import security failed.
    This is sysout.log of the Planning service:
    *[ERROR] [jsp] - Servlet.service() for servlet jsp threw exception <java.lang.NullPointerException>java.lang.NullPointerException*
         at org.apache.jsp.CustomDim_jsp._jspService(CustomDim_jsp.java:2339)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         at org.apache.jsp.Dimensions_jsp._jspService(Dimensions_jsp.java:2882)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at HspValidationFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Any suggestions?
    Sascha.

    Hi Sascha,
    If you go through the following post (2 pages of replies), it is based around the same erorr you are getting, does it help you?
    Re: Export/Import of Security
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for