Advertisement
rosandatiya

error again

Sep 1st, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.68 KB | None | 0 0
  1. Error key : user.not.found with params [null]
  2. at org.jleaf.common.bo.user.FindUserByIndex.execute(FindUserByIndex.java:79)
  3. at org.jleaf.pos2.bo.employee.AddEmployeeJob.prepare(AddEmployeeJob.java:119)
  4. at org.jleaf.core.AbstractBusinessTransaction.execute(AbstractBusinessTransaction.java:40)
  5. at org.jleaf.core.DefaultBusinessTransaction.execute(DefaultBusinessTransaction.java:46)
  6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  8. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  9. at java.lang.reflect.Method.invoke(Method.java:597)
  10. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  11. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  12. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  13. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  14. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  15. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  16. at $Proxy73.execute(Unknown Source)
  17. at org.jleaf.pos2.test.employee.TestAddEmployeeJob.testSucces(TestAddEmployeeJob.java:75)
  18. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  19. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  20. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  21. at java.lang.reflect.Method.invoke(Method.java:597)
  22. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  23. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  24. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  25. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  26. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  27. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  28. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  29. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  30. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  31. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  32. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  33. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  34. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  35. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  36. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  37. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  38. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  39. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  40. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  41. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
  42. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
  43. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
  44. at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
  45. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
  46. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
  47. 2016-09-02 10:19:29.135 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_employee_job
  48. 2016-09-02 10:19:29.138 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_partner
  49. 2016-09-02 10:19:29.141 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 2 rows from table t_user
  50. 2016-09-02 10:19:29.144 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 14 rows from table t_combo
  51. 2016-09-02 10:19:29.148 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 57 rows from table t_combo_value
  52. 2016-09-02 10:19:29.148 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [scripts/TestAddEmployeeJob.sql]
  53. 2016-09-02 10:19:29.154 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL: INSERT INTO m_employee_job(
  54. partner_code, employee_job, username,
  55. version, create_datetime, create_username,
  56. update_datetime, update_username)
  57. VALUES ('DESINTA', 'PURCH', 'Desinta',
  58. 1, '20160729000000','Nadia',
  59. '20160729000000', 'Nadia'),
  60. ('NADIA', 'SALES', 'Nadia',
  61. 2, '20160808000000','Desinta',
  62. '20160808000000', 'Desinta')
  63. 2016-09-02 10:19:29.158 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
  64. INSERT INTO m_partner(
  65. partner_code, partner_name, flg_customer, flg_supplier, flg_employee,
  66. address1, address2, city, state_or_province, zip_code, country,
  67. phone1, phone2, fax1, fax2, email, rating, default_gross_sell_price,
  68. default_gross_buy_price, active, active_datetime, non_active_datetime,
  69. version, create_datetime, create_username, update_datetime, update_username)
  70. VALUES ('DESINTA', 'IKA', 'Y', 'Y', 'Y',
  71. 'Pamulang Timur', 'Pamulang', 'Tangerang', 'Banten','15417', 'Indonesia',
  72. '0217413971','087809002724','0217413971','','adit@yahoo.com', 5, 9.5,
  73. 9.5, 'Y','20160523000000', ' ',
  74. 0,'20160523000000', 'Nadia', '20160524000000', 'Nadia'),
  75. ('NADIA', 'RESKY', 'Y', 'Y', 'Y',
  76. 'Pamulang Barat', 'Pamulang', 'Tangerang', 'Banten','15427', 'Indonesia',
  77. '0217413971','087809002724','0217413971','','nadia@yahoo.com', 5, 9.5,
  78. 9.5, 'Y','20160523000000', ' ',
  79. 0,'20160523000000', 'Desinta', '20160524000000', 'Desinta')
  80. 2016-09-02 10:19:29.162 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
  81. INSERT INTO t_user(
  82. user_id, tenant_id, username, email, fullname, password, phone,
  83. role_default_id, private_key, create_datetime, create_user_id,
  84. update_datetime, update_user_id, version, active, active_datetime,
  85. non_active_datetime, ou_default_id, policy_default_id)
  86. VALUES (10, 10, 'Desinta', 'user1@gmail.com', 'User Satu', 'user1', '083464363',
  87. 10, '9457c7ca3ae0dc907ad1703c15287d5c', '20160419194303', -1,
  88. '20160419194303', -1, 2, 'Y', '20160419194303',
  89. '', 10, 10),
  90. (20, 20, 'Nadia', 'user2gmail.com', 'User Dua', 'user2', '083464364',
  91. 10, '9457c7ca3ae0dc907ad1703c15287d5d', '20160419194304', -1,
  92. '20160419194304', -1, 2, 'Y', '20160419194304',
  93. '', 20, 20)
  94. 2016-09-02 10:19:29.165 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 1 rows affected by SQL:
  95. INSERT INTO t_combo (
  96. combo_id, combo_name, description, combo_type,
  97. create_datetime, create_user_id, update_datetime, update_user_id,
  98. version )
  99. VALUES ('EMPLOYEEJOB', 'Combo Employee JOb', 'Constant Combo Employee Job', 'FIX',
  100. '20160726000000', -1, '20160726000000', -1,0 )
  101. 2016-09-02 10:19:29.169 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 3 rows affected by SQL:
  102. INSERT INTO t_combo_value(
  103. combo_id, code, prop_key, code_group,
  104. sort_no, create_datetime, create_user_id, update_datetime,
  105. update_user_id, "version")
  106. VALUES('EMPLOYEEJOB', 'SALES', 'Sales', 'EMPLOYEE',
  107. 1, '20160726000000', -1, '20160726000000',
  108. -1, 0 ),
  109. ('EMPLOYEEJOB', 'PURCH', 'Purch', 'EMPLOYEE',
  110. 1, '20160726000000', -1, '20160726000000',
  111. -1, 0 ),
  112. ('EMPLOYEEJOB', 'FINANCE', 'Finance', 'EMPLOYEE',
  113. 1, '20160726000000', -1, '20160726000000',
  114. -1, 0 )
  115. 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.
  116. 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=?
  117. 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=?
  118. 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=?
  119. 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=?
  120. 2016-09-02 10:19:29.190 [DEBUG] org.jleaf.pos2.test.employee.TestAddEmployeeJob:123 - Masuk core exception
  121. 2016-09-02 10:19:29.200 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_employee_job
  122. 2016-09-02 10:19:29.208 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_partner
  123. 2016-09-02 10:19:29.211 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 2 rows from table t_user
  124. 2016-09-02 10:19:29.213 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 14 rows from table t_combo
  125. 2016-09-02 10:19:29.216 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 57 rows from table t_combo_value
  126. 2016-09-02 10:19:29.218 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [scripts/TestAddEmployeeJob.sql]
  127. 2016-09-02 10:19:29.221 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL: INSERT INTO m_employee_job(
  128. partner_code, employee_job, username,
  129. version, create_datetime, create_username,
  130. update_datetime, update_username)
  131. VALUES ('DESINTA', 'PURCH', 'Desinta',
  132. 1, '20160729000000','Nadia',
  133. '20160729000000', 'Nadia'),
  134. ('NADIA', 'SALES', 'Nadia',
  135. 2, '20160808000000','Desinta',
  136. '20160808000000', 'Desinta')
  137. 2016-09-02 10:19:29.225 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
  138. INSERT INTO m_partner(
  139. partner_code, partner_name, flg_customer, flg_supplier, flg_employee,
  140. address1, address2, city, state_or_province, zip_code, country,
  141. phone1, phone2, fax1, fax2, email, rating, default_gross_sell_price,
  142. default_gross_buy_price, active, active_datetime, non_active_datetime,
  143. version, create_datetime, create_username, update_datetime, update_username)
  144. VALUES ('DESINTA', 'IKA', 'Y', 'Y', 'Y',
  145. 'Pamulang Timur', 'Pamulang', 'Tangerang', 'Banten','15417', 'Indonesia',
  146. '0217413971','087809002724','0217413971','','adit@yahoo.com', 5, 9.5,
  147. 9.5, 'Y','20160523000000', ' ',
  148. 0,'20160523000000', 'Nadia', '20160524000000', 'Nadia'),
  149. ('NADIA', 'RESKY', 'Y', 'Y', 'Y',
  150. 'Pamulang Barat', 'Pamulang', 'Tangerang', 'Banten','15427', 'Indonesia',
  151. '0217413971','087809002724','0217413971','','nadia@yahoo.com', 5, 9.5,
  152. 9.5, 'Y','20160523000000', ' ',
  153. 0,'20160523000000', 'Desinta', '20160524000000', 'Desinta')
  154. 2016-09-02 10:19:29.228 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
  155. INSERT INTO t_user(
  156. user_id, tenant_id, username, email, fullname, password, phone,
  157. role_default_id, private_key, create_datetime, create_user_id,
  158. update_datetime, update_user_id, version, active, active_datetime,
  159. non_active_datetime, ou_default_id, policy_default_id)
  160. VALUES (10, 10, 'Desinta', 'user1@gmail.com', 'User Satu', 'user1', '083464363',
  161. 10, '9457c7ca3ae0dc907ad1703c15287d5c', '20160419194303', -1,
  162. '20160419194303', -1, 2, 'Y', '20160419194303',
  163. '', 10, 10),
  164. (20, 20, 'Nadia', 'user2gmail.com', 'User Dua', 'user2', '083464364',
  165. 10, '9457c7ca3ae0dc907ad1703c15287d5d', '20160419194304', -1,
  166. '20160419194304', -1, 2, 'Y', '20160419194304',
  167. '', 20, 20)
  168. 2016-09-02 10:19:29.231 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 1 rows affected by SQL:
  169. INSERT INTO t_combo (
  170. combo_id, combo_name, description, combo_type,
  171. create_datetime, create_user_id, update_datetime, update_user_id,
  172. version )
  173. VALUES ('EMPLOYEEJOB', 'Combo Employee JOb', 'Constant Combo Employee Job', 'FIX',
  174. '20160726000000', -1, '20160726000000', -1,0 )
  175. 2016-09-02 10:19:29.234 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 3 rows affected by SQL:
  176. INSERT INTO t_combo_value(
  177. combo_id, code, prop_key, code_group,
  178. sort_no, create_datetime, create_user_id, update_datetime,
  179. update_user_id, "version")
  180. VALUES('EMPLOYEEJOB', 'SALES', 'Sales', 'EMPLOYEE',
  181. 1, '20160726000000', -1, '20160726000000',
  182. -1, 0 ),
  183. ('EMPLOYEEJOB', 'PURCH', 'Purch', 'EMPLOYEE',
  184. 1, '20160726000000', -1, '20160726000000',
  185. -1, 0 ),
  186. ('EMPLOYEEJOB', 'FINANCE', 'Finance', 'EMPLOYEE',
  187. 1, '20160726000000', -1, '20160726000000',
  188. -1, 0 )
  189. 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.
  190. 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=?
  191. 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=?
  192. 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=?
  193. 2016-09-02 10:19:29.260 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_employee_job
  194. 2016-09-02 10:19:29.263 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 0 rows from table m_partner
  195. 2016-09-02 10:19:29.266 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 2 rows from table t_user
  196. 2016-09-02 10:19:29.269 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 14 rows from table t_combo
  197. 2016-09-02 10:19:29.273 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:71 - Deleted 57 rows from table t_combo_value
  198. 2016-09-02 10:19:29.273 [INFO] org.springframework.test.jdbc.SimpleJdbcTestUtils:133 - Executing SQL script from class path resource [scripts/TestAddEmployeeJob.sql]
  199. 2016-09-02 10:19:29.277 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL: INSERT INTO m_employee_job(
  200. partner_code, employee_job, username,
  201. version, create_datetime, create_username,
  202. update_datetime, update_username)
  203. VALUES ('DESINTA', 'PURCH', 'Desinta',
  204. 1, '20160729000000','Nadia',
  205. '20160729000000', 'Nadia'),
  206. ('NADIA', 'SALES', 'Nadia',
  207. 2, '20160808000000','Desinta',
  208. '20160808000000', 'Desinta')
  209. 2016-09-02 10:19:29.281 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
  210. INSERT INTO m_partner(
  211. partner_code, partner_name, flg_customer, flg_supplier, flg_employee,
  212. address1, address2, city, state_or_province, zip_code, country,
  213. phone1, phone2, fax1, fax2, email, rating, default_gross_sell_price,
  214. default_gross_buy_price, active, active_datetime, non_active_datetime,
  215. version, create_datetime, create_username, update_datetime, update_username)
  216. VALUES ('DESINTA', 'IKA', 'Y', 'Y', 'Y',
  217. 'Pamulang Timur', 'Pamulang', 'Tangerang', 'Banten','15417', 'Indonesia',
  218. '0217413971','087809002724','0217413971','','adit@yahoo.com', 5, 9.5,
  219. 9.5, 'Y','20160523000000', ' ',
  220. 0,'20160523000000', 'Nadia', '20160524000000', 'Nadia'),
  221. ('NADIA', 'RESKY', 'Y', 'Y', 'Y',
  222. 'Pamulang Barat', 'Pamulang', 'Tangerang', 'Banten','15427', 'Indonesia',
  223. '0217413971','087809002724','0217413971','','nadia@yahoo.com', 5, 9.5,
  224. 9.5, 'Y','20160523000000', ' ',
  225. 0,'20160523000000', 'Desinta', '20160524000000', 'Desinta')
  226. 2016-09-02 10:19:29.286 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 2 rows affected by SQL:
  227. INSERT INTO t_user(
  228. user_id, tenant_id, username, email, fullname, password, phone,
  229. role_default_id, private_key, create_datetime, create_user_id,
  230. update_datetime, update_user_id, version, active, active_datetime,
  231. non_active_datetime, ou_default_id, policy_default_id)
  232. VALUES (10, 10, 'Desinta', 'user1@gmail.com', 'User Satu', 'user1', '083464363',
  233. 10, '9457c7ca3ae0dc907ad1703c15287d5c', '20160419194303', -1,
  234. '20160419194303', -1, 2, 'Y', '20160419194303',
  235. '', 10, 10),
  236. (20, 20, 'Nadia', 'user2gmail.com', 'User Dua', 'user2', '083464364',
  237. 10, '9457c7ca3ae0dc907ad1703c15287d5d', '20160419194304', -1,
  238. '20160419194304', -1, 2, 'Y', '20160419194304',
  239. '', 20, 20)
  240. 2016-09-02 10:19:29.289 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 1 rows affected by SQL:
  241. INSERT INTO t_combo (
  242. combo_id, combo_name, description, combo_type,
  243. create_datetime, create_user_id, update_datetime, update_user_id,
  244. version )
  245. VALUES ('EMPLOYEEJOB', 'Combo Employee JOb', 'Constant Combo Employee Job', 'FIX',
  246. '20160726000000', -1, '20160726000000', -1,0 )
  247. 2016-09-02 10:19:29.293 [DEBUG] org.springframework.test.jdbc.SimpleJdbcTestUtils:151 - 3 rows affected by SQL:
  248. INSERT INTO t_combo_value(
  249. combo_id, code, prop_key, code_group,
  250. sort_no, create_datetime, create_user_id, update_datetime,
  251. update_user_id, "version")
  252. VALUES('EMPLOYEEJOB', 'SALES', 'Sales', 'EMPLOYEE',
  253. 1, '20160726000000', -1, '20160726000000',
  254. -1, 0 ),
  255. ('EMPLOYEEJOB', 'PURCH', 'Purch', 'EMPLOYEE',
  256. 1, '20160726000000', -1, '20160726000000',
  257. -1, 0 ),
  258. ('EMPLOYEEJOB', 'FINANCE', 'Finance', 'EMPLOYEE',
  259. 1, '20160726000000', -1, '20160726000000',
  260. -1, 0 )
  261. 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.
  262. 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=?
  263. 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=?
  264. 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=?
  265. 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=?
  266. 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 =?
  267. 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}
  268. 2016-09-02 10:19:29.328 [DEBUG] org.jleaf.pos2.test.employee.TestAddEmployeeJob:185 - Masuk core exceotion
  269. Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.21 sec <<< FAILURE! - in org.jleaf.pos2.test.employee.TestAddEmployeeJob
  270. testSucces(org.jleaf.pos2.test.employee.TestAddEmployeeJob) Time elapsed: 7.779 sec <<< FAILURE!
  271. java.lang.AssertionError:
  272. at org.junit.Assert.fail(Assert.java:91)
  273. at org.jleaf.pos2.test.employee.TestAddEmployeeJob.testSucces(TestAddEmployeeJob.java:96)
  274.  
  275.  
  276. Results :
  277.  
  278. Failed tests:
  279. TestAddEmployeeJob.testSucces:96
  280.  
  281. Tests run: 4, Failures: 1, Errors: 0, Skipped: 0
  282.  
  283. [INFO] ------------------------------------------------------------------------
  284. [INFO] BUILD FAILURE
  285. [INFO] ------------------------------------------------------------------------
  286. [INFO] Total time: 15.149s
  287. [INFO] Finished at: Fri Sep 02 10:19:29 WIT 2016
  288. [INFO] Final Memory: 18M/337M
  289. [INFO] ------------------------------------------------------------------------
  290. [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.
  291. [ERROR]
  292. [ERROR] Please refer to /home/sts/workspace4/master-bo-employee/target/surefire-reports for the individual test results.
  293. [ERROR] -> [Help 1]
  294. [ERROR]
  295. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  296. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  297. [ERROR]
  298. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  299. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  300. sts@rifqi:~/workspace4/master-bo-employee$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement