Question

Problems to access documents in database

  • 25 February 2020
  • 14 replies
  • 1005 views

Badge +3

Ifs.Fnd.FndSystemException: Utforskare: Ett ohanterat undantag inträffade ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method ManageDocumentObjectConnection/QueryDocRefObjExtDetails ---> Ifs.Fnd.FndSystemException: ifs.fnd.gateway.GatewayException: Exception thrown by handler operation: EJB Exception:
--- IFS Extended Server exception stack trace ---
 at ifs.fnd.gateway.GatewayException.raise(GatewayException.java:112)
 at ifs.fnd.gateway.client.EJBServerConnection.invoke(EJBServerConnection.java:145)
 at ifs.fnd.gateway.client.ServerCommunicator.invoke(ServerCommunicator.java:162)
 at ifs.fnd.gateway.client.IfsClientGateway.doPostImpl(IfsClientGateway.java:830)
 at ifs.fnd.gateway.IfsAbstractGateway.doPost(IfsAbstractGateway.java:253)
 [...]
 at ifs.fnd.gateway.IfsAbstractGateway.service(IfsAbstractGateway.java:186)
Caused by: javax.ejb.EJBTransactionRolledbackException: EJB Exception:
 [...]
 at ifs.application.objectconnectiontransformutilities.ObjectConnectionTransformUtilBean_nwup3k_ObjectConnectionTransformUtilLocalImpl.queryTarget(Unknown Source)
 at ifs.application.documentusage.impl.ManageDocumentObjectConnectionImpl.queryDocRefObjExtDetails(ManageDocumentObjectConnectionImpl.java:656)
 at ifs.application.documentusage.ManageDocumentObjectConnectionWrapper.queryDocRefObjExtDetails(ManageDocumentObjectConnectionWrapper.java:402)
 at ifs.application.documentusage.ManageDocumentObjectConnectionBean.queryDocRefObjExtDetails(ManageDocumentObjectConnectionBean.java:1518)
 at ifs.application.documentusage.ManageDocumentObjectConnectionBean.queryDocRefObjExtDetails(ManageDocumentObjectConnectionBean.java:1537)
 [...]
 at ifs.fnd.sf.j2ee.FndAbstractBean.aroundInvoke(FndAbstractBean.java:162)
 [...]
 at ifs.application.documentusage.ManageDocumentObjectConnectionBean_fiwoqe_ManageDocumentObjectConnectionLocalImpl.__WL_invoke(Unknown Source)
 [...]
 at ifs.application.documentusage.ManageDocumentObjectConnectionBean_fiwoqe_ManageDocumentObjectConnectionLocalImpl.queryDocRefObjExtDetails(Unknown Source)
 [...]
 at ifs.fnd.gateway.client.EJBServerConnection.invoke(EJBServerConnection.java:129)
 ... 23 more
Caused by: java.lang.NullPointerException
 at ifs.application.objectconnectiontransformutilities.impl.ObjectConnectionTransformUtilImpl.listTransformedConnection(ObjectConnectionTransformUtilImpl.java:153)
 at ifs.application.objectconnectiontransformutilities.ObjectConnectionTransformUtilWrapper.listTransformedConnection(ObjectConnectionTransformUtilWrapper.java:139)
 at ifs.application.objectconnectiontransformutilities.impl.ObjectConnectionTransformUtilImpl.buildQueryConditionView(ObjectConnectionTransformUtilImpl.java:64)
 at ifs.application.objectconnectiontransformutilities.ObjectConnectionTransformUtilWrapper.buildQueryConditionView(ObjectConnectionTransformUtilWrapper.java:43)
 at ifs.application.objectconnectiontransformutilities.impl.ObjectConnectionTransformUtilImpl.queryTarget(ObjectConnectionTransformUtilImpl.java:192)
 at ifs.application.objectconnectiontransformutilities.ObjectConnectionTransformUtilWrapper.queryTarget(ObjectConnectionTransformUtilWrapper.java:180)
 at ifs.application.objectconnectiontransformutilities.ObjectConnectionTransformUtilBean.queryTarget(ObjectConnectionTransformUtilBean.java:123)
 [...]
 at ifs.fnd.sf.j2ee.FndAbstractBean.aroundInvoke(FndAbstractBean.java:162)
 [...]
 at ifs.application.objectconnectiontransformutilities.ObjectConnectionTransformUtilBean_nwup3k_ObjectConnectionTransformUtilLocalImpl.__WL_invoke(Unknown Source)
 ... 53 more
 ---> Ifs.Fnd.AccessProvider.FndConnectionFailedException: There is currently a problem connecting to 'http://srt00918.ssab.com:61080'. Server responds with error.
Most likely causes:

 * Application server is currently restarting.
 * Application server is not correctly configured.

(HTTP response: 'Internal Server Error')

Contact your system administrator if this condition persists.
   --- Slut på stackspårning för interna undantag ---

Server stack trace:
   vid Ifs.Fnd.AccessProvider.FndConnection.HandleHttpStatusErrors(HttpWebResponse result, Exception innerException)
   vid Ifs.Fnd.AccessProvider.FndConnection.GetResponseWithoutPersistencyHandler(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes)
   vid Ifs.Fnd.AccessProvider.FndConnection.GetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, FndApfAsyncInvoke asyncInvokeHandle)
   vid Ifs.Fnd.AccessProvider.FndConnection.CallGetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, FndApfAsyncInvoke asyncInvokeHandle)
   vid Ifs.Fnd.AccessProvider.FndConnection.AsyncGetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, FndApfAsyncInvoke asyncInvokeHandle)
   vid System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   vid System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
   vid System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   vid System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   vid Ifs.Fnd.AccessProvider.FndConnection.GetResponseDelegate.EndInvoke(IAsyncResult result)
   vid Ifs.Fnd.AccessProvider.FndConnection.InvokeGetResponse(String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Byte[] requestHeaderBytes, Byte[] requestBodyBytes, Boolean& abandoned, Boolean forcedSync)
   vid Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync)
   --- Slut på stackspårning för interna undantag ---
   vid Ifs.Fnd.AccessProvider.Activity.FndActivityDataAdapter.Fill(FndDataRow condition, FndQueryOptions queryOptions)
   vid Ifs.Application.DocumentConnectionsAttachmentPlugin.DocumentConnectionsAttachmentPlugin.UpdateUI(Boolean clearEntries)
   vid Ifs.Fnd.Explorer.Extenders.ObjectConnections.ConnectedObjectsManager.NotifyCurrentlyActiveServer()
   vid Ifs.Fnd.Explorer.Extenders.ObjectConnections.ConnectedObjectsManager.connectedObjectsPane_AttachmentServiceVisibilityChanged(Object sender, AttachmentServiceChangedEventArgs e)
   vid Ifs.Fnd.Explorer.Extenders.ObjectConnections.ConnectedObjectsPane.set_CurrentActiveServer(IFndObjectConnectionServer value)
   vid Ifs.Fnd.Explorer.Extenders.ObjectConnections.PaneVisualizationElement.Load()
   vid Ifs.Fnd.Explorer.Extenders.ObjectConnections.PaneVisualizationElement.SelectThisService()
   vid Ifs.Fnd.Explorer.Extenders.ObjectConnections.LinkPanel.LinkPanel_Click(Object sender, EventArgs e)
   vid System.Windows.Forms.Control.OnClick(EventArgs e)
   vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   vid System.Windows.Forms.Control.WndProc(Message& m)
   vid System.Windows.Forms.Label.WndProc(Message& m)
   vid System.Windows.Forms.LinkLabel.WndProc(Message& msg)
   vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- Slut på stackspårning för interna undantag ---


14 replies

Userlevel 7

Can you provide some more details? Is it when you view a document? When you try to edit? Is it for all users? When did it start? 

Badge +3

Its when you try to wiew documents attached to plantobjects in IFS Application 8

Badge +3

Its for all users also IFSAPP

Userlevel 7

Can you check if the proper Object Connections are configured for the affected LU(s)? 

Userlevel 6
Badge +18

Is this issue happening in PROD?

Can you try reconfiguring the applications as this can resolve most document and report errors in IFS?

Badge +3

I have reconfigured the application , but its the same error.
No its not in production, but a copy from production to an education Environment.

Userlevel 6
Badge +18

Are both environments on same IFS patch/delivery level?

Badge +3

Yes the Environments have the same patch/delivery level ?

Userlevel 6
Badge +18
  • What is the version of IFS?
  • Did you check server status to make sure all IFS Middleware Servers are running OK?
  • Did your reconfiguration finish 100% without any errors or warnings?

 

 

 

Badge +3

The version is Application 8, yes i have checked status and i also have reconfigured it..

 

Badge +3

I also get this error when i try to create a new document from beginning.
Object reference not set to an instance of an object.

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Ifs.Application.Docman.cEdmRepository.___UploadDocument(String sourceFileName, String sDocClass, String sDocNo, String sDocSheet, String sDocRev, String sDocType, String sTicket)
   at Ifs.Application.Docman.cEdmRepository._PutFile(SalString sDocClass, SalString sDocNo, SalString sDocSheet, SalString sDocRev, SalString sDocType, SalString sViewFileExtension)
   at Ifs.Application.Docman.cEdm.__PutFile(SalString sDocClass, SalString sDocNo, SalString sDocSheet, SalString sDocRev, SalString sDocType)
   at Ifs.Application.Docman.cEdm.__CheckInFile(SalString sDocClass, SalString sDocNo, SalString sDocSheet, SalString sDocRev, SalString sDocType)
   at Ifs.Application.Docman.cEdm.CheckInExecute()
   at Ifs.Application.Docman.cMasterDetailTabFormWindowEDM.EdmCheckIn(SalNumber nWhatDoc)
   at Ifs.Application.Docman.frmDocumentContainer.CheckInDocument(SalNumber nWhatDoc)
   at Ifs.Application.Docman.frmDocumentContainer.UserMethod(SalNumber nWhatDoc, SalString sMethod)
   at Ifs.Application.Docman.frmDocumentContainer.vrtUserMethod(SalNumber nWhat, SalString sMethod)
   at Ifs.Fnd.ApplicationForms.cMethodManager.vrtUserMethod(SalNumber nWhat, SalString sMethod)
   at Ifs.Fnd.ApplicationForms.cMethodManager.cMethodManager_WindowActions(Object sender, WindowActionsEventArgs e)
   at PPJ.Runtime.Windows.SalWindow.InvokeWindowActions(WindowActionsEventArgs args, SalContext context, Int32 startIndex, Type startType)
   at PPJ.Runtime.Windows.SalWindow.SendClassMessage(Int32 msg, SalNumber wParam, SalNumber lParam, Type startType)
   at PPJ.Runtime.Sal.SendClassMessage(SalNumber nMessage, SalNumber nMywParam, SalNumber nMylParam)
   at Ifs.Application.Docman.frmDocumentContainer.frmDocumentContainer_OnDOC_contentSearch(Object sender, WindowActionsEventArgs e)
   at Ifs.Application.Docman.frmDocumentContainer.frmDocumentContainer_WindowActions(Object sender, WindowActionsEventArgs e)
   at PPJ.Runtime.Windows.SalWindow.InvokeWindowActions(WindowActionsEventArgs args, SalContext context, Int32 startIndex, Type startType)
   at PPJ.Runtime.Windows.SalWindow.FireWindowActions(Int32 msgCode, IntPtr wParam, IntPtr lParam)
   at PPJ.Runtime.Windows.SalWindow.DispatchThenProcess(Message& m)
   at PPJ.Runtime.Windows.SalWindow.ProcessWndProc(Message& m)
   at PPJ.Runtime.Windows.SalForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- End of inner exception stack trace ---

Userlevel 6
Badge +18

Here is the concerning error:

 ---> Ifs.Fnd.AccessProvider.FndConnectionFailedException: There is currently a problem connecting to 'http://srt00918.ssab.com:61080'. Server responds with error.
Most likely causes:

 * Application server is currently restarting.
 * Application server is not correctly configured.

 

Is the IFSPLSQLAP Oracle user account Active?

When you did the reconfiguration, do you remember checking the following (checked) option?

Somewhere, there seems to be a disconnect b/w the Application Server and Document Repository causing this issue. Unfortunately, it is difficult to troubleshoot further without access to the system. 

Badge +3

Yes i have done this when i did the reconfigure

Userlevel 2
Badge +6

Hi,

Have you configured DocTickTemp folder? if so, check the account of the application server is able to access this path. This is an access issue. We have recently faced similar issue in IFS 8, when we do a production copy to a test environment.

After fixing the access, the issue is solved.

Regards, Sri

Reply