Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7545

NoopProfile and NotSerializableException Exceptions Thrown When getActiveProfile are Called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • TBD EAP 5
    • EAP_EWP 5.1.1, EAP_EWP 5.1.2 ER2, EAP_EWP 5.1.2
    • Profile Service
    • None
    • Linux

    • Hide

      Call this API:

      profile = profileService.getActiveProfile(profileKey);

      with this data:

      ProfileKey@12f6ce8[domain=default, server=default, name=n01]

      Show
      Call this API: profile = profileService.getActiveProfile(profileKey); with this data: ProfileKey@12f6ce8 [domain=default, server=default, name=n01]
    • Hide

      None; API is unusable.

      Show
      None; API is unusable.
    • NEW

    Description

      Please also see RHQ Bug: https://bugzilla.redhat.com/show_bug.cgi?id=744803

      This call:

      profile = profileService.getActiveProfile(profileKey);

      produces:

      22:39:54,003 ERROR [ServerThread] WorkerThread#0[127.0.0.1:21600] exception
      occurred during first invocation
      java.io.NotSerializableException:
      org.jboss.system.server.profile.repository.NoopProfile

      The profileKey, above, that this all chokes on in my case:

      ProfileKey@12f6ce8[domain=default, server=default, name=n01]

      On subsequent calls we see this key:

      ProfileKey@ecc6f4[domain=default, server=default, name=farm]

      which results in all of the other stack traces filling the logs:

      22:48:49,391 ERROR [ServerThread] WorkerThread#0[127.0.0.1:22195] exception
      occurred during first invocation
      java.io.NotSerializableException:
      org.jboss.system.server.profile.repository.AbstractProfile

      on the following line of code:

      profile = profileService.getActiveProfile(profileKey);

      and the cause:

      java.lang.reflect.UndeclaredThrowableException

      More Details:

      12:23:58,230 ERROR [ServerThread] WorkerThread#1[127.0.0.1:54748] exception
      occurred during first invocation
      java.io.NotSerializableException:
      org.jboss.system.server.profile.repository.NoopProfile
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
      at org.jboss.aop.joinpoint.InvocationResponse.writeExternal(InvocationResponse.java:100)
      at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1429)

      12:24:04,255 ERROR [ServerThread] WorkerThread#1[127.0.0.1:55142] exception
      occurred during first invocation
      java.io.NotSerializableException:
      org.jboss.system.server.profile.repository.AbstractProfile
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
      at org.jboss.aop.joinpoint.InvocationResponse.writeExternal(InvocationResponse.java:100)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbuck_jira Robert Buck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: