Activating Object in IR - Getting Null Pointer Exception
Hello,
I'm having trouble activating object in my Intergration Repository. When I activate any object I get a null pointer exception. Below is the exception:
#6 09:30:51 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
Thrown:
MESSAGE ID: com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException
com.sap.aii.ib.core.clmgmt.ChangeListMgmtException: java.lang.NullPointerException
at com.sap.aii.ib.core.clmgmt.ChangeListMgmtException.createFromException(ChangeListMgmtException.java:35)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.submitChangeList(ChangeListMgmtImpl.java:227)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:132)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:124)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtBean.submitChangeList(ChangeListMgmtBean.java:92)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10.submitChangeList(ChangeListMgmtRemoteObjectImpl10.java:435)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10p4_Skel.dispatch(ChangeListMgmtRemoteObjectImpl10p4_Skel.java:343)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java)
Serialized server exceptions:
MESSAGE ID: com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException (serialized)
com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException: java.lang.NullPointerException
at com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException.createFromException(VersionSetIntegrationException.java:35)
at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl.integrateOpenChangeList(VersionSetIntegratorImpl.java:101)
at com.sap.aii.ib.server.versioning.integration.VersionSetIntegrator.integrateOpenChangeList(VersionSetIntegrator.java:33)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.releaseChangeList(ChangeListMgmtImpl.java:777)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.submitChangeList(ChangeListMgmtImpl.java:217)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:132)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:124)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtBean.submitChangeList(ChangeListMgmtBean.java:92)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10.submitChangeList(ChangeListMgmtRemoteObjectImpl10.java:435)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10p4_Skel.dispatch(ChangeListMgmtRemoteObjectImpl10p4_Skel.java:343)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
MESSAGE ID: java.lang.NullPointerException (serialized)
java.lang.NullPointerException: java.lang.NullPointerException
at com.tssap.dtr.pvc.basics.transaction.WriteSet.getObjects(WriteSet.java(Compiled Code))
at com.tssap.dtr.pvc.basics.persistence.TransactionalComponent.rollback(TransactionalComponent.java:115)
at com.tssap.dtr.pvc.basics.transaction.Transaction.rollback(Transaction.java(Compiled Code))
at com.tssap.dtr.pvc.basics.transaction.Transaction.flushWriteSets(Transaction.java(Compiled Code))
at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.executeDBUpdates(DefaultIntegrator.java:370)
at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.integrate(DefaultIntegrator.java:325)
at com.tssap.dtr.pvc.versionmg.VersionSet.integrate(VersionSet.java:180)
at com.tssap.dtr.pvc.changemg.ChangeList.release(ChangeList.java:202)
at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl._integrateConditionally(VersionSetIntegratorImpl.java:173)
at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl.integrateOpenChangeList(VersionSetIntegratorImpl.java:84)
at com.sap.aii.ib.server.versioning.integration.VersionSetIntegrator.integrateOpenChangeList(VersionSetIntegrator.java:33)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.releaseChangeList(ChangeListMgmtImpl.java:777)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.submitChangeList(ChangeListMgmtImpl.java:217)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:132)
at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:124)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtBean.submitChangeList(ChangeListMgmtBean.java:92)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10.submitChangeList(ChangeListMgmtRemoteObjectImpl10.java:435)
at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10p4_Skel.dispatch(ChangeListMgmtRemoteObjectImpl10p4_Skel.java:343)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
#5 09:30:35 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.misc.api.BaseRuntimeException: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Invalid key element attribute id "NAMESPACE". Valid values are: {SWC_VENDOR,SWC_NAME,SWC_VERSION,SWC_ELTYPEID}.
at com.sap.aii.ib.bom.gen.XiTypeInformation.validateKeyElementAttributeId(XiTypeInformation.java:890)
at com.sap.aii.ib.bom.gen.XiTypeInformation.getKeyElementIndex(XiTypeInformation.java:905)
at com.sap.aii.ib.bom.gen.XiKey.getPosition(XiKey.java:169)
at com.sap.aii.ib.bom.gen.XiKey.getKeyfield(XiKey.java:162)
at com.sap.aii.ib.bom.gen.XiKey.getNamespace(XiKey.java:157)
at com.sap.aii.ib.gui.operations.SubmitSubsetDialog.<init>(SubmitSubsetDialog.java:74)
at com.sap.aii.ib.gui.operations.SubmitSubsetCommand.execute(SubmitSubsetCommand.java:104)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#4 09:30:35 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.misc.api.BaseRuntimeException: Invalid key element attribute id "NAMESPACE". Valid values are: {SWC_VENDOR,SWC_NAME,SWC_VERSION,SWC_ELTYPEID}.
#3 09:29:40 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.addType(InternalXiItemServiceForNameNamespaceObjects.java:68)
at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.<init>(InternalXiItemServiceForNameNamespaceObjects.java:55)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:151)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:68)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:208)
at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#2 09:29:40 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
#1 09:29:40 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:44)
at com.sap.aii.ib.gui.xiitem.CommonInternalXiItemService$ForVersionConflictList.<init>(CommonInternalXiItemService.java:326)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:147)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:68)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:208)
at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#0 09:29:40 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
Any assistance is appreciated.
Thanks,
Jeff
Hi Jeff,
Have you seen this SAP note: 859465 ?
some of your error message look exactly like those mentioned in this note...
at com.tssap.dtr.pvc.basics.transaction.WriteSet.getObjects(WriteSet.java(Compiled Code))
at com.tssap.dtr.pvc.basics.persistence.TransactionalComponent.rollback(TransactionalComponent.java:115)
at com.tssap.dtr.pvc.basics.transaction.Transaction.rollback(Transaction.java(Compiled Code))
at com.tssap.dtr.pvc.basics.transaction.Transaction.flushWriteSets(Transaction.java(Compiled Code))
<b>Remember to restart the server after the changes</b>
Regards,
michal
Message was edited by: Michal Krawczyk
Similar Messages
-
When passing Node to parse() method get NULL pointer exception.
All,
I trying to pass a Node to parse method to get the NodeType object back and getting
null pointer exception.
Example
xml
<root>
<Test>
<someData>ABC</someData>
</Test>
</root>
if pass the Test node to get Test object back I am getting null pointer exception.
Thanks for all ur help
Shoebfile 2
~~~~
import javax.swing.*;
public class ExtendedPage extends BasePage
private JTextField objJTextField = null;
private JButton objJButtonBrowse = null;
Change the line in bold to
private JTextField objJTextField;
And everything works. -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.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.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) -
<p>The following command gets a null pointer error showing up in Tomcat log:</p><p>../../viewers/cdz_adv/viewDocument.jsp?sEntry=<%=strEntry%>&lang=en&iDocID=830&ViewType=I&kind=Webi</p><p>where sEntry is a valid report token </p><p>but works fine if the ViewType is H or id=830 is used instead of sEntry. When the above command is issued the drill columns are displayed correctly but no report is shown and a null pointer exception is encountered.</p>
There is a Consulting Solution called BOInterface that Business Objects Global Services sells and that may help you if you are implementing your own "InfoView".
A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
Particularly, see the <a href="http://www.mnsoft.org/pmiv.0.html">Poor Man's InfoView</a> web application.
Contact me via direct email for more information if this is interesting for you.
HTH,
M
Matthias Nott - Business Objects
Service Line Leader Products EMEA
[email protected] -
While trying to send mail getting NUll Pointer exception
Hi,
I am trying to send email through email notification but instance doesn't through any fault but on opmn log it sends null pointer exception and doesn't send any mail. But some other flow using same SMTP server are able to send mail.
Exceptions:
07/11/14 16:46:25 java.lang.NullPointerException
07/11/14 16:46:25 at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:363)
07/11/14 16:46:25 at oracle.tip.pc.services.notification.email.EmailDriver.sendMessage(EmailDriver.java:207)
07/11/14 16:46:25 at oracle.tip.pc.services.notification.email.EmailDriver.send(EmailDriver.java:185)
07/11/14 16:46:25 at oracle.tip.pc.services.notification.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:251)
07/11/14 16:46:25 at oracle.tip.pc.services.notification.NotificationServiceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
07/11/14 16:46:25 at oracle.bpel.services.notification.queue.sender.MDBConsumer.deliverNotification(MDBConsumer.java:256)
07/11/14 16:46:25 at oracle.bpel.services.notification.queue.sender.MDBConsumer.onMessage(MDBConsumer.java:137)
07/11/14 16:46:25 at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
07/11/14 16:46:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
07/11/14 16:46:25 at java.lang.reflect.Method.invoke(Method.java:585)
07/11/14 16:46:25 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
07/11/14 16:46:25 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
07/11/14 16:46:25 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
07/11/14 16:46:25 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
07/11/14 16:46:25 at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
07/11/14 16:46:25 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
07/11/14 16:46:25 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
07/11/14 16:46:25 at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
07/11/14 16:46:25 at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
07/11/14 16:46:25 at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
07/11/14 16:46:25 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
07/11/14 16:46:25 at java.lang.Thread.run(Thread.java:595)
Any Idea?Hi,
I am also trying E-mail Activity but I am not able to receive the e-mail.
I have set the following in the ns_emails.xml
<EmailAccount>
<Name>Default</Name>
<GeneralSettings>
<FromName>Oracle BPM</FromName>
<FromAddress>[email protected]</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>Server' IPADRESS</SMTPHost>
<SMTPPort>25</SMTPPort>
</OutgoingServerSettings>
<IncomingServerSettings>
<SMTPHost>Server' IPADRESS</SMTPHost>
<SMTPPort>25</SMTPPort>
</IncomingServerSettings>
In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
Moreover I have also have SMTP server as the incoming server.
Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
The "To" section has "[email protected]".
I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
If you are able to send the mail then can you give me your inputs on this issue.
Regards
Lalit -
Help please I get Null Pointer Exception with my SQL query
The following statement gives me a null pointer exception when executed
from the doPost of my servlet.
rs=stmt.executeQuery(sqlQuery);
The error message reads:
java.lang.NullPointerException
at stockserv.Servlet1.doPost(Servlet1.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
===etc.
when I execute the same statement and query (same DB and table) from a standard java
program I do not get the error and get the propper result.
Any obvious thing I should check?
ThanksYes line 142 is as follows
rs=stmt.executeQuery(sqlQuery);
I also tried it with the folowing literal statement and get the same error.
rs=stmt.executeQuery("select * from table1 Where symbol= 'brt' ");
Does null pointer mean I am sending a null query or something else?
Again this same statment works from a regular java (non-server)program.
Thanks Again -
Getting null pointer exception in secured web services client
Hi all,
I am developing client for web services. It works fine when the web service is unsecured. Its giving a null pointer exception at call.invoke when the web service is secured. I have tried setting the system properties. It did not help. any other way I can do. Can you help me with settings i need to do to be able to connect to secured server.
ThanksHi all,
I am developing client for web services. It works fine when the web service is unsecured. Its giving a null pointer exception at call.invoke when the web service is secured. I have tried setting the system properties. It did not help. any other way I can do. Can you help me with settings i need to do to be able to connect to secured server.
Thanks -
Getting null pointer exception while running the UI project
Hi,
I created a new ADF UI project. I added a jspx, taskflow and jsff. The jsff is added in the taskflow. I dragged and dropped the TF as a region in the jspx. While running the jspx, I am getting a NPE. If I comment out the region, I see the jspx getting loaded. I tried changing the activation property of the taskflow in the page def as immediate. But I still get the exception. Please find below the complete stacktrace.
Any pointers to this will be highly appreciated.
java.lang.NullPointerException
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:740)
at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:872)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:140)
at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:96)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.getCurrentBindingContainer(TaskFlowRegionModelViewPort.java:1093)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.getCurrentBindingContainer(TaskFlowRegionModelLocal.java:12)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.doProcessBeginRegion(TaskFlowRegionModelViewPort.java:280)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.processBeginRegion(TaskFlowRegionModelViewPort.java:157)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.processBeginRegion(TaskFlowRegionModelLocal.java:12)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:224)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3211)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2883)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:565)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:34)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:516)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
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:208)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
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:460)
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:163)
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)
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
java.lang.NullPointerException
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:740)
at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:872)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:140)
at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:96)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.getCurrentBindingContainer(TaskFlowRegionModelViewPort.java:1093)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.getCurrentBindingContainer(TaskFlowRegionModelLocal.java:12)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.doProcessBeginRegion(TaskFlowRegionModelViewPort.java:280)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.processBeginRegion(TaskFlowRegionModelViewPort.java:157)
at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.processBeginRegion(TaskFlowRegionModelLocal.java:12)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:224)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3211)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2883)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:565)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:34)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:516)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
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:208)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
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:460)
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:163)
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)
<Feb 28, 2013 12:42:40 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@162032[app:Sales module:Sales-SalesForecastingForecastsPublicUiFuse-context-root path:/Sales-SalesForecastingForecastsPublicUiFuse-context-root spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:740)
at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:872)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:140)
at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:96)
Truncated. see log file for complete stacktrace
>
Thanks,
JamesHi,
it's difficult to say what is wrong while creating the region. pls read out this doc http://docs.oracle.com/cd/E21764_01/web.1111/b31974/taskflows_regions.htm for the correct steps. you can also paste your code.
~Abhijit -
Getting null pointer exception when connecting to 10.2.0.4
Hi,
We just had some of our Oracle databases upgraded to 10.2.0.4 from 10.2.0.3. Now, I get a 'null' response with a Java stack trace. I can work with the 10.2.0.3 databases fine, it's the 10.2.0.4 databases that error when trying to open the connection. I changed the properties from network alias (10.2 client installed) to Connection Identifier and it seemed to work. The below error is what I'm getting. Just an inconvenience... does anyone know what the cause of this could be?
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.net.ns.NSProtocol.connect(Unknown Source)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:844)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:153)
at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:59)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:309)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:238)
at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:407)
at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:126)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1144)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
at java.lang.Thread.run(Thread.java:595)Hi,
The error you got seems to occur because you probably type blank spaces for the password.
If you change with a valid logon that should work!!!
Regards,
Mireille -
Unable to use TestBed - getting Null Pointer exception
I just downloaded DTTestBed.ear from http://www.banzel.com/download/DTTestBed.ear. After I deployed the war file in 10.1.2 IAS, I tried to test my Data Template. I get the following error:
500 Internal Server Error
java.lang.NullPointerException at DT3.jspService(_DT3.java:450) [SRC:/DT3.jsp:392] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
Does anyone have the latest link to download the correct TestBed war file?
Thanks,
UmaHi,
I am also trying E-mail Activity but I am not able to receive the e-mail.
I have set the following in the ns_emails.xml
<EmailAccount>
<Name>Default</Name>
<GeneralSettings>
<FromName>Oracle BPM</FromName>
<FromAddress>[email protected]</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>Server' IPADRESS</SMTPHost>
<SMTPPort>25</SMTPPort>
</OutgoingServerSettings>
<IncomingServerSettings>
<SMTPHost>Server' IPADRESS</SMTPHost>
<SMTPPort>25</SMTPPort>
</IncomingServerSettings>
In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
Moreover I have also have SMTP server as the incoming server.
Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
The "To" section has "[email protected]".
I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
If you are able to send the mail then can you give me your inputs on this issue.
Regards
Lalit -
Getting null pointer exception(please help me...its urgent)
hi,
I have cretaed ajar file on desk top which also includes a .jpg file and .txt.When i run my jar in the desktop it is runninig fine.But when i have placed this jar on my pocket pc and tried to run it ,nullpointerexception is raised at the place where iam accessing jpg and txt files...
eg:
Image img=Toolkit.getDefaultToolkit.createImage("home.jpg");
could anyone can solve my problem.
Thanks and RegardsImage
img=Toolkit.getDefaultToolkit.createImage("home.jpg");On pocketpc/java the current directory is set to "\". So if you have "home.jpg" this file is searched in "\home.jpg", not in the directory from which the apps was started.
prusak -
Null Pointer exception while invoking BPEL process
Hi all,
I am getting following exception when I am invoking a BPEL process1 (deployed in 10.1.3.1) from another BPEL Process 2 (deployed in 10.1.3.3)
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>env:Server</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
BPEL Process 1 is working fine when given manual input (testing through console). But when invoked using BPEL Process 2, it gives the above error. I also tried invoking BPEL Process 1 (and many other webservices deployed in 10.1.3.1) using TCPMON tool and got the same error.
Am I missing something here in configuration of 10.1.3.1 or any other issue? Please help as it is really urgent.Contact [email protected]
Slava Imeshev wrote:
Hi Ramu,
"Ramu" <[email protected]> wrote in message
I have just upgraded to service pack #13 on WLS 5.1 from service pack #6.I am using the same code as it was with SP #6. When I invoke finder method
on entity bean, I get null pointer exception. The primary key object for the
entity bean has equals() method.
javax.ejb.FinderException: Exception executing finder:java.lang.NullPointerException
atweblogic.ejb.internal.StatefulEJBCache.getFinderContext(StatefulEJBCache.jav
a:264)
atweblogic.ejb.internal.StatefulEJBCache.getEJBContext(StatefulEJBCache.java:3
54)
Check if equals() method can handle null parameter.
Regards,
Slava Imeshev--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
Null Pointer Exception in Bursting Engine
Hi, I am trying the example given in XDO 5.6.2. but i am getting null pointer exception. Any help appreciated.
1. burstCtrl.xml
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<DEPTS>
<DEPT>
<DEPTNO>20</DEPTNO>
<NAME>Accounting</NAME>
<MANAGER_EMAIL>[email protected]</MANAGER_EMAIL>
<EMPLOYEES>
<EMPLOYEE>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<MGR>7902</MGR>
<HIREDATE>1980-12-17T00:00:00.000-08:00</HIREDATE>
<SAL>800</SAL>
<DEPTNO>20</DEPTNO>
<EMAIL>[email protected]</EMAIL>
</EMPLOYEE>
<EMPLOYEE>
<EMPNO>7566</EMPNO>
<ENAME>JONES</ENAME>
<JOB>MANAGER</JOB>
<MGR>7839</MGR>
<HIREDATE>1981-04-02T00:00:00.000-08:00</HIREDATE>
<SAL>2975</SAL>
<DEPTNO>20</DEPTNO>
<EMAIL>[email protected]</EMAIL>
</EMPLOYEE>
</EMPLOYEES>
</DEPT>
<DEPT>
<DEPTNO>30</DEPTNO>
<NAME>Sales</NAME>
<MANAGER_EMAIL>[email protected]</MANAGER_EMAIL>
<EMPLOYEES>
<EMPLOYEE>
<EMPNO>7788</EMPNO>
<ENAME>SCOTT</ENAME>
<JOB>ANALYST</JOB>
<MGR>7566</MGR>
<HIREDATE>1982-12-09T00:00:00.000-08:00</HIREDATE>
<SAL>3000</SAL>
<DEPTNO>20</DEPTNO>
<EMAIL>[email protected]</EMAIL>
</EMPLOYEE>
<EMPLOYEE>
<EMPNO>7876</EMPNO>
<ENAME>ADAMS</ENAME>
<JOB>CLERK</JOB>
<MGR>7788</MGR>
<HIREDATE>1983-01-12T00:00:00.000-08:00</HIREDATE>
<SAL>1100</SAL>
<EMAIL>[email protected]</EMAIL>
</EMPLOYEE>
</EMPLOYEES>
</DEPT>
</DEPTS>
</DATA>
2. empData.xml
<?xml version="1.0" encoding="UTF-8" ?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request
select="/DATA/DEPTS/DEPT/EMPLOYEES/EMPLOYEE">
<! - Burst on Customer element - >
<xapi:delivery>
<xapi:email server="xxx.server.com" port="25" from="[email protected]" reply-to=
"">
<xapi:message id="123" to="${EMAIL}"
cc="[email protected]" attachment="true"
subject="CustomerDetails">Please find the customer invoice as a attachment
(Through Application).
<! - Set the id for the delivery method - >
<! - Use the Customer EMAIL element to email the document to the Customer - >
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="123">
<!Specify the delivery method id to be used - >
<xapi:template type="rtf"
location="/home/lkkumar/Dept.rtf" />
</xapi:document>
</xapi:request>
</xapi:requestset>
3. BurstingTest.java
import oracle.apps.xdo.batch.DocumentProcessor;
import oracle.apps.xdo.batch.*;
import oracle.apps.xdo.batch.object.*;
import oracle.apps.xdo.delivery.*;
import oracle.apps.xdo.delivery.smtp.*;
import oracle.apps.xdo.*;
import oracle.apps.xdo.oa.util.*;
import java.util.*;
import java.io.*;
import java.io.InputStream;
import oracle.apps.fnd.cp.request.*;
public class BurstingTest
public BurstingTest()
try {
DocumentProcessor dp = new DocumentProcessor
("/home/lkkumar/burstCtrl.xml","/home/lkkumar/empData.xml","/home/lkkumar");
dp.process();
} catch (Exception ex) {
System.out.println(ex);
ex.printStackTrace();
} finally {
public static void main(String[] args)
BurstingTest burst1 = new BurstingTest();
The program compiles fine. but when i execute it gives null pointer exception.
(lkkumar) lkkumar- java BurstingTest
java.lang.NullPointerException
java.lang.NullPointerException
at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:1313)
at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:213)
at BurstingTest.<init>(BurstingTest.java:19)
at BurstingTest.main(BurstingTest.java:30)
Message was edited by:
user609950Any idea , why it failed ?
were you able to resolve ??
where did you deploy this java file ?
how did you run this file ? -
Null pointer exception in toString!
Hi all,
i am getting null pointer exception in toString method.Might be due to threads.Can i synchronize toString?
The code snippent is as follows :
@Override
public String toString ()
if (mSourceInfo != null)
return "Source [Name=" + mSourceInfo.name + ", Description=" + mSourceInfo.description + ", Type=" + mSourceInfo.type + ", Path="
+ ", Online=" + mSourceInfo.online + ", Acknowledged=" + mSourceInfo.acknowledged + ", Tags=" + mSourceInfo.tags
+ ", Dimension:width=" + mSourceInfo.width + ", height=" + mSourceInfo.height + "SourceId=" + mSourceInfo.sourceId;
else
return "Source [Id=" + mObjectId + "]";
}Sourav-Sipani wrote:
Make the following change:No! Don't! Sorry to say that, but this suggestion is bullshit.
1. there is no String constructor that takes any object.
2. sourceInfo definitely is not a String!
3. there is almost never a reason to use the String constructor that takes only a String (if you where trying to do that).
The correct solution would look something like this:
public String toString ()
// Get a local copy of this object so that the
// entire method is isolated from any changes
// in the global object
TypeOfSourceInfo tempSource = mSourceInfo;
if (tempSource != null)
return "Source [Name=" + tempSource.name + ", Description=" + tempSource.description + ", Type=" + tempSource.type + ", Path="
+ ", Online=" + tempSource.online + ", Acknowledged=" + tempSource.acknowledged + ", Tags=" + tempSource.tags
+ ", Dimension:width=" + tempSource.width + ", height=" + tempSource.height + "SourceId=" + tempSource.sourceId;
else
return "Source [Id=" + mObjectId + "]";
}Btw, it seems that the type of mSourceInfo should have a toString, which you could simply call here. Your code seems to do stuff that that Class should be doing instead. -
Error:null pointer exception in jsp
I try to write a programme for copying from one file to another file in a text format.but it is displaying the error.why the null pointer exception is coming.also i want to write the contents from combobox and text box to that same file.for that what to do? can u explain.
the code is like that.... the disining part in another page..
<%@ page language="java"%>
<%@ page import="java.io.*"%>
<%@ page import="java.text.*"%>
<html>
<head>
<title>
</title>
</head>
<body>
<%
String cname=request.getParameter("cname");
String category=request.getParameter("category");
String submit=request.getParameter("submit");
%>
<%
try
File f1=new File(request.getParameter("file"));
File f2=new File("/ee/file1.txt");
InputStream is=new FileInputStream(f1);
OutputStream os=new FileOutputStream(f2);
byte buf[]=new byte[1024];
int len;
if(submit.equals("submit"))
%>
Company Name is:<%out.println(cname);%>
Category :<%out.println(category);%>
<%
while((len=is.read(buf))>0)
os.write(buf,0,len);
out.println("file copied");
else
out.println("invalid data");
is.close();
os.close();
out.println("file copied");
catch(FileNotFoundException ex)
out.println(ex);
catch(IOException eo)
out.println(eo);
catch(Exception e)
out.println(e);
finally
out.println("");
%>
</body>
</html>Hi,
Am not getting exception now.In the jsp wer I ve written connection,am taking some values using request.getParameter("msg") . I had opened the connection statement before getting these parameter values.Think I ws getting null pointer exception due to this.Now I have opened connection after getting these parameter values...anyway am not getting the exception now...
Thanks.
Maybe you are looking for
-
I recently got a new computer (pc) and decided to download Elements 11 instead of the old version that was on my old computer. I've discovered that the image resizing tool doesn't work, although the other functions seem to be working fine. I tried
-
S-video Output work on Foreign Format TV (to View Still Photos)
Can I view still photos from 5th generation video iPod on an Australian or other foreign country TV using universal dock and S-video connection? MacBook Pro 15" Mac OS X (10.4.8) 2 GB RAM MacBook Pro 15" Mac OS X (10.4.8) 2 GB RAM
-
Sending a Pages document as an email but not an email attachmentt
using iwork '08 and a pages newsletter template, is there a way to send a pages document as an email without making it an attachment? for business a newsletter is better for clients if it arrives in the email as the body of the email instead as in th
-
Hi all, I'm currently using the fault handling framework introduced with the 10.1.3 version of BPEL. I've done some testing and it works fine. When I get an error from invoking one of my partnerlinks the framework handles the error - cool :-). Now to
-
I don't have CD for acrobat standard 9 but I have serial
Dear Sir or Madam, I have serial # for Acrobat Standard 9 but unfortunately I don't have CD for it. So I need to download the Acrobat Standard 9. Please help me. Thank you. Paras