Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different result between localhost and the server

 
Rizvan Asgarov
Ranch Hand
Posts: 462
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,

The report worked properly after connection to the project by localhost... But when compiling the same project and deploying the war file to the server then i couldn't get the report.
So looking at logs, i saw the following errors:

2011-08-12 18:26:03,343 [TP-Processor12] INFO ValidationBusiness r_asgarov - Starting validation scenario ...
2011-08-12 18:26:03,344 [TP-Processor12] ERROR DomainAction r_asgarov - java.lang.NullPointerException
2011-08-12 18:26:03,344 [TP-Processor12] INFO DomainAction r_asgarov - Action az.sar.action.FinishStoreReportConditionsAction complete
2011-08-12 18:26:03,346 [TP-Processor12] DEBUG DictionaryImpl r_asgarov - Loading dictionary: az.dictionaries.strategy.ExtMessagesMenuOperationDictionaryStrategy
2011-08-12 18:26:03,375 [TP-Processor12] DEBUG DictionaryMapper r_asgarov - Query: SELECT ID, VALUE, owner_id, configuration_id, configuration_key, priority, action_uri, style_class, link_options, image_path, state, insert_timestamp, update_timestamp, update_status, update_user_id, ap_name, LEVEL menu_level FROM riz_dictionaries.fd_v_menu_operation WHERE state = 1 AND configuration_id = 18 START WITH ID = owner_id CONNECT BY PRIOR ID = owner_id AND ID != owner_id ORDER BY configuration_id, priority
2011-08-12 18:26:03,402 [TP-Processor12] DEBUG DictionaryImpl r_asgarov - Loading dictionary: az.dictionaries.model.DictionaryImpl complete. Record count: 2

2011-08-12 18:26:03,404 [TP-Processor12] ERROR BaseComponentGeneratorStrategy r_asgarov - java.lang.reflect.InvocationTargetException: Cannot set value
2011-08-12 18:26:03,406 [TP-Processor12] ERROR BaseComponentGeneratorStrategy r_asgarov - java.lang.reflect.InvocationTargetException: Cannot set value
2011-08-12 18:26:03,774 [TP-Processor8] INFO DomainAction - Action az.staff.action.ExecuteCheckNewMessageAction started...
2011-08-12 18:26:03,803 [TP-Processor8] DEBUG ObjectAbstractMapper r_asgarov - Query: SELECT ID, fk_message_template_id, fk_user_id, message_date, subject, message_from, MESSAGE, fk_urgent_type, fk_message_importance, is_archived, state, insert_timestamp, update_timestamp, update_status, update_user_id, mt_fk_message_type, mt_fk_message_group, mt_message_template,IS_OPENED FROM riz_utility.fu_v_message_box WHERE state!=2 and IS_OPENED=0 and FK_USER_ID = fa_pkg_admin_tools.get_user_id
2011-08-12 18:26:03,836 [TP-Processor8] DEBUG FindAbstractMapper r_asgarov - Query: SELECT count(*) message_count FROM RIZ_UTILITY.FU_MESSAGE_BOX F where state!=2 and IS_OPENED=0 and FK_USER_ID =fa_pkg_admin_tools.get_user_id
2011-08-12 18:26:03,838 [TP-Processor8] INFO DomainAction - Action az.staff.action.ExecuteCheckNewMessageAction complete
2011-08-12 18:26:03,896 [TP-Processor2] INFO DomainAction - Action az.share.action.ExecuteGetMessageListAction started...
2011-08-12 18:26:03,925 [TP-Processor2] DEBUG ObjectAbstractMapper r_asgarov - Query: select 1 id, 1 state,not_open_count,MT_FK_MESSAGE_GROUP,all_count, MG.VALUE mg_value,IS_ARCHIVED from ( SELECT COUNT ( * ) - SUM (F.IS_OPENED) not_open_count, f.MT_FK_MESSAGE_GROUP, IS_ARCHIVED, COUNT ( * ) all_count FROM RIZ_UTILITY.FU_v_MESSAGE_BOX F WHERE f.state!=2 and F.FK_USER_ID = fa_pkg_admin_tools.get_user_id GROUP BY f.MT_FK_MESSAGE_GROUP, IS_ARCHIVED ) mes join RIZ_DICTIONARIES.FD_MESSAGE_GROUP mg on mes.MT_FK_MESSAGE_GROUP=mg.id order by mg.priority
2011-08-12 18:26:03,956 [TP-Processor2] DEBUG ObjectAbstractMapper r_asgarov - Query: SELECT ID, fk_message_template_id, fk_user_id, message_date, subject, message_from, MESSAGE, fk_urgent_type, fk_message_importance, is_archived, state, insert_timestamp, update_timestamp, update_status, update_user_id, mt_fk_message_type, mt_fk_message_group, mt_message_template,IS_OPENED FROM riz_utility.fu_v_message_box WHERE state!=2 and MT_FK_MESSAGE_GROUP=:message_group and FK_USER_ID =fa_pkg_admin_tools.get_user_id and is_archived=:is_archived
2011-08-12 18:26:03,956 [TP-Processor2] DEBUG ObjectAbstractMapper r_asgarov - Parameter 1: 1
2011-08-12 18:26:03,956 [TP-Processor2] DEBUG ObjectAbstractMapper r_asgarov - Parameter 2: 0
2011-08-12 18:26:03,959 [TP-Processor2] INFO DomainAction - Action az.share.action.ExecuteGetMessageListAction complete

Any help would be appreciated...
Thanks in advance,
Rizvan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic