Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error key : user.not.found with params [null]
- at org.jleaf.common.bo.user.FindUserByIndex.execute(FindUserByIndex.java:79)
- at org.jleaf.pos2.bo.employee.AddEmployeeJob.prepare(AddEmployeeJob.java:119)
- at org.jleaf.core.AbstractBusinessTransaction.execute(AbstractBusinessTransaction.java:40)
- at org.jleaf.core.DefaultBusinessTransaction.execute(DefaultBusinessTransaction.java:46)
- 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:597)
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
- at $Proxy73.execute(Unknown Source)
- at org.jleaf.pos2.test.employee.TestAddEmployeeJob.testSucces(TestAddEmployeeJob.java:75)
- 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:597)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
- at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
- at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
- at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
- at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
- 2016-09-02 10:19:29.135 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_employee_job
- 2016-09-02 10:19:29.138 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_partner
- 2016-09-02 10:19:29.141 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 2 rows from table t_user
- 2016-09-02 10:19:29.144 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 14 rows from table t_combo
- 2016-09-02 10:19:29.148 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 57 rows from table t_combo_value
- 2016-09-02 10:19:29.148 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [scripts/TestAddEmployeeJob.sql]
- 2016-09-02 10:19:29.154 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL: INSERT INTO m_employee_job(
- partner_code, employee_job, username,
- version, create_datetime, create_username,
- update_datetime, update_username)
- VALUES ('DESINTA', 'PURCH', 'Desinta',
- 1, '20160729000000','Nadia',
- '20160729000000', 'Nadia'),
- ('NADIA', 'SALES', 'Nadia',
- 2, '20160808000000','Desinta',
- '20160808000000', 'Desinta')
- 2016-09-02 10:19:29.158 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
- INSERT INTO m_partner(
- partner_code, partner_name, flg_customer, flg_supplier, flg_employee,
- address1, address2, city, state_or_province, zip_code, country,
- phone1, phone2, fax1, fax2, email, rating, default_gross_sell_price,
- default_gross_buy_price, active, active_datetime, non_active_datetime,
- version, create_datetime, create_username, update_datetime, update_username)
- VALUES ('DESINTA', 'IKA', 'Y', 'Y', 'Y',
- 'Pamulang Timur', 'Pamulang', 'Tangerang', 'Banten','15417', 'Indonesia',
- '0217413971','087809002724','0217413971','','adit@yahoo.com', 5, 9.5,
- 9.5, 'Y','20160523000000', ' ',
- 0,'20160523000000', 'Nadia', '20160524000000', 'Nadia'),
- ('NADIA', 'RESKY', 'Y', 'Y', 'Y',
- 'Pamulang Barat', 'Pamulang', 'Tangerang', 'Banten','15427', 'Indonesia',
- '0217413971','087809002724','0217413971','','nadia@yahoo.com', 5, 9.5,
- 9.5, 'Y','20160523000000', ' ',
- 0,'20160523000000', 'Desinta', '20160524000000', 'Desinta')
- 2016-09-02 10:19:29.162 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
- INSERT INTO t_user(
- user_id, tenant_id, username, email, fullname, password, phone,
- role_default_id, private_key, create_datetime, create_user_id,
- update_datetime, update_user_id, version, active, active_datetime,
- non_active_datetime, ou_default_id, policy_default_id)
- VALUES (10, 10, 'Desinta', 'user1@gmail.com', 'User Satu', 'user1', '083464363',
- 10, '9457c7ca3ae0dc907ad1703c15287d5c', '20160419194303', -1,
- '20160419194303', -1, 2, 'Y', '20160419194303',
- '', 10, 10),
- (20, 20, 'Nadia', 'user2gmail.com', 'User Dua', 'user2', '083464364',
- 10, '9457c7ca3ae0dc907ad1703c15287d5d', '20160419194304', -1,
- '20160419194304', -1, 2, 'Y', '20160419194304',
- '', 20, 20)
- 2016-09-02 10:19:29.165 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 1 rows affected by SQL:
- INSERT INTO t_combo (
- combo_id, combo_name, description, combo_type,
- create_datetime, create_user_id, update_datetime, update_user_id,
- version )
- VALUES ('EMPLOYEEJOB', 'Combo Employee JOb', 'Constant Combo Employee Job', 'FIX',
- '20160726000000', -1, '20160726000000', -1,0 )
- 2016-09-02 10:19:29.169 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 3 rows affected by SQL:
- INSERT INTO t_combo_value(
- combo_id, code, prop_key, code_group,
- sort_no, create_datetime, create_user_id, update_datetime,
- update_user_id, "version")
- VALUES('EMPLOYEEJOB', 'SALES', 'Sales', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 ),
- ('EMPLOYEEJOB', 'PURCH', 'Purch', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 ),
- ('EMPLOYEEJOB', 'FINANCE', 'Finance', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 )
- 2016-09-02 10:19:29.169 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:167 - Done executing SQL scriptBuilder from class path resource [scripts/TestAddEmployeeJob.sql] in 20 ms.
- Hibernate: select partner0_.partner_code as partner1_6_0_, partner0_.create_datetime as create2_6_0_, partner0_.create_username as create3_6_0_, partner0_.update_datetime as update4_6_0_, partner0_.update_username as update5_6_0_, partner0_.version as version6_0_, partner0_.active as active6_0_, partner0_.active_datetime as active8_6_0_, partner0_.non_active_datetime as non9_6_0_, partner0_.address1 as address10_6_0_, partner0_.address2 as address11_6_0_, partner0_.city as city6_0_, partner0_.country as country6_0_, partner0_.default_gross_buy_price as default14_6_0_, partner0_.default_gross_sell_price as default15_6_0_, partner0_.email as email6_0_, partner0_.fax1 as fax17_6_0_, partner0_.fax2 as fax18_6_0_, partner0_.flg_customer as flg19_6_0_, partner0_.flg_employee as flg20_6_0_, partner0_.flg_supplier as flg21_6_0_, partner0_.partner_name as partner22_6_0_, partner0_.phone1 as phone23_6_0_, partner0_.phone2 as phone24_6_0_, partner0_.rating as rating6_0_, partner0_.state_or_province as state26_6_0_, partner0_.zip_code as zip27_6_0_ from m_partner partner0_ where partner0_.partner_code=?
- Hibernate: select combo0_.combo_id as combo1_19_0_, combo0_.create_datetime as create2_19_0_, combo0_.create_user_id as create3_19_0_, combo0_.update_datetime as update4_19_0_, combo0_.update_user_id as update5_19_0_, combo0_.version as version19_0_, combo0_.combo_type as combo7_19_0_, combo0_.description as descript8_19_0_, combo0_.main_sql as main9_19_0_, combo0_.combo_name as combo10_19_0_, combo0_.order_sql as order11_19_0_ from t_combo combo0_ where combo0_.combo_id=?
- Hibernate: select combovalue0_.code as code20_0_, combovalue0_.combo_id as combo2_20_0_, combovalue0_.create_datetime as create3_20_0_, combovalue0_.create_user_id as create4_20_0_, combovalue0_.update_datetime as update5_20_0_, combovalue0_.update_user_id as update6_20_0_, combovalue0_.version as version20_0_, combovalue0_.code_group as code8_20_0_, combovalue0_.prop_key as prop9_20_0_, combovalue0_.sort_no as sort10_20_0_ from t_combo_value combovalue0_ where combovalue0_.code=? and combovalue0_.combo_id=?
- Hibernate: select user0_.user_id as user1_18_, user0_.create_datetime as create2_18_, user0_.create_user_id as create3_18_, user0_.update_datetime as update4_18_, user0_.update_user_id as update5_18_, user0_.version as version18_, user0_.active as active18_, user0_.active_datetime as active8_18_, user0_.non_active_datetime as non9_18_, user0_.email as email18_, user0_.fullname as fullname18_, user0_.username as username18_, user0_.ou_default_id as ou13_18_, user0_.password as password18_, user0_.phone as phone18_, user0_.policy_default_id as policy16_18_, user0_.private_key as private17_18_, user0_.role_default_id as role18_18_, user0_.tenant_id as tenant19_18_ from t_user user0_ where user0_.username=?
- 2016-09-02 10:19:29.190 [DEBUG] org.jleaf.pos2.test.employee.TestAddEmployeeJob:123 - Masuk core exception
- 2016-09-02 10:19:29.200 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_employee_job
- 2016-09-02 10:19:29.208 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_partner
- 2016-09-02 10:19:29.211 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 2 rows from table t_user
- 2016-09-02 10:19:29.213 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 14 rows from table t_combo
- 2016-09-02 10:19:29.216 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 57 rows from table t_combo_value
- 2016-09-02 10:19:29.218 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [scripts/TestAddEmployeeJob.sql]
- 2016-09-02 10:19:29.221 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL: INSERT INTO m_employee_job(
- partner_code, employee_job, username,
- version, create_datetime, create_username,
- update_datetime, update_username)
- VALUES ('DESINTA', 'PURCH', 'Desinta',
- 1, '20160729000000','Nadia',
- '20160729000000', 'Nadia'),
- ('NADIA', 'SALES', 'Nadia',
- 2, '20160808000000','Desinta',
- '20160808000000', 'Desinta')
- 2016-09-02 10:19:29.225 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
- INSERT INTO m_partner(
- partner_code, partner_name, flg_customer, flg_supplier, flg_employee,
- address1, address2, city, state_or_province, zip_code, country,
- phone1, phone2, fax1, fax2, email, rating, default_gross_sell_price,
- default_gross_buy_price, active, active_datetime, non_active_datetime,
- version, create_datetime, create_username, update_datetime, update_username)
- VALUES ('DESINTA', 'IKA', 'Y', 'Y', 'Y',
- 'Pamulang Timur', 'Pamulang', 'Tangerang', 'Banten','15417', 'Indonesia',
- '0217413971','087809002724','0217413971','','adit@yahoo.com', 5, 9.5,
- 9.5, 'Y','20160523000000', ' ',
- 0,'20160523000000', 'Nadia', '20160524000000', 'Nadia'),
- ('NADIA', 'RESKY', 'Y', 'Y', 'Y',
- 'Pamulang Barat', 'Pamulang', 'Tangerang', 'Banten','15427', 'Indonesia',
- '0217413971','087809002724','0217413971','','nadia@yahoo.com', 5, 9.5,
- 9.5, 'Y','20160523000000', ' ',
- 0,'20160523000000', 'Desinta', '20160524000000', 'Desinta')
- 2016-09-02 10:19:29.228 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
- INSERT INTO t_user(
- user_id, tenant_id, username, email, fullname, password, phone,
- role_default_id, private_key, create_datetime, create_user_id,
- update_datetime, update_user_id, version, active, active_datetime,
- non_active_datetime, ou_default_id, policy_default_id)
- VALUES (10, 10, 'Desinta', 'user1@gmail.com', 'User Satu', 'user1', '083464363',
- 10, '9457c7ca3ae0dc907ad1703c15287d5c', '20160419194303', -1,
- '20160419194303', -1, 2, 'Y', '20160419194303',
- '', 10, 10),
- (20, 20, 'Nadia', 'user2gmail.com', 'User Dua', 'user2', '083464364',
- 10, '9457c7ca3ae0dc907ad1703c15287d5d', '20160419194304', -1,
- '20160419194304', -1, 2, 'Y', '20160419194304',
- '', 20, 20)
- 2016-09-02 10:19:29.231 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 1 rows affected by SQL:
- INSERT INTO t_combo (
- combo_id, combo_name, description, combo_type,
- create_datetime, create_user_id, update_datetime, update_user_id,
- version )
- VALUES ('EMPLOYEEJOB', 'Combo Employee JOb', 'Constant Combo Employee Job', 'FIX',
- '20160726000000', -1, '20160726000000', -1,0 )
- 2016-09-02 10:19:29.234 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 3 rows affected by SQL:
- INSERT INTO t_combo_value(
- combo_id, code, prop_key, code_group,
- sort_no, create_datetime, create_user_id, update_datetime,
- update_user_id, "version")
- VALUES('EMPLOYEEJOB', 'SALES', 'Sales', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 ),
- ('EMPLOYEEJOB', 'PURCH', 'Purch', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 ),
- ('EMPLOYEEJOB', 'FINANCE', 'Finance', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 )
- 2016-09-02 10:19:29.235 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:167 - Done executing SQL scriptBuilder from class path resource [scripts/TestAddEmployeeJob.sql] in 17 ms.
- Hibernate: select partner0_.partner_code as partner1_6_0_, partner0_.create_datetime as create2_6_0_, partner0_.create_username as create3_6_0_, partner0_.update_datetime as update4_6_0_, partner0_.update_username as update5_6_0_, partner0_.version as version6_0_, partner0_.active as active6_0_, partner0_.active_datetime as active8_6_0_, partner0_.non_active_datetime as non9_6_0_, partner0_.address1 as address10_6_0_, partner0_.address2 as address11_6_0_, partner0_.city as city6_0_, partner0_.country as country6_0_, partner0_.default_gross_buy_price as default14_6_0_, partner0_.default_gross_sell_price as default15_6_0_, partner0_.email as email6_0_, partner0_.fax1 as fax17_6_0_, partner0_.fax2 as fax18_6_0_, partner0_.flg_customer as flg19_6_0_, partner0_.flg_employee as flg20_6_0_, partner0_.flg_supplier as flg21_6_0_, partner0_.partner_name as partner22_6_0_, partner0_.phone1 as phone23_6_0_, partner0_.phone2 as phone24_6_0_, partner0_.rating as rating6_0_, partner0_.state_or_province as state26_6_0_, partner0_.zip_code as zip27_6_0_ from m_partner partner0_ where partner0_.partner_code=?
- Hibernate: select combo0_.combo_id as combo1_19_0_, combo0_.create_datetime as create2_19_0_, combo0_.create_user_id as create3_19_0_, combo0_.update_datetime as update4_19_0_, combo0_.update_user_id as update5_19_0_, combo0_.version as version19_0_, combo0_.combo_type as combo7_19_0_, combo0_.description as descript8_19_0_, combo0_.main_sql as main9_19_0_, combo0_.combo_name as combo10_19_0_, combo0_.order_sql as order11_19_0_ from t_combo combo0_ where combo0_.combo_id=?
- Hibernate: select combovalue0_.code as code20_0_, combovalue0_.combo_id as combo2_20_0_, combovalue0_.create_datetime as create3_20_0_, combovalue0_.create_user_id as create4_20_0_, combovalue0_.update_datetime as update5_20_0_, combovalue0_.update_user_id as update6_20_0_, combovalue0_.version as version20_0_, combovalue0_.code_group as code8_20_0_, combovalue0_.prop_key as prop9_20_0_, combovalue0_.sort_no as sort10_20_0_ from t_combo_value combovalue0_ where combovalue0_.code=? and combovalue0_.combo_id=?
- 2016-09-02 10:19:29.260 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_employee_job
- 2016-09-02 10:19:29.263 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_partner
- 2016-09-02 10:19:29.266 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 2 rows from table t_user
- 2016-09-02 10:19:29.269 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 14 rows from table t_combo
- 2016-09-02 10:19:29.273 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 57 rows from table t_combo_value
- 2016-09-02 10:19:29.273 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [scripts/TestAddEmployeeJob.sql]
- 2016-09-02 10:19:29.277 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL: INSERT INTO m_employee_job(
- partner_code, employee_job, username,
- version, create_datetime, create_username,
- update_datetime, update_username)
- VALUES ('DESINTA', 'PURCH', 'Desinta',
- 1, '20160729000000','Nadia',
- '20160729000000', 'Nadia'),
- ('NADIA', 'SALES', 'Nadia',
- 2, '20160808000000','Desinta',
- '20160808000000', 'Desinta')
- 2016-09-02 10:19:29.281 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
- INSERT INTO m_partner(
- partner_code, partner_name, flg_customer, flg_supplier, flg_employee,
- address1, address2, city, state_or_province, zip_code, country,
- phone1, phone2, fax1, fax2, email, rating, default_gross_sell_price,
- default_gross_buy_price, active, active_datetime, non_active_datetime,
- version, create_datetime, create_username, update_datetime, update_username)
- VALUES ('DESINTA', 'IKA', 'Y', 'Y', 'Y',
- 'Pamulang Timur', 'Pamulang', 'Tangerang', 'Banten','15417', 'Indonesia',
- '0217413971','087809002724','0217413971','','adit@yahoo.com', 5, 9.5,
- 9.5, 'Y','20160523000000', ' ',
- 0,'20160523000000', 'Nadia', '20160524000000', 'Nadia'),
- ('NADIA', 'RESKY', 'Y', 'Y', 'Y',
- 'Pamulang Barat', 'Pamulang', 'Tangerang', 'Banten','15427', 'Indonesia',
- '0217413971','087809002724','0217413971','','nadia@yahoo.com', 5, 9.5,
- 9.5, 'Y','20160523000000', ' ',
- 0,'20160523000000', 'Desinta', '20160524000000', 'Desinta')
- 2016-09-02 10:19:29.286 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
- INSERT INTO t_user(
- user_id, tenant_id, username, email, fullname, password, phone,
- role_default_id, private_key, create_datetime, create_user_id,
- update_datetime, update_user_id, version, active, active_datetime,
- non_active_datetime, ou_default_id, policy_default_id)
- VALUES (10, 10, 'Desinta', 'user1@gmail.com', 'User Satu', 'user1', '083464363',
- 10, '9457c7ca3ae0dc907ad1703c15287d5c', '20160419194303', -1,
- '20160419194303', -1, 2, 'Y', '20160419194303',
- '', 10, 10),
- (20, 20, 'Nadia', 'user2gmail.com', 'User Dua', 'user2', '083464364',
- 10, '9457c7ca3ae0dc907ad1703c15287d5d', '20160419194304', -1,
- '20160419194304', -1, 2, 'Y', '20160419194304',
- '', 20, 20)
- 2016-09-02 10:19:29.289 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 1 rows affected by SQL:
- INSERT INTO t_combo (
- combo_id, combo_name, description, combo_type,
- create_datetime, create_user_id, update_datetime, update_user_id,
- version )
- VALUES ('EMPLOYEEJOB', 'Combo Employee JOb', 'Constant Combo Employee Job', 'FIX',
- '20160726000000', -1, '20160726000000', -1,0 )
- 2016-09-02 10:19:29.293 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 3 rows affected by SQL:
- INSERT INTO t_combo_value(
- combo_id, code, prop_key, code_group,
- sort_no, create_datetime, create_user_id, update_datetime,
- update_user_id, "version")
- VALUES('EMPLOYEEJOB', 'SALES', 'Sales', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 ),
- ('EMPLOYEEJOB', 'PURCH', 'Purch', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 ),
- ('EMPLOYEEJOB', 'FINANCE', 'Finance', 'EMPLOYEE',
- 1, '20160726000000', -1, '20160726000000',
- -1, 0 )
- 2016-09-02 10:19:29.294 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:167 - Done executing SQL scriptBuilder from class path resource [scripts/TestAddEmployeeJob.sql] in 20 ms.
- Hibernate: select partner0_.partner_code as partner1_6_0_, partner0_.create_datetime as create2_6_0_, partner0_.create_username as create3_6_0_, partner0_.update_datetime as update4_6_0_, partner0_.update_username as update5_6_0_, partner0_.version as version6_0_, partner0_.active as active6_0_, partner0_.active_datetime as active8_6_0_, partner0_.non_active_datetime as non9_6_0_, partner0_.address1 as address10_6_0_, partner0_.address2 as address11_6_0_, partner0_.city as city6_0_, partner0_.country as country6_0_, partner0_.default_gross_buy_price as default14_6_0_, partner0_.default_gross_sell_price as default15_6_0_, partner0_.email as email6_0_, partner0_.fax1 as fax17_6_0_, partner0_.fax2 as fax18_6_0_, partner0_.flg_customer as flg19_6_0_, partner0_.flg_employee as flg20_6_0_, partner0_.flg_supplier as flg21_6_0_, partner0_.partner_name as partner22_6_0_, partner0_.phone1 as phone23_6_0_, partner0_.phone2 as phone24_6_0_, partner0_.rating as rating6_0_, partner0_.state_or_province as state26_6_0_, partner0_.zip_code as zip27_6_0_ from m_partner partner0_ where partner0_.partner_code=?
- Hibernate: select combo0_.combo_id as combo1_19_0_, combo0_.create_datetime as create2_19_0_, combo0_.create_user_id as create3_19_0_, combo0_.update_datetime as update4_19_0_, combo0_.update_user_id as update5_19_0_, combo0_.version as version19_0_, combo0_.combo_type as combo7_19_0_, combo0_.description as descript8_19_0_, combo0_.main_sql as main9_19_0_, combo0_.combo_name as combo10_19_0_, combo0_.order_sql as order11_19_0_ from t_combo combo0_ where combo0_.combo_id=?
- Hibernate: select combovalue0_.code as code20_0_, combovalue0_.combo_id as combo2_20_0_, combovalue0_.create_datetime as create3_20_0_, combovalue0_.create_user_id as create4_20_0_, combovalue0_.update_datetime as update5_20_0_, combovalue0_.update_user_id as update6_20_0_, combovalue0_.version as version20_0_, combovalue0_.code_group as code8_20_0_, combovalue0_.prop_key as prop9_20_0_, combovalue0_.sort_no as sort10_20_0_ from t_combo_value combovalue0_ where combovalue0_.code=? and combovalue0_.combo_id=?
- Hibernate: select user0_.user_id as user1_18_, user0_.create_datetime as create2_18_, user0_.create_user_id as create3_18_, user0_.update_datetime as update4_18_, user0_.update_user_id as update5_18_, user0_.version as version18_, user0_.active as active18_, user0_.active_datetime as active8_18_, user0_.non_active_datetime as non9_18_, user0_.email as email18_, user0_.fullname as fullname18_, user0_.username as username18_, user0_.ou_default_id as ou13_18_, user0_.password as password18_, user0_.phone as phone18_, user0_.policy_default_id as policy16_18_, user0_.private_key as private17_18_, user0_.role_default_id as role18_18_, user0_.tenant_id as tenant19_18_ from t_user user0_ where user0_.username=?
- Hibernate: select employeejo0_.partner_code as partner1_54_0_, employeejo0_.create_datetime as create2_54_0_, employeejo0_.create_username as create3_54_0_, employeejo0_.update_datetime as update4_54_0_, employeejo0_.update_username as update5_54_0_, employeejo0_.version as version54_0_, employeejo0_.employee_job as employee7_54_0_, employeejo0_.username as username54_0_ from m_employee_job employeejo0_ where employeejo0_.partner_code =?
- 2016-09-02 10:19:29.328 [DEBUG] org.jleaf.pos2.bo.employee.AddEmployeeJob:127 - resultCheckUniqueDto : {"employeeJobDto":{"createUsername":"Nadia","createDateTime":"20160729000000","username":"Desinta","partnerCode":"DESINTA","employeeJob":"PURCH","updateDateTime":"20160729000000","updateUsername":"Nadia","version":1},"exists":true}
- 2016-09-02 10:19:29.328 [DEBUG] org.jleaf.pos2.test.employee.TestAddEmployeeJob:185 - Masuk core exceotion
- Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.21 sec <<< FAILURE! - in org.jleaf.pos2.test.employee.TestAddEmployeeJob
- testSucces(org.jleaf.pos2.test.employee.TestAddEmployeeJob) Time elapsed: 7.779 sec <<< FAILURE!
- java.lang.AssertionError:
- at org.junit.Assert.fail(Assert.java:91)
- at org.jleaf.pos2.test.employee.TestAddEmployeeJob.testSucces(TestAddEmployeeJob.java:96)
- Results :
- Failed tests:
- TestAddEmployeeJob.testSucces:96
- Tests run: 4, Failures: 1, Errors: 0, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 15.149s
- [INFO] Finished at: Fri Sep 02 10:19:29 WIT 2016
- [INFO] Final Memory: 18M/337M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project master-bo: There are test failures.
- [ERROR]
- [ERROR] Please refer to /home/sts/workspace4/master-bo-employee/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- sts@rifqi:~/workspace4/master-bo-employee$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement