mrchebik / ospicture Goto Github PK
View Code? Open in Web Editor NEWHosting the images with multiply uploads, checking of checksum, lossless optimization.
License: GNU General Public License v3.0
Hosting the images with multiply uploads, checking of checksum, lossless optimization.
License: GNU General Public License v3.0
View details in Rollbar: https://rollbar.com/mrchebik/OSPicture/items/2/
NullPointerException
ru.mrchebik.utils.Utils.setTypeOptimization (Utils.java:144)
ru.mrchebik.utils.Utils.setOptimization (Utils.java:126)
ru.mrchebik.utils.Utils.addFile (Utils.java:69)
ru.mrchebik.web.UploadController.add (UploadController.java:35)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:205)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:133)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:827)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:738)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doPut (FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service (HttpServlet.java:664)
org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service (HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:105)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:478)
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:87)
org.apache.catalina.valves.RemoteIpValve.invoke (RemoteIpValve.java:677)
org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:799)
org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:861)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1455)
org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
java.lang.Thread.run (Thread.java:748)
View details in Rollbar: https://rollbar.com/mrchebik/OSPicture/items/6/
FileNotFoundException: /tmp/tomcat.78617862727662754.8446/work/Tomcat/localhost/ROOT/upload_22e4f75d_a538_4819_847f_6fb369bdf803_00000001.tmp (No such file or directory)
java.io.FileInputStream.open0 (FileInputStream.java:-2)
java.io.FileInputStream.open (FileInputStream.java:195)
java.io.FileInputStream.<init> (FileInputStream.java:138)
org.apache.tomcat.util.http.fileupload.disk.DiskFileItem.getInputStream (DiskFileItem.java:188)
org.apache.catalina.core.ApplicationPart.getInputStream (ApplicationPart.java:100)
org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.getBytes (StandardMultipartHttpServletRequest.java:292)
ru.mrchebik.utils.ChecksumUtils.getChecksumSHA3 (ChecksumUtils.java:43)
ru.mrchebik.utils.Utils.addFile (Utils.java:135)
ru.mrchebik.web.UploadController.add (UploadController.java:58)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:205)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:133)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:827)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:738)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doPut (FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service (HttpServlet.java:664)
org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service (HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:105)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:478)
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:87)
org.apache.catalina.valves.RemoteIpValve.invoke (RemoteIpValve.java:677)
org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:799)
org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:861)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1455)
org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
java.lang.Thread.run (Thread.java:748)
View details in Rollbar: https://rollbar.com/mrchebik/OSPicture/items/1/
NullPointerException
ru.mrchebik.web.LinkController.handleAbsolutePath (LinkController.java:47)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:205)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:133)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:827)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:738)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doGet (FrameworkServlet.java:861)
javax.servlet.http.HttpServlet.service (HttpServlet.java:635)
org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service (HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:105)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:478)
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:87)
org.apache.catalina.valves.RemoteIpValve.invoke (RemoteIpValve.java:677)
org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:799)
org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:861)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1455)
org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
java.lang.Thread.run (Thread.java:748)
View details in Rollbar: https://rollbar.com/mrchebik/OSPicture/items/5/
IOException: No such file or directory
java.io.UnixFileSystem.createFileExclusively (UnixFileSystem.java:-2)
java.io.File.createNewFile (File.java:1012)
ru.mrchebik.utils.FileUtils.createSourceFile (FileUtils.java:101)
ru.mrchebik.utils.FileUtils.createPicture (FileUtils.java:116)
ru.mrchebik.utils.Utils.addFile (Utils.java:110)
ru.mrchebik.web.UploadController.add (UploadController.java:58)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:205)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:133)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:827)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:738)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doPut (FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service (HttpServlet.java:664)
org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service (HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:105)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:478)
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:87)
org.apache.catalina.valves.RemoteIpValve.invoke (RemoteIpValve.java:677)
org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:799)
org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:861)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1455)
org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
java.lang.Thread.run (Thread.java:748)
View details in Rollbar: https://rollbar.com/mrchebik/OSPicture/items/3/
StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring (String.java:1967)
ru.mrchebik.utils.Utils.getFilename (Utils.java:134)
ru.mrchebik.utils.Utils.addFile (Utils.java:69)
ru.mrchebik.web.UploadController.add (UploadController.java:31)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:205)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:133)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:827)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:738)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doPut (FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service (HttpServlet.java:664)
org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service (HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:105)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:478)
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:87)
org.apache.catalina.valves.RemoteIpValve.invoke (RemoteIpValve.java:677)
org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:799)
org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:861)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1455)
org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
java.lang.Thread.run (Thread.java:748)
View details in Rollbar: https://rollbar.com/mrchebik/OSPicture/items/4/
NullPointerException
ru.mrchebik.utils.Utils.setOptimization (Utils.java:117)
ru.mrchebik.utils.Utils.addFile (Utils.java:67)
ru.mrchebik.web.UploadController.add (UploadController.java:31)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:205)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:133)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:97)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:827)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:738)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:967)
org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:901)
org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:970)
org.springframework.web.servlet.FrameworkServlet.doPut (FrameworkServlet.java:883)
javax.servlet.http.HttpServlet.service (HttpServlet.java:664)
org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service (HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:105)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:107)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:478)
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:87)
org.apache.catalina.valves.RemoteIpValve.invoke (RemoteIpValve.java:677)
org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:799)
org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:861)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1455)
org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
java.lang.Thread.run (Thread.java:748)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.