Description of problem: A 'java.lang.NoClassDefFoundError: twitter4j/TwitterException' occurs when creating a new Alert Definition using Twitter plugin Version-Release number of selected component (if applicable): RHQ 4.1 How reproducible: Create a new Alert Definition and choose Twitter from the list. Steps to Reproduce: 1. 2. 3. Actual results: Message : Failed to get notification configuration preview Severity : Error Time : Sunday, October 2, 2011 6:01:58 PM Etc/GMT+3 Detail : java.lang.RuntimeException:[1317589318536] javax.ejb.EJBException:java.lang.RuntimeException: java.lang.NoClassDefFoundError: twitter4j/TwitterException -> java.lang.RuntimeException:java.lang.NoClassDefFoundError: twitter4j/TwitterException -> java.lang.NoClassDefFoundError:twitter4j/TwitterException -> java.lang.ClassNotFoundException:twitter4j.TwitterException --- STACK TRACE FOLLOWS --- [1317589318536] javax.ejb.EJBException:java.lang.RuntimeException: java.lang.NoClassDefFoundError: twitter4j/TwitterException -> java.lang.RuntimeException:java.lang.NoClassDefFoundError: twitter4j/TwitterException -> java.lang.NoClassDefFoundError:twitter4j/TwitterException -> java.lang.ClassNotFoundException:twitter4j.TwitterException at Unknown.java_lang_RuntimeException_$RuntimeException__Ljava_lang_RuntimeException_2Ljava_lang_RuntimeException_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_core_java_lang_RuntimeException_1FieldSerializer_instantiate__Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_RuntimeException_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_SerializerBase$MethodMap_$instantiate__Lcom_google_gwt_user_client_rpc_impl_SerializerBase$MethodMap_2Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_String_2Ljava_lang_Object_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_SerializerBase_$instantiate__Lcom_google_gwt_user_client_rpc_impl_SerializerBase_2Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_String_2Ljava_lang_Object_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_$readObject__Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_2Ljava_lang_Object_2(Unknown source:0) at Unknown.com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_$onResponseReceived__Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown source:0) at Unknown.org_rhq_enterprise_gui_coregui_client_util_rpc_TrackingRequestCallback_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown source:0) at Unknown.com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(Unknown source:0) at Unknown.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(Unknown source:0) at Unknown.anonymous(Unknown source:0) at Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(Unknown source:0) at Unknown.anonymous(Unknown source:0) at Unknown.anonymous(Unknown source:0) Expected results: Additional info:
Plugin is missing the twitter4j-core-2.1.2.jar dependency inside its lib dir.
Looks like Jay Shaughnessy has already solved this on Oct 10th, 2011. The current plugin jar contains the twitter jar.
Bulk closing of BZs that have no target version set, but which are ON_QA for more than a year and thus are in production for a long time.