Post an error code
<weblogic> <> <> <1479765377228> <BEA-240003> <console encountered the following error Java.io.IOException:Exception in Appmerge flows ' progression
At WEBLOGIC.DEPLOY.API.INTERNAL.UTILS.APPMERGER.GETMERGEDAPP (appmerger.java:70)
At Weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject ( weblogicdeployableobjectfactoryimpl.java:181)
At Weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject ( weblogicdeployableobjectfactoryimpl.java:163)
At Weblogic.deploy.api.tools.SessionHelper.initialize (sessionhelper.java:727)
At Weblogic.deploy.api.tools.SessionHelper.initializeConfiguration (sessionhelper.java:556)
At Weblogic.deploy.api.tools.SessionHelper.initializeConfiguration (sessionhelper.java:544)
At Weblogic.deploy.api.tools.SessionHelper.initializeConfiguration (sessionhelper.java:627)
At Com.bea.console.utils.deploymentconfigurationhelper$1.execute (deploymentconfigurationhelper.java:858)
At Com.bea.console.utils.DeploymentUtils.runDeploymentAction (deploymentutils.java:5023)
At Com.bea.console.utils.DeploymentConfigurationHelper.initDeploymentConfiguration ( deploymentconfigurationhelper.java:847)
At Com.bea.console.utils.DeploymentConfigurationHelper.completeInitialization ( deploymentconfigurationhelper.java:443)
At Com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration ( DEPLOYMENTCONFIGURATIONMANAGER.JAVA:150)
At Com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration ( DEPLOYMENTCONFIGURATIONMANAGER.JAVA:104)
At Com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration ( DEPLOYMENTCONFIGURATIONMANAGER.JAVA:65)
At Com.bea.console.utils.PersistenceUtils.getPersistenceUnitNames (persistenceutils.java:76)
At Com.bea.console.utils.PersistenceUtils.hasPersistenceUnits (persistenceutils.java:52)
At Com.bea.console.utils.AppDeploymentBackingFile.preRender (appdeploymentbackingfile.java:110)
At Com.bea.netuix.servlets.controls.backable$impl.prerender (backable.java:191)
At Com.bea.netuix.servlets.controls.AdministeredBackableControl.preRender (administeredbackablecontrol.java:104)
At Com.bea.netuix.servlets.controls.window.Window.preRender (window.java:432)
At Com.bea.netuix.servlets.controls.page.Page.preRender (page.java:240)
At Com.bea.netuix.nf.controllifecycle$6.visit (controllifecycle.java:428)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:727)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender (controltreewalker.java:739)
At Com.bea.netuix.nf.ControlTreeWalker.walk (controltreewalker.java:146)
At Com.bea.netuix.nf.Lifecycle.processLifecycles (lifecycle.java:395)
At Com.bea.netuix.nf.Lifecycle.processLifecycles (lifecycle.java:361)
At Com.bea.netuix.nf.Lifecycle.runOutbound (lifecycle.java:208)
At Com.bea.netuix.nf.Lifecycle.run (lifecycle.java:162)
At Com.bea.netuix.servlets.manager.UIServlet.runLifecycle (uiservlet.java:388)
At Com.bea.netuix.servlets.manager.UIServlet.doPost (uiservlet.java:258)
At Com.bea.netuix.servlets.manager.UIServlet.doGet (uiservlet.java:211)
At Com.bea.netuix.servlets.manager.UIServlet.service (uiservlet.java:196)
At Com.bea.netuix.servlets.manager.SingleFileServlet.service (singlefileservlet.java:251)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:820)
At Com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service (mbeanutilsinitsinglefileservlet.java:64)
At Weblogic.servlet.AsyncInitServlet.service (asyncinitservlet.java:130)
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:301)
At Weblogic.servlet.internal.TailFilter.doFilter (tailfilter.java:26)
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 : 3730)
At Weblogic.servlet.internal.webappservletcontext$servletinvocationaction.run (webappservletcontext.java:3696)
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:2273)
At Weblogic.servlet.internal.WebAppServletContext.execute (webappservletcontext.java:2179)
At Weblogic.servlet.internal.ServletRequestImpl.run (servletrequestimpl.java:1490)
At Weblogic.work.ExecuteThread.execute (executethread.java:256)
At Weblogic.work.ExecuteThread.run (executethread.java:221)
caused by:weblogic.utils.compiler.ToolFailureException:Exception in appmerge flows ' progression
At Weblogic.application.compiler.AppMerge.merge (appmerge.java:172)
At Weblogic.deploy.api.internal.utils.AppMerger.merge (appmerger.java:88)
At WEBLOGIC.DEPLOY.API.INTERNAL.UTILS.APPMERGER.GETMERGEDAPP (appmerger.java:63)
... More
Caused BY:WEBLOGIC.UTILS.COMPILER.TOOLFAILUREEXCEPTION:WEBLOGIC.APPC failed
At Weblogic.application.compiler.FlowDriver.handleStateChangeException (flowdriver.java:53)
At Weblogic.application.compiler.FlowDriver.nextState (flowdriver.java:37)
At Weblogic.application.compiler.flowdriver$compilerflowdriver.compile (flowdriver.java:96)
At Weblogic.application.compiler.AppMerge.runBody (appmerge.java:157)
At Weblogic.utils.compiler.Tool.run (tool.java:158)
At Weblogic.utils.compiler.Tool.run (tool.java:115)
At Weblogic.application.compiler.AppMerge.merge (appmerge.java:169)
... More
caused by:java.lang.NullPointerException
At Weblogic.application.utils.ClassFinderMetaDataEnumaration.hasMoreElements ( CLASSFINDERMETADATAENUMARATION.JAVA:32)
At Weblogic.servlet.internal.WebAnnotationProcessorImpl.getAnnotatedClasses (webannotationprocessorimpl.java:139 )
At Weblogic.application.compiler.warmodule$warmodulewebapphelper.getannotatedclasses (WARModule.java:619)
At Weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations (webannotationprocessorimpl.java:84)
At Weblogic.application.compiler.WARModule.processAnnotations (warmodule.java:433)
At Weblogic.application.compiler.EARModule.processAnnotations (earmodule.java:227)
At Weblogic.application.compiler.WARModule.merge (warmodule.java:483)
At Weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule (singlemodulemergeflow.java:16)
At Weblogic.application.compiler.flow.SingleModuleFlow.compile (singlemoduleflow.java:36)
At Weblogic.application.compiler.flowdriver$flowstatechange.next (flowdriver.java:69)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:52)
At Weblogic.application.compiler.FlowDriver.nextState (flowdriver.java:36)
At Weblogic.application.compiler.flowdriver$compilerflowdriver.compile (flowdriver.java:96)
At Weblogic.application.compiler.ReadOnlyWarMerger.merge (readonlywarmerger.java:27)
At Weblogic.application.compiler.flow.AppMergerFlow.mergeInput (appmergerflow.java:88)
At Weblogic.application.compiler.flow.AppMergerFlow.compile (appmergerflow.java:41)
At Weblogic.application.compiler.flowdriver$flowstatechange.next (flowdriver.java:69)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:52)
At Weblogic.application.compiler.FlowDriver.nextState (flowdriver.java:36)
... More
caused By:java.lang.NullPointerException
At weblogic.application.utils.ClassFinderMetaDataEnumaration.hasMoreElements ( CLASSFINDERMETADATAENUMARATION.JAVA:32)
At Weblogic.servlet.internal.WebAnnotationProcessorImpl.getAnnotatedClasses (webannotationprocessorimpl.java:139 )
At Weblogic.servlet.internal.War.getAnnotatedClasses (war.java:1038)
At Weblogic.servlet.internal.webappservletcontext$servletcontextwebapphelper.getannotatedclasses ( webappservletcontext.java:3848)
At Weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations (webannotationprocessorimpl.java:84)
At Weblogic.servlet.internal.WebAppServletContext.processAnnotations (webappservletcontext.java:1370)
At Weblogic.servlet.internal.webappservletcontext.<init> (webappservletcontext.java:450)
At Weblogic.servlet.internal.webappservletcontext.<init> (webappservletcontext.java:494)
At WEBLOGIC.SERVLET.INTERNAL.HTTPSERVER.LOADWEBAPP (httpserver.java:418)
At WEBLOGIC.SERVLET.INTERNAL.WEBAPPMODULE.REGISTERWEBAPP (webappmodule.java:976)
At Weblogic.servlet.internal.WebAppModule.prepare (webappmodule.java:384)
At Weblogic.application.internal.flow.ScopedModuleDriver.prepare (scopedmoduledriver.java:176)
At Weblogic.application.internal.flow.ModuleListenerInvoker.prepare (modulelistenerinvoker.java:199)
At Weblogic.application.internal.flow.deploymentcallbackflow$1.next (deploymentcallbackflow.java:517)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:52)
At Weblogic.application.internal.flow.DeploymentCallbackFlow.prepare (deploymentcallbackflow.java:159)
At Weblogic.application.internal.flow.DeploymentCallbackFlow.prepare (deploymentcallbackflow.java:45)
At Weblogic.application.internal.basedeployment$1.next (basedeployment.java:648)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:52)
At Weblogic.application.internal.BaseDeployment.prepare (basedeployment.java:191)
At Weblogic.application.internal.SingleModuleDeployment.prepare (singlemoduledeployment.java:44)
At Weblogic.application.internal.DeploymentStateChecker.prepare (deploymentstatechecker.java:154)
At Weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare (appcontainerinvoker.java:60)
At Weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer ( activateoperation.java:208)
At Weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare (activateoperation.java:98)
At Weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare (abstractoperation.java:217)
At Weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare (deploymentmanager.java:747)
At Weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList (deploymentmanager.java:1216)
At Weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare (deploymentmanager.java:250)
At Weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare (Deploymentservicedispatcher.java : 159)
At Weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback ( deploymentreceivercallbackdeliverer.java:171)
At weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer.access$000 ( DEPLOYMENTRECEIVERCALLBACKDELIVERER.JAVA:13)
At Weblogic.deploy.service.internal.targetserver.deploymentreceivercallbackdeliverer$1.run ( DEPLOYMENTRECEIVERCALLBACKDELIVERER.JAVA:46)
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)
This error is likely to be the problem:
The Web. xml file has versions 2.3, 2.4, 2.5, and 3.0, which have a very important configuration difference:
This can be configured in the servlet version 2.5, where multiple URLs are mapped to the same servlet. Specific as follows.
<servlet-mapping>
<servlet-name>servletName</servlet-name>
<url-pattern>/index</url-pattern>
<url-pattern>/login</url-pattern>
</servlet-mapping>
Not in 2.3 or 2.4.
Servlet 2.3
<?xml version= "1.0″encoding=" utf-8″?>
<! DOCTYPE Web-app
Public "-//sun Microsystems, INC.//DTD Web application 2.3//en"
"Http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
...
</web-app>
Servlet 2.4
<?xml version= "1.0″encoding=" utf-8″?>
<web-app xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
Xmlns= "HTTP://JAVA.SUN.COM/XML/NS/J2EE"
xmlns:web= "Http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
xsi:schemalocation= "Http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
Version= "2.4″>
...
</web-app>
Servlet 2.5
<?xml version= "1.0″encoding=" utf-8″?>
<web-app xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
Xmlns= "Http://java.sun.com/xml/ns/javaee"
xmlns:web= "Http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemalocation= "Http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
Id= "webapp_id" version= "2.5″>
Servlet 3.0
<?xml version= "1.0″encoding=" utf-8″?>
<web-app version= "3.0″
Xmlns= "Http://java.sun.com/xml/ns/javaee"
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_3_0.xsd ">
My example:
The original
After the change
WebLogic Deployment Project package, report null pointer error