Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-446

Deployment requests causing null pointer errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: unspecified
    • Fix Version/s: None
    • Component/s: Content
    • Labels:
      None
    • Environment:

      Operating System: Linux

      Platform: PC

    • Bugzilla Id:
      3755

      Description

      The attached was being deployed by Yell and ran into a null pointer error. Dave

      mentioned this is code problem. I leave it to you to triage. It is based on

      Eventum 1135 which I will assign to you.

      NullPointerException is being generated:

      Before SMSc , when there was missing content, site gen would still successfully generate the site. Now, it causes a NullPointerException and fails the request.

      Here is the exception:

      2010-06-21 10:47:39,903 INFO [com.thesearchagency.mms.contentrepository.impl.ContentRepositoryServiceImpl] Using assigned content for EntityID: 232872 BusinessTypeID: 0 BusinessFunctionID: 1000000277 LocationID: 1079 LanguageID: 1

      2010-06-21 10:47:39,904 ERROR [com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceRequestMDB] Error processing message:

      java.lang.NullPointerException at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.generateSEMPages(SiteGenerationServiceImpl.java:668)

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.generatePages(SiteGenerationServiceImpl.java:430)

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.generateSite(SiteGenerationServiceImpl.java:200)

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceRequestMDB.onMessage(SiteGenerationServiceRequestMDB.java:58)

      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.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

      at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

      at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:245)

      at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268) at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)

      at $Proxy179.onMessage(Unknown Source)

      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178) at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160)

      at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831)

      at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)

      at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)

      at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)

      at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)

      at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)

      at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)

      at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)

      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237)

      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)

      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)

      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)

      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

            People

            • Assignee:
              prashant.balikai Prashant (Inactive)
              Reporter:
              bduffy Bill Duffy (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: