JBoss Developer Studio throws FileNotFoundException only executing a project in the debug mode
Issue
On JBoss Developer Studio, user comments out the try catch block in the generated Drools sample project, and run it with Debug mode.
Then FileNotFoundException occurs
Thread [main] (Suspended (exception FileNotFoundException))
URLClassPath$JarLoader.getJarFile(URL) line: 726
URLClassPath$JarLoader.access$600(URLClassPath$JarLoader, URL) line: 591
URLClassPath$JarLoader$1.run() line: 673
URLClassPath$JarLoader$1.run() line: 666
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available [native method]
URLClassPath$JarLoader.ensureOpen() line: 665
URLClassPath$JarLoader.<init>(URL, URLStreamHandler, HashMap<String,Loader>) line: 638
URLClassPath$JarLoader$3.run() line: 892
URLClassPath$JarLoader$3.run() line: 890
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available [native method]
URLClassPath$JarLoader.getResource(String, boolean, Set<String>) line: 889
URLClassPath$JarLoader.getResource(String, boolean) line: 848
URLClassPath$JarLoader.findResource(String, boolean) line: 818
URLClassPath$1.next() line: 226
URLClassPath$1.hasMoreElements() line: 236
URLClassLoader$3$1.run() line: 583
URLClassLoader$3$1.run() line: 581
AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not available [native method]
URLClassLoader$3.next() line: 580
URLClassLoader$3.hasMoreElements() line: 605
CompoundEnumeration<E>.next() line: 45
CompoundEnumeration<E>.hasMoreElements() line: 54
CompoundEnumeration<E>.next() line: 45
CompoundEnumeration<E>.hasMoreElements() line: 54
ChainedProperties.loadProperties(Enumeration<URL>, List<Properties>, ClassLoader) line: 309
ChainedProperties.<init>(String, ClassLoader, boolean) line: 116
ChainedProperties.<init>(String, ClassLoader) line: 78
SessionConfiguration.init(Properties, ClassLoader...) line: 162
SessionConfiguration.<init>() line: 148
KnowledgeBaseFactoryServiceImpl.newKnowledgeSessionConfiguration() line: 41
KnowledgeBaseFactory.newKnowledgeSessionConfiguration() line: 135
KieContainerImpl.getKnowledgeSessionConfiguration(KieSessionModelImpl) line: 627
KieContainerImpl.newKieSession(String, Environment, KieSessionConfiguration) line: 572
KieContainerImpl.newKieSession(String) line: 538
DroolsTest.main(String[]) line: 17
Environment
- Red Hat JBoss BRMS
- 6.0.x
- Red Hat JBoss Developer Studio
- 8.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
