Exception 
java.lang.NullPointerException
at weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:1153)
at weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(EditMBeanAction.java:210)
at weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(EditMBeanAction.java:188)
at weblogic.management.console.actions.internal.InternalActionContext.setAction(InternalActionContext.java:158)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:170)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]
at weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:1156)
at weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(EditMBeanAction.java:210)
at weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(EditMBeanAction.java:188)
at weblogic.management.console.actions.internal.InternalActionContext.setAction(InternalActionContext.java:158)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:170)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)

解决方案 »

  1.   

    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException - with nested exception:
    [weblogic.utils.NestedRuntimeException - with nested exception:
    [java.lang.NullPointerException]]
    at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:190)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)  
    Current Date
    Mon Dec 30 21:50:53 CST 2002Console Release Build
    nullConsole Build
    nullServer Release Build
    7.0.0.0Server Build
    WebLogic Server 7.0  Thu Jun 20 11:47:11 PDT 2002 190955 All Server Product Versions
    WebLogic Server 7.0  Thu Jun 20 11:47:11 PDT 2002 190955 
    WebLogic XMLX Module 7.0  Thu Jun 20 11:58:44 PDT 2002 190955 
    Request Info
    Protocol:                        HTTP/1.1
    ServerName:                      127.0.0.1
    ServerPort:                      80
    Secure:                          false
    ContextPath:                     /console
    ServletPath:                     /common/error.jsp
    QueryString:                     MBean=lh%3AName%3DLiunixDataSource%2CType%3DJDBCDataSource
    PathInfo:                        null
    PathTranslated:                  null
    RequestURI:                      /console/common/error.jsp
    AuthType:                        null
    ContentType:                     application/x-www-form-urlencoded
    CharacterEncoding:               null
    Locale:                          zh_CN
    Method:                          POST
    Session:                         weblogic.servlet.internal.session.MemorySessionData@746b76
    RequestedSessionId:              2QOhlr5tS6FU2d1GLzDPJnZO2No6jsPZ2utxe8nVYN03bS0qBejz!-814238537!1041256161156
    RequestedSessionIdFromCookie:    true
    RequestedSessionIdFromURL:       false
    UserPrincipal:                   root
    RemoteUser:                      root
    RemoteAddr:                      127.0.0.1
    RemoteHost:                      127.0.0.1Parameters
    MBean = lh:Name=LiunixDataSource,Type=JDBCDataSource chosen_wl_control_weblogic.management.configuration.JDBCDataSourceMBean.Targets-Server = lh:Name=lhserver,Type=Server weblogic.console.submit_form = dataposted wl_control_weblogic.management.configuration.JDBCDataSourceMBean.Targets-Server = lh:Name=lhserver,Type=Server 
    Attributes
    _wl_internalaction = weblogic.management.console.actions.internal.InternalActionContext@13f9a2 java.util.Locale = en_US weblogic.management.console.catalog.Catalog = weblogic.management.console.catalog.XmlCatalog@799948 weblogic.management.console.helpers.BrowserHelper = User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) IE: true Netscape: false Supported: true JavscriptHrefs: false TableCellClick: true DocumentReloadedOnResize: false DropdownStretchable: true CellSpacingBlank: false EmptyCellBlank: false ImgOnclickSupported: true TableBorderFancy: true PartialToWideTables: false DisabledControlSupported: true weblogic.management.console.helpers.DebugHelper = weblogic.management.console.helpers.DebugHelper@3b2371 weblogic.management.console.helpers.UnitsHelper = weblogic.management.console.helpers.UnitsHelper@3e82fd weblogic.management.console.helpers.UrlHelper = weblogic.management.console.helpers.UrlHelper@6a2651 
    Headers
    Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Encoding = gzip, deflate Accept-Language = zh-cn Cache-Control = no-cache Connection = Keep-Alive Content-Length = 280 Content-Type = application/x-www-form-urlencoded Cookie = ADMINCONSOLESESSION=2QOhlr5tS6FU2d1GLzDPJnZO2No6jsPZ2utxe8nVYN03bS0qBejz!-814238537 Host = 127.0.0.1 Referer = http://127.0.0.1/console/actions/mbean/EditMBeanAction?reloadNav=false&tab=targets&MBean=lh%3AName%3DLiunixDataSource%2CType%3DJDBCDataSource User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) 
    BrowserInfo
    User-Agent:               Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)
    IE:                       true
    Netscape:                 false
    Supported:                true
    JavscriptHrefs:           false
    TableCellClick:           true
    DocumentReloadedOnResize: false
    DropdownStretchable:      true
    CellSpacingBlank:         false
    EmptyCellBlank:           false
    ImgOnclickSupported:      true
    TableBorderFancy:         true
    PartialToWideTables:      false
    DisabledControlSupported: true Errors occurred while processing your request.
    请帮帮我,先谢谢了!
    By java初学者--liunix