İnternet Explorer 11 kullanıyorum, işletim sistemim windows 7 SP1. Java'nın dün yayınlanan son güncelleştirmesini yapmama rağmen bir sitede aşağıdaki uyarıyı veriyor. Bunu nasıl düzeltebilirim?



Genel Sistem Hatasi
java.lang.NumberFormatException
at java.math.BigDecimal.(BigDecimal.java:494)
at java.math.BigDecimal.(BigDecimal.java:383)
at java.math.BigDecimal.(BigDecimal.java:806)
at tr.gov.dtm.core.CSHashMap.getBigDecimal(CSHashMap.java:88)
attr.gov.dtm.component.lisans.LisansIslemManager.ithFirmaGiris(LisansIslemManager.java:6005)
at tr.gov.dtm.component.lisans.IthFirmaGiris.execute(IthFirmaGiris.java:14)
attr.gov.dtm.core.ejbServiceDispatcher.ServiceDispatcherBean.serviceCall(ServiceDispatcherBean.java:109)
attr.gov.dtm.core.ejbServiceDispatcher.ServiceDispatcherBean.executeCommon(ServiceDispatcherBean.java:166)
attr.gov.dtm.core.ejbServiceDispatcher.ServiceDispatcherBean.execute(ServiceDispatcherBean.java:58)
attr.gov.dtm.core.ejbServiceDispatcher.serviceDispatcherBean_1dkd5s_ServiceDispatcherImpl.__WL_invoke(Unknown Source)
atweblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:34)
attr.gov.dtm.core.ejbServiceDispatcher.serviceDispatcherBean_1dkd5s_ServiceDispatcherImpl.execute(Unknown Source)
attr.gov.dtm.core.ejbServiceDispatcher.serviceDispatcherBean_1dkd5s_ServiceDispatcherImpl_CBV.execute(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4122.invoke(Unknown Source)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
atweblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
at com.sun.proxy.$Proxy115.execute(Unknown Source)
attr.gov.dtm.core.ServiceDispatcherHelper.dispatch(ServiceDispatcherHelper.java:118)
attr.gov.dtm.servlet.RequestDispatcherServlet.processRequest(RequestDispatcherServlet.java:201)
attr.gov.dtm.servlet.RequestDispatcherServlet.doGet(RequestDispatcherServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
atweblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
atweblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
atweblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRunWwebAppServletContext.java:3447)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3417)
atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
atweblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2280)
atweblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2196)
atweblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
atweblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1632)
Atweblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:256)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

 

cok buyuk ihtimal browser ayarlarin turkce, ve orada bir rakam gonderiyorsun. Bu gonderdigin rakam 123,45 gibi bir rakam. yani virgullu bir rakam gonderiyorsun. o rakam da ithFirmaGiris tarafindan cagiriliyor, cagirilirken de sanirim BigDecimal formata donduruluyor. o donusum sirasinda da java BigDecimal sadece 123.45 gibi noktali (.) US formatinda decimal kabul ediyor. o ndenele numara formatin uyumsuzlugundan kaynakli NumberFormatException hatasi aliyorsun.

emrahday
1

mobil görünümden çık