ERROR "URLDecoder: Illegal hex characters in escape (%) pattern - For input string: " xxx" " happens after migrating project from 6.4.x

Solution In Progress - Updated -

Issue

Based on Migration Guide, BRMS 6.4.x project was migrated by migration-tool.sh without any error. But after migration, the following ERROR happens on migrated project during startup of server and unable to work on the project.

18:23:12,169 ERROR [org.kie.workbench.common.services.backend.builder.core.BuildHelper] (Thread-197) URLDecoder: Illegal hex characters in escape (%) pattern - For input string: " M": java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: " M"
    at java.net.URLDecoder.decode(URLDecoder.java:194)
    at org.drools.compiler.compiler.io.memory.MemoryFileSystem.decode(MemoryFileSystem.java:580)
    at org.drools.compiler.compiler.io.memory.MemoryFileSystem.getFile(MemoryFileSystem.java:107)
    at org.drools.compiler.compiler.io.memory.MemoryFileSystem.write(MemoryFileSystem.java:381)
    at org.drools.compiler.kie.builder.impl.KieFileSystemImpl.write(KieFileSystemImpl.java:62)
    at org.drools.compiler.kie.builder.impl.KieFileSystemImpl.write(KieFileSystemImpl.java:74)
    at org.kie.workbench.common.services.backend.builder.core.Builder.addNewResource(Builder.java:366)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:641)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.visitPaths(Builder.java:629)
    at org.kie.workbench.common.services.backend.builder.core.Builder.<init>(Builder.java:147)
    at org.kie.workbench.common.services.backend.builder.core.Builder.<init>(Builder.java:159)
    at org.kie.workbench.common.services.backend.builder.core.LRUBuilderCache.makeBuilder(LRUBuilderCache.java:140)
    at org.kie.workbench.common.services.backend.builder.core.LRUBuilderCache.assertBuilder(LRUBuilderCache.java:122)
    at org.kie.workbench.common.services.backend.builder.core.LRUBuilderCache$Proxy$_$$_WeldClientProxy.assertBuilder(Unknown Source)
    at org.kie.workbench.common.services.backend.builder.core.BuildHelper.build(BuildHelper.java:91)
    at org.kie.workbench.common.services.backend.builder.core.BuildHelper$Proxy$_$$_WeldClientProxy.build(Unknown Source)
    at org.kie.workbench.common.services.backend.builder.ala.LocalBuildExecConfigExecutor.apply(LocalBuildExecConfigExecutor.java:61)
    at org.kie.workbench.common.services.backend.builder.ala.LocalBuildExecConfigExecutor.apply(LocalBuildExecConfigExecutor.java:32)
    at org.kie.workbench.common.services.backend.builder.ala.LocalBuildExecConfigExecutor$Proxy$_$$_WeldClientProxy.apply(Unknown Source)
    at org.guvnor.ala.pipeline.execution.PipelineExecutor.lambda$continuePipeline$0(PipelineExecutor.java:109)
    at org.guvnor.ala.pipeline.StageUtil$1.execute(StageUtil.java:38)
    at org.guvnor.ala.pipeline.StageUtil$1.execute(StageUtil.java:33)
    at org.guvnor.ala.pipeline.execution.PipelineExecutor.continuePipeline(PipelineExecutor.java:94)
    at org.guvnor.ala.pipeline.execution.PipelineExecutor.execute(PipelineExecutor.java:76)
    at org.kie.workbench.common.services.backend.builder.ala.BuildPipelineInvoker.invokeLocalBuildPipeLine(BuildPipelineInvoker.java:88)
    at org.kie.workbench.common.services.backend.builder.ala.BuildPipelineInvoker$Proxy$_$$_WeldClientProxy.invokeLocalBuildPipeLine(Unknown Source)
    at org.kie.workbench.common.services.backend.builder.service.BuildServiceHelper.invokeLocalBuildPipeLine(BuildServiceHelper.java:152)
    at org.kie.workbench.common.services.backend.builder.service.BuildServiceHelper.localBuild(BuildServiceHelper.java:82)
    at org.kie.workbench.common.services.backend.builder.service.BuildServiceHelper$Proxy$_$$_WeldClientProxy.localBuild(Unknown Source)
    at org.kie.workbench.common.services.backend.builder.service.BuildServiceImpl.build(BuildServiceImpl.java:69)
    at org.kie.workbench.common.services.backend.builder.service.BuildServiceImpl$Proxy$_$$_WeldClientProxy.build(Unknown Source)
    at org.kie.workbench.common.services.backend.builder.service.BuildInfoService.getBuildInfo(BuildInfoService.java:59)
    at org.kie.workbench.common.services.backend.builder.service.BuildInfoService$Proxy$_$$_WeldClientProxy.getBuildInfo(Unknown Source)
    at org.kie.workbench.common.services.datamodel.backend.server.cache.LRUModuleDataModelOracleCache.makeModuleOracle(LRUModuleDataModelOracleCache.java:81)
    at org.kie.workbench.common.services.datamodel.backend.server.cache.LRUModuleDataModelOracleCache.assertModuleDataModelOracle(LRUModuleDataModelOracleCache.java:72)
    at org.kie.workbench.common.services.datamodel.backend.server.cache.LRUModuleDataModelOracleCache$Proxy$_$$_WeldClientProxy.assertModuleDataModelOracle(Unknown Source)
    at org.kie.workbench.common.services.datamodel.backend.server.DataModelServiceImpl.getModuleDataModel(DataModelServiceImpl.java:91)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.kie.workbench.common.services.datamodel.backend.server.service.DataModelService$142238584$Proxy$_$$_WeldClientProxy.getModuleDataModel(Unknown Source)
    at org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer.getModuleDataModelOracle(TestScenarioFileIndexer.java:76)
    at org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer.fillIndexBuilder(TestScenarioFileIndexer.java:51)
    at org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer.fillIndexBuilder(TestScenarioFileIndexer.java:33)
    at org.kie.workbench.common.services.refactoring.backend.server.indexing.AbstractFileIndexer.toKObject(AbstractFileIndexer.java:78)
    at org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer$Proxy$_$$_WeldClientProxy.toKObject(Unknown Source)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processNew(IndexerDispatcher.java:255)
    at org.uberfire.ext.metadata.io.IndexableIOEvent$NewFileEvent.apply(IndexableIOEvent.java:62)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvent(IndexerDispatcher.java:235)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvents(IndexerDispatcher.java:211)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:188)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

Environment

  • Red Hat Decision Manager
    • 7.1/7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In