Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Njin, 1 year ago
java.lang.NullPointerException
java.lang.NullPointerException: 	at java.lang.Integer.compareTo(Integer.java:1003)	at com.openmarket.xcelerate.asset.DependentAsset.compareTo(DependentAsset.java:79)	at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232)	at java.util.ComparableTimSort.sort(ComparableTimSort.java:158)	at java.util.ComparableTimSort.sort(ComparableTimSort.java:146)	at java.util.Arrays.sort(Arrays.java:472)	at com.openmarket.xcelerate.asset.DependentAssetSet.getList(DependentAssetSet.java:389)	at com.openmarket.xcelerate.asset.Asset.getPubDeps(Asset.java:793)	at com.fatwire.realtime.packager.SerializerDependencyFilter._ensureDeps(SerializerDependencyFilter.java:139)	at com.fatwire.realtime.packager.SerializerDependencyFilter._getDependencyStorable(SerializerDependencyFilter.java:75)	at com.fatwire.realtime.packager.SerializerDependencyFilter.execute(SerializerDependencyFilter.java:69)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:135)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:182)	at com.fatwire.realtime.packager.CSDTUtil.Export(CSDTUtil.java:77)	at com.fatwire.csdt.service.impl.ExportService._export(ExportService.java:139)	at com.fatwire.csdt.service.impl.ExportService.execute(ExportService.java:61)	at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.PrologActions.Publish.csdt.CSDTService_jsp._jspService(CSDTService_jsp.java:189)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)	at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)	at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)	at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)	at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)	at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)	at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)	at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027)	at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621)	at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1640)	at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1276)	at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:465)	at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)	at COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:193)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at COM.FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:701)	at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2440)	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2429)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)