javax.servlet.UnavailableException: Cannot load a validator resource from 'null'

strutstestcase | ens00033 | 9 years ago
  1. 0

    Unable to use tilesPlugin in struts-config.

    strutstestcase | 9 years ago | ens00033
    javax.servlet.UnavailableException: Cannot load a validator resource from 'null'
  2. 0

    newbie

    strutstestcase | 7 years ago | soulgin
    javax.servlet.UnavailableException: tried to access method org/apache/commons/beanutils/BeanUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V from class org/apache/commons/digester/SetPropertyRule
  3. 0

    java.lang.NoClassDefFoundError

    strutstestcase | 10 years ago | nobody
    javax.servlet.UnavailableException: org/apache/struts/config/ApplicationConfig
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    web.xml file not found with MockStrutsTestCas

    strutstestcase | 1 decade ago | nobody
    javax.servlet.UnavailableException: The /WEB-INF/web.xml was not found.
  6. 0

    testing DynaValidatorForm

    strutstestcase | 1 decade ago | nobody
    javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,                         /WEB-INF/validation.xml'

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.UnavailableException

      Cannot load a validator resource from 'null'

      at org.apache.struts.validator.ValidatorPlugIn.init()
    2. struts
      ActionServlet.init
      1. org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:172)
      2. org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
      3. org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
      3 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
      1 frame
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:326)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
      2 frames
    5. com.siemens.ada
      TestPopup.testPopupShow
      1. com.siemens.ada.Junit.struts.popup.TestPopup.testPopupShow(TestPopup.java:28)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    7. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:230)
      8. junit.framework.TestSuite.run(TestSuite.java:225)
      8 frames
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames