Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-159

ClassNotFoundException when using testsuites Simple Preference Test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0-alpha1
    • 1.1.0-alpha1
    • portlets-testsuite
    • None

    Description

      javax.portlet.ValidatorException
      at org.apache.pluto.core.impl.PortletPreferencesImpl.store(PortletPreferencesImpl.java:231)
      at org.apache.pluto.testsuite.test.SimplePreferenceTest.checkResetPreferences(SimplePreferenceTest.java:261)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.pluto.testsuite.test.AbstractReflectivePortletTest.invoke(AbstractReflectivePortletTest.java:92)
      at org.apache.pluto.testsuite.test.AbstractReflectivePortletTest.doTest(AbstractReflectivePortletTest.java:45)
      at org.apache.pluto.testsuite.TestPortlet.processAction(TestPortlet.java:100)

      . . .

      Caused by: java.lang.ClassNotFoundException: org.apache.pluto.core.impl.PreferencesValidatorImpl
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:164)
      at org.apache.pluto.core.impl.PortletPreferencesImpl.store(PortletPreferencesImpl.java:223)
      ... 38 more

      Attachments

        1. PortletPreferencesImpl.java.svndiff
          0.8 kB
          @deprecated ZHENG Zhong

        Activity

          People

            Unassigned Unassigned
            ddewolf David H. DeWolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: