Выдает при сохранении формы для отправки в XML, на сервер: Документ не сохранен из-за внутренней ошибки! При этом форму при второй попытки отправил
javax.ejb.EJBException: The bean encountered a non-application exception; nested exception is:
java.lang.NullPointerException
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:363)
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:291)
at $Proxy105.saveDocumentDoc(Unknown Source)
at com.epam.sono.app.delegate.FnoDataDelegateImpl.saveDocument(FnoDataDelegateImpl.java:372)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage.handleError(FnoExportPage.java:248)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage.access$1000(FnoExportPage.java:42)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage$5.executeInSession(FnoExportPage.java:209)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage$5.executeInSession(FnoExportPage.java:193)
at com.epam.sono.app.util.taxpayerprofile.TaxPayerSession.executeInResultableSession(TaxPayerSession.java:51)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage.processExport(FnoExportPage.java:218)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage.access$400(FnoExportPage.java:42)
at com.epam.sono.desktop.ui.common.dialogs.FnoExportPage$4.run(FnoExportPage.java:164)
Caused by: java.lang.NullPointerException
at com.epam.sono.business.server.impl.DocumentRegistrationServiceImpl.fillDocumentRegData(DocumentRegistrationServiceImpl.java:151)
at com.epam.sono.business.server.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:1964)
at com.epam.sono.facade.ejb.impl.FnoDataFacadeBean.saveDocumentDoc(FnoDataFacadeBean.java:365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
at com.epam.sono.facade.ejb.util.AuditEjbInterceptor.intercept(AuditEjbInterceptor.java:75)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
at com.epam.sono.facade.ejb.util.FacadeLogger.intercept(FacadeLogger.java:50)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
at com.epam.sono.facade.ejb.util.SecurityIntercepter.intercept(SecurityIntercepter.java:92)
at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:211)
at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169)
at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)
... 10 more