<div dir="ltr">To expand on this, I've discovered today that some packages can be installed via profile sync, but most cannot.  For example, arpwatch will install just fine, but aide and haproxy (amongst many others) will fail with the Internal Server Error.  I can't figure it out, it doesn't make sense.  At least, not without better code debugging skills than I have.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 15, 2019 at 1:19 PM Bryan Norton <<a href="mailto:bryan.norton@gmail.com">bryan.norton@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello Everyone,<div><br></div><div>I'm having a problem with a newly set up Spacewalk 2.9 server.  Whenever I attempt to synchronize a server with a software package list from either a Stored Profile or a specific system, it fails.  I can choose the system or profile to compare it with, do the comparison, pick the package(s) to synchronize, but when I get to the last page, and click schedule, it just sits there for a minute.  Eventually, I receive an Internal Server Error.  </div><div><br></div><div>In browsing the various logs, there's only one entry that appears relevant, and I've included it below.  The only part sanitized is the removal of the server name.</div><div><br></div><div>Jul 15 12:57:22  server: 2019-07-15 12:57:22,273 [ajp-bio-0:0:0:0:0:0:0:1-8009-exec-23] WARN  org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class java.lang.NullPointerException<br>Jul 15 12:57:22  server: 2019-07-15 12:57:22,276 [ajp-bio-0:0:0:0:0:0:0:1-8009-exec-23] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back<br>Jul 15 12:57:22  server: javax.servlet.ServletException: java.lang.NullPointerException<br>Jul 15 12:57:22  server: at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)<br>Jul 15 12:57:22  server: at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)<br>Jul 15 12:57:22  server: at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:105)<br>Jul 15 12:57:22  server: at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1926)<br>Jul 15 12:57:22  server: at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:451)<br>Jul 15 12:57:22  server: at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)<br>Jul 15 12:57:22  server: at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:104)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)<br>Jul 15 12:57:22  server: at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:101)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:58)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)<br>Jul 15 12:57:22  server: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)<br>Jul 15 12:57:22  server: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)<br>Jul 15 12:57:22  server: at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)<br>Jul 15 12:57:22  server: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)<br>Jul 15 12:57:22  server: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)<br>Jul 15 12:57:22  server: at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)<br>Jul 15 12:57:22  server: at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)<br>Jul 15 12:57:22  server: at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)<br>Jul 15 12:57:22  server: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br>Jul 15 12:57:22  server: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br>Jul 15 12:57:22  server: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)<br>Jul 15 12:57:22  server: at java.lang.Thread.run(Thread.java:748)<br>Jul 15 12:57:22  server: Caused by: java.lang.NullPointerException<br>Jul 15 12:57:22  server: at com.redhat.rhn.manager.action.ActionManager.schedulePackageRunTransaction(ActionManager.java:1077)<br>Jul 15 12:57:22  server: at com.redhat.rhn.manager.profile.ProfileManager.syncToProfile(ProfileManager.java:849)<br>Jul 15 12:57:22  server: at com.redhat.rhn.frontend.action.rhnpackage.profile.SyncProfilesAction.scheduleSync(SyncProfilesAction.java:78)<br>Jul 15 12:57:22  server: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>Jul 15 12:57:22  server: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>Jul 15 12:57:22  server: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>Jul 15 12:57:22  server: at java.lang.reflect.Method.invoke(Method.java:498)<br>Jul 15 12:57:22  server: at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)<br>Jul 15 12:57:22  server: at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)<br>Jul 15 12:57:22  server: at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:146)<br>Jul 15 12:57:22  server: at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)<br>Jul 15 12:57:22  server: ... 45 more<br></div><div><br></div><div>Any assistance would be greatly appreciated.</div><div><br></div><div>Thanks!</div><div>Bryan</div></div>
</blockquote></div>