<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto"><code class="notranslate">master</code></p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto"><code class="notranslate">ShardingSphere-Proxy</code></p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto"><code class="notranslate">Add resource</code> successful.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto"><code class="notranslate">ERROR 1104 (C1104): Can not process invalid resources, error messages are: [Single table conflict, there are multiple tables </code>admin<code class="notranslate"> existed.].</code></p>
<p dir="auto"><code class="notranslate">ADD MASTER RESOURCE : </code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ADD RESOURCE ds0 (
    HOST=127.0.0.1,
    PORT=3306,
    DB=lsj,
    USER=root,
    PASSWORD=123456
);"><pre class="notranslate"><code class="notranslate">ADD RESOURCE ds0 (
    HOST=127.0.0.1,
    PORT=3306,
    DB=lsj,
    USER=root,
    PASSWORD=123456
);
</code></pre></div>
<p dir="auto"><code class="notranslate">ADD SLAVE RESOURCE : </code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ADD RESOURCE ds1 (
    HOST=127.0.0.1,
    PORT=3307,
    DB=lsj,
    USER=root,
    PASSWORD=123456
);"><pre class="notranslate"><code class="notranslate">ADD RESOURCE ds1 (
    HOST=127.0.0.1,
    PORT=3307,
    DB=lsj,
    USER=root,
    PASSWORD=123456
);
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/33742097/176172502-390062d1-1c7a-4554-b253-3f7ccb8b23a2.png"><img width="1340" alt="image" src="https://user-images.githubusercontent.com/33742097/176172502-390062d1-1c7a-4554-b253-3f7ccb8b23a2.png" style="max-width: 100%;"></a></p>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<h3 dir="auto">Which version of Sharding-Sphere do you using?</h3>
<p dir="auto">3.0.0.M2</p>
<h3 dir="auto">Which project do you using? Sharding-JDBC or Sharding-Proxy?</h3>
<p dir="auto">Sharding-JDBC</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">The query is normal, but every time an exception is thrown<br>
Is it compatible with previous versions of Hibernate?<br>
I switch from 1.5.x,my software on 1.5.x Normal work<br>
Please help analyze the problem, thank you!!<br>
no thorw by: Exception thrown by subscriber method listen(io.shardingsphere.core.transaction.event.TransactionEvent)</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">every time an exception is thrown<br>
Exception thrown by subscriber method listen(io.shardingsphere.core.transaction.event.TransactionEvent)<br>
java.lang.NullPointerException<br>
at io.shardingsphere.core.transaction.listener.TransactionListener.listen(TransactionListener.java:64)</p>
<h3 dir="auto">Reason analyze</h3>
<p dir="auto">Is it compatible with previous versions of Hibernate or spring?<br>
my software use a base class to get session lock following code<br>
public Session getSession() {<br>
if(sessionFactory != null &amp;&amp; sessionFactory.getCurrentSession() != null) {<br>
return sessionFactory.getCurrentSession();<br>
} else {<br>
return session;<br>
}<br>
}</p>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc</h3>
<p dir="auto">my configuration:</p>

    
    
    
    
    
    
    
    
    
    
        
        
            
            
                
                
            
        
        
            true
        
    
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!-- sharding分库分表sessionFactory --&gt;
&lt;bean id=&quot;strategySessionFactory&quot; class=&quot;org.springframework.orm.hibernate4.LocalSessionFactoryBean&quot;&gt;
    &lt;property name=&quot;dataSource&quot; ref=&quot;shardingDataSource&quot; /&gt;
    &lt;property name=&quot;packagesToScan&quot; value=&quot;com.dayi35.core.model,com.dayi35.core.spot.**,com.dayi35.core.finance.**.model,com.dayi35.payment.factory.model,com.dayi35.payment.bank.pingan.core.model,com.dayi35.core.sys.system.model&quot; /&gt;
    &lt;property name=&quot;hibernateProperties&quot;&gt;
        &lt;props&gt;
            &lt;prop key=&quot;hibernate.dialect&quot;&gt;org.hibernate.dialect.MySQLDialect&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.show_sql&quot;&gt;false&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.hbm2ddl.auto&quot;&gt;false&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.current_session_context_class&quot;&gt;org.springframework.orm.hibernate4.SpringSessionContext&lt;/prop&gt;
            &lt;!-- 转为用filter去打开session &lt;prop key=&quot;hibernate.current_session_context_class&quot;&gt;com.fiidee.eagle.framework.base.dao.SpringSessionContext&lt;/prop&gt;--&gt;
            &lt;prop key=&quot;hibernate.cache.use_second_level_cache&quot;&gt;false&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.cache.use_query_cache&quot;&gt;false&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.cache.use_structured_entries&quot;&gt;false&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.enable_lazy_load_no_trans&quot;&gt;true&lt;/prop&gt;
            &lt;prop key=&quot;hibernate.bytecode.use_reflection_optimizer&quot;&gt;false&lt;/prop&gt;
        &lt;/props&gt;
    &lt;/property&gt;
    &lt;!-- this use for default naming mapping like userName(O) to user_name(DB)  --&gt;
    &lt;property name=&quot;namingStrategy&quot;&gt;&lt;ref bean=&quot;namingStrategy&quot;/&gt;&lt;/property&gt;
&lt;/bean&gt;

&lt;!--设置事物管理器对应的dataSource为ShardingDataSource --&gt;
&lt;bean id=&quot;shardingTransactionManager&quot; class=&quot;org.springframework.orm.hibernate4.HibernateTransactionManager&quot;&gt;
    &lt;property name=&quot;sessionFactory&quot; ref=&quot;strategySessionFactory&quot; /&gt;
&lt;/bean&gt;"><pre class="notranslate"><code class="notranslate">&lt;!-- sharding分库分表sessionFactory --&gt;
&lt;bean id="strategySessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"&gt;
    &lt;property name="dataSource" ref="shardingDataSource" /&gt;
    &lt;property name="packagesToScan" value="com.dayi35.core.model,com.dayi35.core.spot.**,com.dayi35.core.finance.**.model,com.dayi35.payment.factory.model,com.dayi35.payment.bank.pingan.core.model,com.dayi35.core.sys.system.model" /&gt;
    &lt;property name="hibernateProperties"&gt;
        &lt;props&gt;
            &lt;prop key="hibernate.dialect"&gt;org.hibernate.dialect.MySQLDialect&lt;/prop&gt;
            &lt;prop key="hibernate.show_sql"&gt;false&lt;/prop&gt;
            &lt;prop key="hibernate.hbm2ddl.auto"&gt;false&lt;/prop&gt;
            &lt;prop key="hibernate.current_session_context_class"&gt;org.springframework.orm.hibernate4.SpringSessionContext&lt;/prop&gt;
            &lt;!-- 转为用filter去打开session &lt;prop key="hibernate.current_session_context_class"&gt;com.fiidee.eagle.framework.base.dao.SpringSessionContext&lt;/prop&gt;--&gt;
            &lt;prop key="hibernate.cache.use_second_level_cache"&gt;false&lt;/prop&gt;
            &lt;prop key="hibernate.cache.use_query_cache"&gt;false&lt;/prop&gt;
            &lt;prop key="hibernate.cache.use_structured_entries"&gt;false&lt;/prop&gt;
            &lt;prop key="hibernate.enable_lazy_load_no_trans"&gt;true&lt;/prop&gt;
            &lt;prop key="hibernate.bytecode.use_reflection_optimizer"&gt;false&lt;/prop&gt;
        &lt;/props&gt;
    &lt;/property&gt;
    &lt;!-- this use for default naming mapping like userName(O) to user_name(DB)  --&gt;
    &lt;property name="namingStrategy"&gt;&lt;ref bean="namingStrategy"/&gt;&lt;/property&gt;
&lt;/bean&gt;

&lt;!--设置事物管理器对应的dataSource为ShardingDataSource --&gt;
&lt;bean id="shardingTransactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager"&gt;
    &lt;property name="sessionFactory" ref="strategySessionFactory" /&gt;
&lt;/bean&gt;
</code></pre></div>
<h3 dir="auto">For bug report, please <em>MUST</em> provide the reproduce example codes (such as a github link).</h3>
<p dir="auto">20180905 14:11:08.206[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Rule Type: sharding<br>
20180905 14:11:08.206[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Logic SQL: select count(<em>) as y0_ from finance_account_log this_ where this_.pay_type in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and this_.pay_uc_id=? and this_.status=? and this_.create_date between ? and ?<br>
20180905 14:11:08.207[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : SQLStatement: SelectStatement(super=DQLStatement(super=AbstractSQLStatement(type=DQL, tables=Tables(tables=[Table(name=finance_account_log, alias=Optional.of(this_))]), conditions=Conditions(orCondition=OrCondition(andConditions=[AndCondition(conditions=[Condition(column=Column(name=create_date, tableName=finance_account_log), operator=BETWEEN, positionValueMap={}, positionIndexMap={0=28, 1=29})])])), sqlTokens=[TableToken(beginPosition=28, skippedSchemaNameLength=0, originalLiterals=finance_account_log)], parametersIndex=30)), containStar=false, selectListLastPosition=23, groupByLastPosition=0, items=[AggregationSelectItem(type=COUNT, innerExpression=(</em>), alias=Optional.of(y0_), derivedAggregationSelectItems=[], index=-1)], groupByItems=[], orderByItems=[], limit=null, subQueryStatement=null)<br>
20180905 14:11:08.208[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Actual SQL: dataSource ::: select count(*) as y0_ from finance_account_log_8 this_ where this_.pay_type in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and this_.pay_uc_id=? and this_.status=? and this_.create_date between ? and ? ::: [[1, -9, -114, -112, -115, -100, -101, -109, -102, -117, -107, -116, -118, 103, 104, 108, -103, 105, 106, 107, -8, -120, 109, -999, -121, -41, 20135177197638921, 1, 2018-08-06 00:00:00.992, 2018-09-05 23:59:59.992]]<br>
20180905 14:11:08.243[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Rule Type: sharding<br>
20180905 14:11:08.243[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Logic SQL: select this_.id as y0_ from finance_account_log this_ where this_.pay_type in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and this_.pay_uc_id=? and this_.status=? and this_.create_date between ? and ? order by this_.ser_id desc limit ?<br>
20180905 14:11:08.244[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : SQLStatement: SelectStatement(super=DQLStatement(super=AbstractSQLStatement(type=DQL, tables=Tables(tables=[Table(name=finance_account_log, alias=Optional.of(this_))]), conditions=Conditions(orCondition=OrCondition(andConditions=[AndCondition(conditions=[Condition(column=Column(name=create_date, tableName=finance_account_log), operator=BETWEEN, positionValueMap={}, positionIndexMap={0=28, 1=29})])])), sqlTokens=[TableToken(beginPosition=28, skippedSchemaNameLength=0, originalLiterals=finance_account_log), ItemsToken(beginPosition=23, isFirstOfItemsSpecial=false, items=[this_.ser_id AS ORDER_BY_DERIVED_0 ])], parametersIndex=31)), containStar=false, selectListLastPosition=23, groupByLastPosition=0, items=[CommonSelectItem(expression=this_.id, alias=Optional.of(y0_))], groupByItems=[], orderByItems=[OrderItem(owner=Optional.of(this_), name=Optional.of(ser_id), orderDirection=DESC, nullOrderDirection=ASC, index=-1, alias=Optional.of(ORDER_BY_DERIVED_0))], limit=null, subQueryStatement=null)<br>
20180905 14:11:08.244[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Actual SQL: dataSource ::: select this_.id as y0_ , this_.ser_id AS ORDER_BY_DERIVED_0 from finance_account_log_8 this_ where this_.pay_type in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and this_.pay_uc_id=? and this_.status=? and this_.create_date between ? and ? order by this_.ser_id desc limit ? ::: [[1, -9, -114, -112, -115, -100, -101, -109, -102, -117, -107, -116, -118, 103, 104, 108, -103, 105, 106, 107, -8, -120, 109, -999, -121, -41, 20135177197638921, 1, 2018-08-06 00:00:00.992, 2018-09-05 23:59:59.992, 10]]<br>
20180905 14:11:08.255[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Rule Type: sharding<br>
20180905 14:11:08.255[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Logic SQL: select this_.id as id1_80_0_, this_.create_date as create_d2_80_0_, this_.modify_date as modify_d3_80_0_, this_.account_type as account_4_80_0_, this_.accrual as accrual5_80_0_, this_.agent_org_id as agent_or6_80_0_, this_.balance as balance7_80_0_, this_.bussniss_type as bussniss8_80_0_, this_.cargo_hand_num as cargo_ha9_80_0_, this_.cargo_interest as cargo_i10_80_0_, this_.cargo_interest_puchas as cargo_i11_80_0_, this_.error_type as error_t12_80_0_, this_.finish_method as finish_13_80_0_, this_.frozen as frozen14_80_0_, this_.full_fund as full_fu15_80_0_, this_.in_out_type as in_out_16_80_0_, this_.interest as interes17_80_0_, this_.link_person as link_pe18_80_0_, this_.mobile as mobile19_80_0_, this_.name as name20_80_0_, this_.out_frozen as out_fro21_80_0_, this_.pay_type as pay_typ22_80_0_, this_.pay_uc_id as pay_uc_23_80_0_, this_.product_type as product24_80_0_, this_.product_type_str as product25_80_0_, this_.protocol_number as protoco26_80_0_, this_.receive_uc_account_type as receive27_80_0_, this_.receive_uc_id as receive28_80_0_, this_.relation_ser_id as relatio29_80_0_, this_.remark as remark30_80_0_, this_.ser_id as ser_id31_80_0_, this_.short_fund as short_f32_80_0_, this_.spe_business as spe_bus33_80_0_, this_.status as status34_80_0_, this_.sys_business as sys_bus35_80_0_, this_.total_in_cash as total_i36_80_0_, this_.total_out_cash as total_o37_80_0_, this_.userable as userabl38_80_0_, this_.version as version39_80_0_ from finance_account_log this_ where this_.pay_type in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and this_.pay_uc_id=? and this_.status=? and this_.create_date between ? and ? and this_.id in (?) order by this_.ser_id desc<br>
20180905 14:11:08.255[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : SQLStatement: SelectStatement(super=DQLStatement(super=AbstractSQLStatement(type=DQL, tables=Tables(tables=[Table(name=finance_account_log, alias=Optional.of(this_))]), conditions=Conditions(orCondition=OrCondition(andConditions=[AndCondition(conditions=[Condition(column=Column(name=create_date, tableName=finance_account_log), operator=BETWEEN, positionValueMap={}, positionIndexMap={0=28, 1=29})])])), sqlTokens=[TableToken(beginPosition=1465, skippedSchemaNameLength=0, originalLiterals=finance_account_log)], parametersIndex=31)), containStar=false, selectListLastPosition=1460, groupByLastPosition=0, items=[CommonSelectItem(expression=this_.frozen, alias=Optional.of(frozen14_80_0_)), CommonSelectItem(expression=this_.receive_uc_account_type, alias=Optional.of(receive27_80_0_)), CommonSelectItem(expression=this_.product_type_str, alias=Optional.of(product25_80_0_)), CommonSelectItem(expression=this_.modify_date, alias=Optional.of(modify_d3_80_0_)), CommonSelectItem(expression=this_.remark, alias=Optional.of(remark30_80_0_)), CommonSelectItem(expression=this_.name, alias=Optional.of(name20_80_0_)), CommonSelectItem(expression=this_.status, alias=Optional.of(status34_80_0_)), CommonSelectItem(expression=this_.version, alias=Optional.of(version39_80_0_)), CommonSelectItem(expression=this_.balance, alias=Optional.of(balance7_80_0_)), CommonSelectItem(expression=this_.cargo_hand_num, alias=Optional.of(cargo_ha9_80_0_)), CommonSelectItem(expression=this_.short_fund, alias=Optional.of(short_f32_80_0_)), CommonSelectItem(expression=this_.id, alias=Optional.of(id1_80_0_)), CommonSelectItem(expression=this_.error_type, alias=Optional.of(error_t12_80_0_)), CommonSelectItem(expression=this_.finish_method, alias=Optional.of(finish_13_80_0_)), CommonSelectItem(expression=this_.link_person, alias=Optional.of(link_pe18_80_0_)), CommonSelectItem(expression=this_.accrual, alias=Optional.of(accrual5_80_0_)), CommonSelectItem(expression=this_.relation_ser_id, alias=Optional.of(relatio29_80_0_)), CommonSelectItem(expression=this_.mobile, alias=Optional.of(mobile19_80_0_)), CommonSelectItem(expression=this_.cargo_interest, alias=Optional.of(cargo_i10_80_0_)), CommonSelectItem(expression=this_.account_type, alias=Optional.of(account_4_80_0_)), CommonSelectItem(expression=this_.agent_org_id, alias=Optional.of(agent_or6_80_0_)), CommonSelectItem(expression=this_.receive_uc_id, alias=Optional.of(receive28_80_0_)), CommonSelectItem(expression=this_.spe_business, alias=Optional.of(spe_bus33_80_0_)), CommonSelectItem(expression=this_.total_in_cash, alias=Optional.of(total_i36_80_0_)), CommonSelectItem(expression=this_.cargo_interest_puchas, alias=Optional.of(cargo_i11_80_0_)), CommonSelectItem(expression=this_.pay_uc_id, alias=Optional.of(pay_uc_23_80_0_)), CommonSelectItem(expression=this_.ser_id, alias=Optional.of(ser_id31_80_0_)), CommonSelectItem(expression=this_.pay_type, alias=Optional.of(pay_typ22_80_0_)), CommonSelectItem(expression=this_.total_out_cash, alias=Optional.of(total_o37_80_0_)), CommonSelectItem(expression=this_.in_out_type, alias=Optional.of(in_out_16_80_0_)), CommonSelectItem(expression=this_.full_fund, alias=Optional.of(full_fu15_80_0_)), CommonSelectItem(expression=this_.interest, alias=Optional.of(interes17_80_0_)), CommonSelectItem(expression=this_.out_frozen, alias=Optional.of(out_fro21_80_0_)), CommonSelectItem(expression=this_.userable, alias=Optional.of(userabl38_80_0_)), CommonSelectItem(expression=this_.bussniss_type, alias=Optional.of(bussniss8_80_0_)), CommonSelectItem(expression=this_.product_type, alias=Optional.of(product24_80_0_)), CommonSelectItem(expression=this_.sys_business, alias=Optional.of(sys_bus35_80_0_)), CommonSelectItem(expression=this_.create_date, alias=Optional.of(create_d2_80_0_)), CommonSelectItem(expression=this_.protocol_number, alias=Optional.of(protoco26_80_0_))], groupByItems=[], orderByItems=[OrderItem(owner=Optional.of(this_), name=Optional.of(ser_id), orderDirection=DESC, nullOrderDirection=ASC, index=-1, alias=Optional.of(ser_id31_80_0_))], limit=null, subQueryStatement=null)<br>
20180905 14:11:08.258[INFO][qtp2111700021-20] - Sharding-Sphere-SQL.log : Actual SQL: dataSource ::: select this_.id as id1_80_0_, this_.create_date as create_d2_80_0_, this_.modify_date as modify_d3_80_0_, this_.account_type as account_4_80_0_, this_.accrual as accrual5_80_0_, this_.agent_org_id as agent_or6_80_0_, this_.balance as balance7_80_0_, this_.bussniss_type as bussniss8_80_0_, this_.cargo_hand_num as cargo_ha9_80_0_, this_.cargo_interest as cargo_i10_80_0_, this_.cargo_interest_puchas as cargo_i11_80_0_, this_.error_type as error_t12_80_0_, this_.finish_method as finish_13_80_0_, this_.frozen as frozen14_80_0_, this_.full_fund as full_fu15_80_0_, this_.in_out_type as in_out_16_80_0_, this_.interest as interes17_80_0_, this_.link_person as link_pe18_80_0_, this_.mobile as mobile19_80_0_, this_.name as name20_80_0_, this_.out_frozen as out_fro21_80_0_, this_.pay_type as pay_typ22_80_0_, this_.pay_uc_id as pay_uc_23_80_0_, this_.product_type as product24_80_0_, this_.product_type_str as product25_80_0_, this_.protocol_number as protoco26_80_0_, this_.receive_uc_account_type as receive27_80_0_, this_.receive_uc_id as receive28_80_0_, this_.relation_ser_id as relatio29_80_0_, this_.remark as remark30_80_0_, this_.ser_id as ser_id31_80_0_, this_.short_fund as short_f32_80_0_, this_.spe_business as spe_bus33_80_0_, this_.status as status34_80_0_, this_.sys_business as sys_bus35_80_0_, this_.total_in_cash as total_i36_80_0_, this_.total_out_cash as total_o37_80_0_, this_.userable as userabl38_80_0_, this_.version as version39_80_0_ from finance_account_log_8 this_ where this_.pay_type in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and this_.pay_uc_id=? and this_.status=? and this_.create_date between ? and ? and this_.id in (?) order by this_.ser_id desc ::: [[1, -9, -114, -112, -115, -100, -101, -109, -102, -117, -107, -116, -118, 103, 104, 108, -103, 105, 106, 107, -8, -120, 109, -999, -121, -41, 20135177197638921, 1, 2018-08-06 00:00:00.992, 2018-09-05 23:59:59.992, 1]]<br>
九月 05, 2018 2:11:08 下午 com.google.common.eventbus.EventBus$LoggingHandler handleException<br>
严重: Exception thrown by subscriber method listen(io.shardingsphere.core.transaction.event.TransactionEvent) on subscriber io.shardingsphere.core.transaction.listener.TransactionListener@3f00cd13 when dispatching event: io.shardingsphere.core.transaction.event.WeakXaTransactionEvent@7290d4fe<br>
java.lang.NullPointerException<br>
at io.shardingsphere.core.transaction.listener.TransactionListener.listen(TransactionListener.java:64)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:483)<br>
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:95)<br>
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:80)<br>
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456)<br>
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:76)<br>
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:119)<br>
at com.google.common.eventbus.EventBus.post(EventBus.java:215)<br>
at io.shardingsphere.core.jdbc.adapter.AbstractConnectionAdapter.commit(AbstractConnectionAdapter.java:96)<br>
at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.java:112)<br>
at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:180)<br>
at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:584)<br>
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)<br>
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)<br>
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:518)<br>
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:292)<br>
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)<br>
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)<br>
at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:73)<br>
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)<br>
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)<br>
at com.dayi35.core.finance.account.service.impl.AccountLogServiceImpl$$EnhancerBySpringCGLIB$$51b4a3e9.searchAccountLogBySysBusiness()<br>
at com.dayi35.controller.finance.pcV2.per.PcV2PerAccountController.getLogList(PcV2PerAccountController.java:508)<br>
at com.dayi35.controller.finance.pcV2.per.PcV2PerAccountController.tradeLog(PcV2PerAccountController.java:111)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:483)<br>
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)<br>
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)<br>
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)<br>
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)<br>
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)<br>
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)<br>
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)<br>
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)<br>
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)<br>
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)<br>
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br>
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)<br>
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:215)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201)<br>
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at com.dayi35.core.spot.common.filter.XssFilter.doFilter(XssFilter.java:57)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at com.dayi35.core.spot.common.filter.EmojiFilter.doFilter(EmojiFilter.java:23)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:151)<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)<br>
at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:151)<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)<br>
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1634)<br>
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)<br>
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)<br>
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)<br>
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)<br>
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)<br>
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)<br>
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)<br>
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)<br>
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)<br>
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)<br>
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)<br>
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)<br>
at org.eclipse.jetty.server.Server.handle(Server.java:531)<br>
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)<br>
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)<br>
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)<br>
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)<br>
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)<br>
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)<br>
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)<br>
at java.lang.Thread.run(Thread.java:744)</p>