0
 I am getting below exception while trying to change run ageing flag to true.





 Jbillng.property file 
    process.frequency=5 
    # if true, all the passwords in the system are encrypted with a one-way method 
    # if false, only root and clerk are encrypted, the rest are not (needed if 
    # you will show passwords to the users in the invoices/notifications or for the 
    # lost password feature). 
    password_encrypt_all=true 
    # the password that the user account is set to when a user is locked out (too many login retries) 
    lockout_password=totalSecret 
    # if the daily batch includes running the billing process 
    process.run_billing=false 
    # if the daily batch includes running the ageing process 
    process.run_ageing=true

异常:原因:java.lang.NullPointerException 2015-01-30 15:53:51,925 2095046 调试 [com.sapienter.jbilling.batch.ageing.AgeingProcessUserReader] (taskExecutor-6:) 进入 afterPropertiesSet() 2015-01-30 15:53:51,925 2095046 错误 [com.sapienter.jbilling.batch.ExceptionSkipPolicy] (taskExecutor-6:) 跳过用户处理,异常:org.springframework.beans.factory.BeanCreationException:创建名为“scopedTarget.scopedTarget”的 bean 时出错.scopedTarget.scopedTarget.ageingProcessUserReader' 在 ServletContext 资源 [/WEB-INF/spring/ageing-process-job-context.xml] 中定义:调用 init 方法失败;嵌套异常是 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:

4

2 回答 2

1

实际上,如果您有超过 1 家公司,则在 jbilling telco 中会出现此错误。

请通过替换 is_deleted=1 从数据库中删除其他实体。并检查您是否会收到相同的错误。

于 2015-09-22T13:49:05.137 回答
0

如果您共享代码,AgeingProcessUserReader 可以提供帮助,因为从我看到的错误来看,问题出在代码中。如果您只是将 process.agieng=true 的值设置为 true,jbilling 就不会抱怨它。

检查此类“AgeingProcessUserReader”

于 2015-04-22T13:16:23.023 回答