4 Replies Latest reply on Aug 7, 2013 10:43 AM by syeliset

    Widget not listed in Overview pane - Message in sbs.out: Couldn't build bean of class name XYZ

    pradeep.tammineni

      Hi,

      Ryan King, Ryan Rutan, John Reynolds

      We are building a widget in Jive 5.0.2 -

       

      The build process completes just fine in maven and the installation seems to be succeeding through Admin Console as well.

      Additional info: We made sure that the db entries with respect to older installations of the same plugin are all cleared up (entries in jiveversion, jivewidget, jivewidgetfrmprop, and jivewidgetframe tables -- did we miss anything?) before the fresh installation.

       

      However, when we restart the server, we don't see the widget being listed in the Overview panel of the containers (we know that the plugin got installed partially as one of the four widgets appear just fine). On checking the logs, we see the following relevant error/info messages.

      [INFO] [talledLocalContainer] 2013-07-23 15:49:41,962 [NonBlockingEventDispatcher-thread-2] [:] ERROR com.jivesoftware.community.lifecycle.spring.AutowiringBeanFactory - Couldn't build bean of class name com.acn.atl.jive.workflow.widget.ProjectBrowserWidget

      ---------

      [INFO] [talledLocalContainer] org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.acn.atl.jive.workflow.manager.ProjectBrowserManagerImpl' to required type 'com.acn.atl.jive.workflow.manager.ProjectBrowserManager' for property 'projectBrowserManager'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.acn.atl.jive.workflow.manager.ProjectBrowserManagerImpl] to required type [com.acn.atl.jive.workflow.manager.ProjectBrowserManager] for property 'projectBrowserManager': no matching editors or conversion strategy found

      ----------

      [INFO] [talledLocalContainer] Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.acn.atl.jive.workflow.manager.ProjectBrowserManagerImpl] to required type [com.acn.atl.jive.workflow.manager.ProjectBrowserManager] for property 'projectBrowserManager': no matching editors or conversion strategy found

      ----------

      [INFO] [talledLocalContainer] 2013-07-23 15:49:42,783 [NonBlockingEventDispatcher-thread-2] [:] ERROR com.jivesoftware.base.plugin.configurators.WidgetConfigurator - An unexpected error has occurred loading Widget com.acn.atl.jive.workflow.widget.ProjectBrowserWidget in Plugin WorkFlowPlugin.

      ----------

      [INFO] [talledLocalContainer] com.jivesoftware.base.database.dao.DAOException: Error adding widget with className: com.acn.atl.jive.workflow.widget.ProjectBrowserWidget and type: null

      -----------

      [INFO] [talledLocalContainer]   Detail: Key (classname)=(com.acn.atl.jive.workflow.widget.ProjectBrowserWidget) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "jwidget_uk_idx"

      ------------

      [INFO] [talledLocalContainer] Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "jwidget_uk_idx"

      [INFO] [talledLocalContainer]   Detail: Key (classname)=(com.acn.atl.jive.workflow.widget.ProjectBrowserWidget) already exists.

       

      Can somebody please let us know where we are going wrong? Any helpful advice would be immensely appreciated.

      Karthik Raja T

      Mary Catherine Thomas

      Nivas Yelisetty

       

      Thanks,

      Pradeep