java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have a QBE build with different parameters with data type of String, integer, double (calculated Fields) , date and timestamp. The issue I am having is while running the QBE Query with filter on date or datetime. ISSUE 1 : The date filter works but display wrong results. I am confident that is has something to do with date formatting. How do I make sure I can put the date format as mm/dd/yyyy and get the appropriate results. Is there any particular js file or a place holder in spago schema where I need to change the format ? ISSUE 2 : This is a show stopper for us When we try to put a filter on date range I get the below error. Here you can see the userDateFormatPattern is passed as null. is there any js or schema location where I can configure that. it.eng.qbe.statement.hibernate.HQLStatement.buildUserProvidedWhereField: Right operand Element Type: [Static Content] it.eng.qbe.statement.hibernate.HQLStatement.buildUserProvidedWhereField: Right operand Elements: [[11/01/2012 04:13:45]] it.eng.qbe.statement.hibernate.HQLStatement.getTypeBoundedStaticOperand: operandValueToBound: [11/01/2012 04:13:45] it.eng.qbe.statement.hibernate.HQLStatement.getTypeBoundedStaticOperand: Lead Operand Type: [Field Content] it.eng.qbe.statement.hibernate.HQLStatement.getValueBounded: operandValueToBound: [11/01/2012 04:13:45] it.eng.qbe.statement.hibernate.HQLStatement.getValueBounded: operandType: [timestamp] it.eng.qbe.statement.hibernate.HQLStatement.getValueBounded: userDateFormatPattern: [null] it.eng.qbe.statement.hibernate.HQLStatement.buildUserProvidedWhereField: OUT it.eng.spagobi.engines.qbe.services.core.ExecuteQueryAction.service: OUT it.eng.spagobi.engines.qbe.services.core.ServiceExceptionAction.service: IN it.eng.spagobi.engines.qbe.services.core.ServiceExceptionAction.service: error handler contains [1] error/s it.eng.spagobi.engines.qbe.services.core.ServiceExceptionAction.service: Error type [it.eng.spago.error.EMFInternalError] it.eng.spagobi.engines.qbe.services.core.ServiceExceptionAction.logError: An unpredicted error occurred while executing EXEC_QUERY_ACTION service. The root cause of the error is: java.lang.NullPointerException it.eng.spagobi.engines.qbe.services.core.ServiceExceptionAction.logError: The error root cause is: java.lang.NullPointerException it.eng.spagobi.engines.qbe.services.core.ServiceExceptionAction.logError: The error root cause stack trace is: java.lang.NullPointerException at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:578) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:560)
    via by Bhushan Kable,
  • ExceptionInInitializerError
    via by Aman Gupta,
  • Problem in packaging a JAR
    via by Micky Pat,
  • FormUtils.getFormValues
    via by Imre Tokai,
  • Feedback - JAMWiki Java Wiki Engine
    via by Unknown author,
  • Java doAddEvent failing in workload
    via by James Zubb,
    • java.lang.NullPointerException at java.util.TimeZone.parseCustomTimeZone(TimeZone.java:780) at java.util.TimeZone.getTimeZone(TimeZone.java:484) at java.util.TimeZone.setDefaultZone(TimeZone.java:587) at java.util.TimeZone.getDefaultRef(TimeZone.java:544) at java.util.TimeZone.getDefault(TimeZone.java:531) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:521) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:464) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:445) at net.sf.robocode.settings.SettingsManager.<init>(SettingsManager.java:153) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:501) at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:157) at org.picocontainer.injectors.ConstructorInjector.instantiate(ConstructorInjector.java:222) at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:195) at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:284) at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:218) at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:66) at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:80) at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:574) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:535) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:525) at org.picocontainer.parameters.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:164) at org.picocontainer.parameters.ComponentParameter.resolveInstance(ComponentParameter.java:123) at org.picocontainer.injectors.SingleMemberInjector.getMemberArguments(SingleMemberInjector.java:55) at org.picocontainer.injectors.ConstructorInjector.getMemberArguments(ConstructorInjector.java:230) at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:188) at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:284) at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:218) at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:66) at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:80) at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:574) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:535) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:515) at org.picocontainer.classname.DefaultClassLoadingPicoContainer.getComponent(DefaultClassLoadingPicoContainer.java:186) at org.picocontainer.containers.AbstractDelegatingPicoContainer.getComponent(AbstractDelegatingPicoContainer.java:46) at net.sf.robocode.core.Container.getComponent(Container.java:245) at net.sf.robocode.core.RobocodeMainBase.robocodeMain(RobocodeMainBase.java:42) 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:592) at net.sf.robocode.security.HiddenAccess.robocodeMain(HiddenAccess.java:286) at robocode.Robocode.main(Robocode.java:39)

    Users with the same issue

    davidvanlaatumdavidvanlaatum
    2 times, last one,