java.lang.IllegalArgumentException: JBAS014848: Path entry is read-only: 'hardcoded'

jboss.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    JBAS014848: Path entry is read-only: 'hardcoded'

    at org.jboss.as.controller.services.path.PathManagerService.removePathEntry()
  2. JBoss Application Server: Controller Core
    ModelControllerImpl.execute
    1. org.jboss.as.controller.services.path.PathManagerService.removePathEntry(PathManagerService.java:183)
    2. org.jboss.as.controller.services.path.PathRemoveHandler$1.execute(PathRemoveHandler.java:100)
    3. org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
    4. org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
    5. org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
    6. org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:473)
    7. org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397)
    8. org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284)
    9. org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211)
    10. org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:126)
    11. org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:111)
    11 frames
  3. org.jboss.as
    AbstractControllerTestBase.executeForResult
    1. org.jboss.as.controller.test.AbstractControllerTestBase.executeForResult(AbstractControllerTestBase.java:134)
    1 frame
  4. JBoss Application Server: Controller Core
    PathsTestCase.testRemoveHardcodedPathFails
    1. org.jboss.as.controller.services.path.PathsTestCase.testRemoveHardcodedPathFails(PathsTestCase.java:209)
    1 frame
  5. 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:597)
    4 frames
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    15 frames
  7. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
    3 frames
  8. 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:597)
    4 frames
  9. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
    3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
    4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
    5 frames