2 Replies Latest reply on Aug 24, 2004 2:14 PM by theute

    Problems with BB module

      Hi!!

      I have another problem... My module BB have a error,when acced to the url:/nukes/index.html?module=bb&op=main, but only when the user are log...

      ERROR [bb]Not possible to invocate the operation
      java.lang.NullPointerException
      at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:581)
      at java.text.SimpleDateFormat.applyPattern(SimpleDateFormat.java:1779)
      at org.jboss.nukes.common.format.date.SimpleDateFormatPool._acquire(SimpleDateFormatPool.java:65)
      at org.jboss.nukes.common.pool.AbstractPool.acquire(AbstractPool.java:69)
      at org.jboss.nukes.common.format.date.SimpleDateFormatPool.formatDate(SimpleDateFormatPool.java:85)
      at org.jboss.nukes.addons.modules.bb.BBModule.main(BBModule.java:1161)
      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:324)
      at org.jboss.nukes.addons.modules.bb.BBModule.process(BBModule.java:933)
      at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
      at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
      at org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
      at org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:93)
      at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.nukes.core.Main$LastNext.process(Main.java:557)
      at org.jboss.nukes.core.modules.html.HtmlModule$1.process(HtmlModule.java:259)
      at org.jboss.nukes.core.Main$HandlerNext.process(Main.java:508)
      at org.jboss.nukes.core.modules.core.CoreModule$3.process(CoreModule.java:412)
      at org.jboss.nukes.core.Main$HandlerNext.process(Main.java:508)
      at org.jboss.nukes.core.modules.block.BlockModule$3.process(BlockModule.java:810)
      at org.jboss.nukes.core.Main$HandlerNext.process(Main.java:508)
      at org.jboss.nukes.core.modules.theme.ThemeModule$2.process(ThemeModule.java:255)
      at org.jboss.nukes.core.Main$HandlerNext.process(Main.java:508)
      at org.jboss.nukes.core.modules.user.UserModule$4.process(UserModule.java:1475)
      at org.jboss.nukes.core.Main$HandlerNext.process(Main.java:508)
      at org.jboss.nukes.core.Main.process(Main.java:119)
      at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.nukes.servlet.NukeServlet.doGet(NukeServlet.java:175)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.jboss.nukes.servlet.TransactionFilter.doFilter(TransactionFilter.java:95)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.jboss.nukes.servlet.FileUploadFilter.doFilter(FileUploadFilter.java:64)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.jboss.nukes.servlet.CompressFilter.doFilter(CompressFilter.java:77)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.jboss.nukes.servlet.ParameterEncodingFilter.doFilter(ParameterEncodingFilter.java:60)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.jboss.nukes.servlet.DatabasePollerFilter.doFilter(DatabasePollerFilter.java:88)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:534)

      Thanks a lot in advanced.






        • 1. Re: Problems with BB module

          Hello,

          I still didn't know how resolve the problem. Nobody can help me? I have an error when inicialize nukes that it must be related:

          18:07:04,959 INFO [BBModule] Starting
          18:07:06,299 ERROR [STDERR] java.lang.NullPointerException
          18:07:06,299 ERROR [STDERR] at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:581)
          18:07:06,299 ERROR [STDERR] at java.text.SimpleDateFormat.applyPattern(SimpleDateFormat.java:1779)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.common.format.date.SimpleDateFormatPool._acquire(SimpleDateFormatPool.java:65)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.common.pool.AbstractPool.acquire(AbstractPool.java:69)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.common.format.date.SimpleDateFormatPool.formatDate(SimpleDateFormatPool.java:85)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.addons.modules.bb.BBModule.updateStats(BBModule.java:587)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.addons.modules.bb.BBModule.access$000(BBModule.java:174)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.addons.modules.bb.BBModule$1.run(BBModule.java:387)
          18:07:06,300 ERROR [STDERR] at org.jboss.nukes.utils.Scheduler$MutexTask.run(Scheduler.java:87)
          18:07:06,300 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:432)
          18:07:06,300 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:382)
          18:07:06,357 INFO [index] Add nukes.modules:name=bb to indices
          18:07:06,358 INFO [BBModule] Started
          18:07:06,359 INFO [EjbModule] Started jboss.j2ee:module=nukes-bb-ejb-ro.jar,service=EjbModule
          18:07:06,359 INFO [EJBDeployer] Deployed: file:/usr4/home/anab/jboss-3.2.3/server/default/tmp/deploy/tmp41781nukes-bb.ear-contents/nukes-bb-ejb-ro.jar
          18:07:06,406 INFO [EARDeployer] Started J2EE application: file:/usr4/home/anab/jboss-3.2.3/server/default/nukes/nukes-bb.ear
          18:07:06,406 INFO [MainDeployer] Deployed package: file:/usr4/home/anab/jboss-3.2.3/server/default/nukes/nukes-bb.ear

          Thanks for any help

          • 2. Re: Problems with BB module
            theute

            Which version of Nukes are you using ? Did you try with Nukes_1.1.0RC3 ?