Unclassified Files
by Samuel Tauil
Hi,
I understand the Unclassified Files section in the report as a list of all files which were decompiled properly by Procyon but weren't captured by any rules, so the user can check and see which resources need to be checked again and generate specific rules or not. Is that correct?
Thanks
Samuel
8 years, 11 months
Re: [windup-dev] Furnace not finding Windup FileService
by Lincoln Baxter, III
Hey Ian,
(Adding windup-dev.)
I'm not really sure what this issue could be, but it worries me that you needed to add a method to FurnaceService. What did you add? You can't ask Furnace for an instance of a type that is not a Service. (It wouldn't know how to construct it.)
The last error you received worries me specifically because it makes me think that there is something funky going on with the ClassLoader hierarchy itself, and that is never good; however, it could be due to some kind of quirk with what you added (it also may be a bug), so I think I need to see what you are doing.
Could you show me where this code is so that I can take a look?
Thanks!
~Lincoln
----- Original Message -----
From: "Ian Tewksbury" <itewk(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Cc: "Robb Greathouse" <robb.greathouse(a)redhat.com>
Sent: Sunday, March 22, 2015 9:57:36 PM
Subject: Re: Furnace not finding Windup FileService
Licoln,
Got passed those previous errors. New error now:
!ENTRY org.eclipse.core.jobs 4 2 2015-03-22 21:52:59.403
!MESSAGE An internal error occurred during: "Validating".
!STACK 0
java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/tools/forge/core/internal/furnace/CompositeFurnaceClassLoader) previously initiated loading for a different type with name "org/jboss/forge/furnace/util/Predicate"
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
at java.lang.Class.getDeclaredMethods(Class.java:1860)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.SecurityActions.getDeclaredMethods(SecurityActions.java:30)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.RuntimeSupport.findMethod2(RuntimeSupport.java:134)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.RuntimeSupport.findMethod(RuntimeSupport.java:65)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.RuntimeSupport.find2Methods(RuntimeSupport.java:53)
at org.jboss.windup.exec.configuration.WindupConfiguration_$$_javassist_5effd6de-6f27-4c9d-9f94-b9492b06844c.<clinit>(WindupConfiguration_$$_javassist_5effd6de-6f27-4c9d-9f94-b9492b06844c.java)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
at java.lang.reflect.Field.set(Field.java:741)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:525)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:508)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:492)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:428)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:400)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$3.call(ClassLoaderAdapterCallback.java:987)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:900)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceResult(ClassLoaderAdapterCallback.java:253)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$200(ClassLoaderAdapterCallback.java:37)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at org.jboss.forge.furnace.services.Imported_$$_javassist_34707ba1-98fb-4b8a-93ed-559398be971b.get(Imported_$$_javassist_34707ba1-98fb-4b8a-93ed-559398be971b.java)
at org.jboss.tools.forge.core.furnace.FurnaceService.lookup(FurnaceService.java:96)
at org.jboss.tools.windup.core.WindupService.getServiceFromFurnace(WindupService.java:485)
at org.jboss.tools.windup.core.WindupService.generateGraph(WindupService.java:226)
at org.jboss.tools.windup.core.WindupService.getGraph(WindupService.java:301)
at org.jboss.tools.windup.core.WindupService.getInlineHints(WindupService.java:103)
at org.jboss.tools.windup.core.internal.validators.WindupValidator.validate(WindupValidator.java:81)
at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:810)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
at org.eclipse.wst.validation.internal.ValidationRunner.execute(ValidationRunner.java:134)
at org.eclipse.wst.validation.internal.ValidationRunner.validate(ValidationRunner.java:68)
at org.eclipse.wst.validation.ui.internal.ManualValidationRunner.runInWorkspace(ManualValidationRunner.java:83)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Blue Skies,
~Ian
----- Original Message -----
From: "Ian Tewksbury" <itewk(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Cc: "Robb Greathouse" <robb.greathouse(a)redhat.com>
Sent: Sunday, March 22, 2015 7:49:28 PM
Subject: Re: Furnace not finding Windup FileService
Licncoln,
I added some new API to the FurnaceService to be able to lookup a type which got me passed the below errors.
Now I am running into:
java.lang.NoClassDefFoundError: com/tinkerpop/frames/FramedGraph
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
at java.lang.Class.getDeclaredMethods(Class.java:1860)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.SecurityActions.getDeclaredMethods(SecurityActions.java:30)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.getMethods(ProxyFactory.java:1121)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.getMethods(ProxyFactory.java:1096)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.makeSortedMethodList(ProxyFactory.java:803)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.computeSignature(ProxyFactory.java:810)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:398)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$3.call(ClassLoaderAdapterCallback.java:987)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:900)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceResult(ClassLoaderAdapterCallback.java:277)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$200(ClassLoaderAdapterCallback.java:37)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at org.jboss.windup.graph.GraphContextFactory_$$_javassist_2a504b60-d6e3-450e-87b5-f41eb849ab81.create(GraphContextFactory_$$_javassist_2a504b60-d6e3-450e-87b5-f41eb849ab81.java)
at org.jboss.tools.windup.core.WindupService.generateGraph(WindupService.java:235)
at org.jboss.tools.windup.core.WindupService.getGraph(WindupService.java:303)
at org.jboss.tools.windup.core.WindupService.getInlineHints(WindupService.java:103)
at org.jboss.tools.windup.core.internal.validators.WindupValidator.validate(WindupValidator.java:81)
at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:810)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
at org.eclipse.wst.validation.internal.ValidationRunner.execute(ValidationRunner.java:134)
at org.eclipse.wst.validation.internal.ValidationRunner.validate(ValidationRunner.java:68)
at org.eclipse.wst.validation.ui.internal.ManualValidationRunner.runInWorkspace(ManualValidationRunner.java:83)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: com.tinkerpop.frames.FramedGraph cannot be found by org.jboss.tools.windup.runtime_3.1.0.qualifier
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 32 more
I have verified that the Furnace add on 'org-jboss-windup-graph-windup-graph' is being loaded and contains the windup-frames JAR so I am not clear why furnace is not able to load the class.
Ideas?
Blue Skies,
~Ian
----- Original Message -----
From: "Ian Tewksbury" <itewk(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Cc: "Robb Greathouse" <robb.greathouse(a)redhat.com>
Sent: Sunday, March 22, 2015 5:18:55 AM
Subject: Re: Furnace not finding Windup FileService
Lioncoln,
Looking here, http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/... , and debuging through eclipse without source, I have figured out it is choking on like 189. It appears this #getExportedInstances method is only for loading beans. I see a #getExportedType which is what I am guessing I need, but the only Furnace API I see is FurnaceService.INSTANCE.lookup(clazz) which ends up doing this bean lookup rather then a type lookup. Am I missing something here? Is there just missing API to look up a type and not a bean via Furnace?
Blue Skies,
~Ian
----- Original Message -----
From: "Ian Tewksbury" <itewk(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>, "Robb Greathouse" <robb.greathouse(a)redhat.com>
Sent: Sunday, March 22, 2015 4:57:43 AM
Subject: Furnace not finding Windup FileService
Lincoln,
I can not figure out why Furnance is reporting that it can not find the Windup FileService despite the fact that it is reporting it loaded the graph-api addon. Any ideas?
Please see attached for the log. It clearly shows the graph-api addon being loaded. And I have verified that addon contains the graph-api.jar which contains the FileService. I have tried to debug the furnace stuff but I keep running into source not found issues and getting lost. I have been able to tell that ImportedImpl#getExportedInstances is getting called and it is looping over the graph-api addon. But it does not seem to find the class in there, but I have not been able to debug into furnace beyond that point.
Looking at the variable state the WeldServiceRegistery instance for the graph-api addon shows the FIleService there. For some reason it is just not being retrevied. I have attached a screenshoot of the variable state from within ImportedImpl#getExportedInstances. Can you think of any reason serviceRegistry.getExportedInstances(type) would be failing giving all of this?
~Ian
9 years
Windup Meeting Minutes - 2015-03-25
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2015/windup....
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2015/windup....
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2015/windup....
Meeting summary
---------------
* Agenda (lincolnthree, 15:08:03)
* Status reports (lincolnthree, 15:08:16)
* Priorities (lincolnthree, 15:08:19)
* 2.2.0.Final Release (lincolnthree, 15:08:32)
* Status Reports (lincolnthree, 15:10:25)
* I worked on WINDUP-544 (crash with some applications) (jsightler,
15:16:56)
* I also fixed a major AST performance regression with larger
applications (jsightler, 15:17:10)
* WINDUP-523 Rule Externalization - Allow filtering of
RuleProviders by tags (categories) (ozizka, 15:17:24)
* Set up windup-rulesets Jenkins job - triggers after pr job succeeds
(ozizka, 15:17:24)
* Trying to find out a way to run the tests faster - maybe tmpfs both
on OS1 and locally. (ozizka, 15:17:24)
* WINDUP-460 RuleMetadata.TREAT_EXCEPTIONS_AS_FATAL is unimplemented
(ozizka, 15:17:24)
* Starting work on MIGR-229 Server configuration migration (ozizka,
15:17:24)
* I ran several (ozizka, 15:17:25)
* And I have done some work on reviewing and merging PRs for the
release (jsightler, 15:17:27)
* I was mainly working on FORGE-2283/MIGR-198 (addons updating in
Forge/Windup) that led me to find potential bugs like WINDUP-545,
FURNACE-35 (mbriskar_, 15:18:38)
* I worked on reviewing several PRs and doing some merges.
(lincolnthree, 15:29:06)
* I also worked on writing copy for the website ux prototypes with
Sande (lincolnthree, 15:29:07)
* I did profiling work on the Decompiler (and Windup as a whole) with
Jess (lincolnthree, 15:29:07)
* Also worked with jess and Sande to book travel for F2F so that we
all arrive at the same time (lincolnthree, 15:29:07)
* My next goal is to get the 2.2.0.Final release done (lincolnthree,
15:29:07)
* After that, I will work on enabling graph indexes by annotation
(lincolnthree, 15:29:07)
* Priorities (lincolnthree, 15:29:15)
* 1. Performance (lincolnthree, 15:29:43)
* 2. Server config migration (lincolnthree, 15:29:53)
* 3. Examples and Quickstarts (lincolnthree, 15:30:32)
* 4. Eclipse tooling (lincolnthree, 15:30:39)
* ACTION: Look at possibility to use javac instead of JDT? (ozizka,
15:43:37)
* ACTION: Option to skip decompilation and parsing? (ozizka,
15:46:08)
* 2.2.0.Final Release (lincolnthree, 15:46:15)
* I will be working on the 2.2.0.Final release immediately after this
meeting (lincolnthree, 15:46:34)
* Matt UX meeting? (lincolnthree, 15:46:50)
* Java AST sync session? (lincolnthree, 15:48:30)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
9 years, 1 month
Out ouf space?
by Ondrej Zizka
Hi,
when running against the app on OS1, I am seeing a weird error:
Caused by: java.io.FileNotFoundException:
/home/cloud-user/migr/apps/ATTEARFiles/ClfyAgent.ear.report/graph/titangraph/00000001.jdb
(No space left on device)
at java.io.RandomAccessFile.open(Native Method)
at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)
at
com.sleepycat.je.log.FileManager$DefaultRandomAccessFile.<init>(FileManager.java:3209)
although there was still over 10 GB free.
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 22G 7,3G 15G 34% /
The app runs for a while and when Berkeley is about to create 2nd .jdb
file, it crashes with this.
Is there any limitation of OS1 that could cause this?
Regards,
Ondra
JBoss Windup, version [ 2.3.0-SNAPSHOT ] - JBoss, by Red Hat, Inc. [
http://windup.jboss.org ]
[migr]$ export VERBOSE=true
[migr]$ windup-migrate-app --input apps/***/****Agent.ear
Using user rules dir:
/home/cloud-user/migr/windup-distribution-2.3.0-SNAPSHOT/rules
Using user rules dir: /home/cloud-user/.windup/rules
***INFO*** Executing Rules: [0/1202] ...
***INFO*** Executing Rules:
:GeneratedID_IgnoredArchivesConfigLoadingRuleProvider_1: class
org.jboss.windup.config.phase.InitializationPhase -
IgnoredArchivesConfigLoadingRuleProvider [] [0/1202] ...
***INFO*** Executing Rules:
:GeneratedID_ArchiveIdentificationConfigLoadingRuleProvider_1: class
org.jboss.windup.config.phase.InitializationPhase -
ArchiveIdentificationConfigLoadingRuleProvider [] [1/1202] ...
***INFO*** Executing Rules:
:GeneratedID_CopyJavaConfigToGraphRuleProvider_1: class
org.jboss.windup.config.phase.InitializationPhase -
CopyJavaConfigToGraphRuleProvider [] [2/1202] ...
***INFO*** Executing Rules:
:GeneratedID_GatherIgnoredFileNamesRuleProvider_1: class
org.jboss.windup.config.phase.InitializationPhase -
GatherIgnoredFileNamesRuleProvider [] [3/1202] ...
***INFO*** Executing Rules:
:GeneratedID_DiscoverFilesAndTypesRuleProvider_1: class
org.jboss.windup.config.phase.DiscoveryPhase -
DiscoverFilesAndTypesRuleProvider [] [4/1202] ...
***INFO*** Executing Rules:
:GeneratedID_DiscoverFilesAndTypesRuleProvider_2: class
org.jboss.windup.config.phase.DiscoveryPhase -
DiscoverFilesAndTypesRuleProvider [] [5/1202] ...
***INFO*** Executing Rules:
:GeneratedID_UnzipArchivesToOutputRuleProvider_1: class
org.jboss.windup.config.phase.ArchiveExtractionPhase -
UnzipArchivesToOutputRuleProvider [] [6/1202] ...
***INFO*** Executing Rules:
:GeneratedID_DiscoverArchiveTypesRuleProvider_1: class
org.jboss.windup.config.phase.ArchiveMetadataExtractionPhase -
DiscoverArchiveTypesRuleProvider [] [6/1202] ...
***INFO*** Executing Rules:
:GeneratedID_DiscoverArchiveManifestFilesRuleProvider_1: class
org.jboss.windup.config.phase.ArchiveMetadataExtractionPhase -
DiscoverArchiveManifestFilesRuleProvider [] [6/1202] ...
***INFO*** Executing Rules:
:org.jboss.windup.rules.files.FileMapping_d19ee966-a786-476c-9bf4-04412c77b56c:
class org.jboss.windup.config.phase.ClassifyFileTypesPhase -
DiscoverXmlFilesRuleProvider [] [6/1202] ...
***INFO*** Executing Rules: :GeneratedID_DiscoverXmlFilesRuleProvider_2:
class org.jboss.windup.config.phase.ClassifyFileTypesPhase -
DiscoverXmlFilesRuleProvider [] [7/1202] ...
***INFO*** Executing Rules:
:GeneratedID_IndexJavaClassFilesRuleProvider_1: class
org.jboss.windup.config.phase.ClassifyFileTypesPhase -
IndexJavaClassFilesRuleProvider [] [7/1202] ...
***INFO*** Executing Rules:
:org.jboss.windup.rules.files.FileMapping_22305a06-08ea-4d36-bb71-b9ac14738d1c:
class org.jboss.windup.config.phase.ClassifyFileTypesPhase -
JavaFileMappingRuleProvider [] [7/1202] ...
***INFO*** Executing Rules:
:org.jboss.windup.rules.files.FileMapping_d1767fb8-5aa5-4a7e-8c55-6c655d777600:
class org.jboss.windup.config.phase.ClassifyFileTypesPhase -
JavaFileMappingRuleProvider [] [8/1202] ...
***INFO*** Executing Rules:
:GeneratedID_IndexJavaSourceFilesRuleProvider_1: class
org.jboss.windup.config.phase.ClassifyFileTypesPhase -
IndexJavaSourceFilesRuleProvider [] [9/1202] ...
***INFO*** Executing Rules:
:GeneratedID_DiscoverPropertiesFilesRuleProvider_1: class
org.jboss.windup.config.phase.ClassifyFileTypesPhase -
DiscoverPropertiesFilesRuleProvider [] [9/1202] ...
***INFO*** Executing Rules:
:GeneratedID_DiscoverMavenProjectsRuleProvider_1: class
org.jboss.windup.config.phase.DiscoverProjectStructurePhase -
DiscoverMavenProjectsRuleProvider [] [9/1202] ...
***ERROR*** Error while executing 'Windup Migrate App'
org.jboss.windup.util.exception.WindupException: Error encountered while
evaluating rule:
.addRule().when(Query.find(org.jboss.windup.rules.apps.xml.model.XmlFileModel).gremlin().has(fileName,EQUALS,pom.xml).as(default)).perform(Iteration.over(?).perform(ScanMavenProject)).withId("GeneratedID_DiscoverMavenProjectsRuleProvider_1")
From:
org.jboss.windup.rules.apps.java.scan.provider.DiscoverMavenProjectsRuleProvider
loaded from ModuleClassLoader for Module
"org.jboss.windup.rules.apps.windup-rules-java:2.3.0-SNAPSHOT_b5a66f3a-64a8-4833-89e3-3605a77cb86f"
from AddonModuleLoader
Defined in:
org.jboss.windup.rules.apps.java.scan.provider.DiscoverMavenProjectsRuleProvider.getConfiguration(DiscoverMavenProjectsRuleProvider.java:124)
at org.jboss.windup.config.RuleSubset.perform(RuleSubset.java:313)
at
org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_974cc22d-87d3-4d6d-aabd-d7b720f1bef9.execute(WindupProcessorImpl_$$_javassist_974cc22d-87d3-4d6d-aabd-d7b720f1bef9.java)
at
org.jboss.windup.ui.WindupCommand.execute(WindupCommand.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.windup.ui.WindupCommand_$$_javassist_7dfce685-96b6-42c2-9c63-b8d7e1d377d1.execute(WindupCommand_$$_javassist_7dfce685-96b6-42c2-9c63-b8d7e1d377d1.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:90)
at
org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:82)
at
org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Suppressed: com.thinkaurelius.titan.core.TitanException: Could
not execute operation due to backend exception
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:44)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:144)
at
com.thinkaurelius.titan.diskstorage.configuration.backend.KCVSConfiguration.set(KCVSConfiguration.java:145)
at
com.thinkaurelius.titan.diskstorage.configuration.backend.KCVSConfiguration.set(KCVSConfiguration.java:122)
at
com.thinkaurelius.titan.diskstorage.configuration.backend.KCVSConfiguration.remove(KCVSConfiguration.java:163)
at
com.thinkaurelius.titan.diskstorage.configuration.ModifiableConfiguration.remove(ModifiableConfiguration.java:42)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdownInternal(StandardTitanGraph.java:169)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdown(StandardTitanGraph.java:158)
at
org.jboss.windup.graph.GraphContextImpl.close(GraphContextImpl.java:243)
at
org.jboss.windup.ui.WindupCommand.execute(WindupCommand.java:252)
... 15 more
Caused by:
com.thinkaurelius.titan.diskstorage.PermanentBackendException: Could not
start BerkeleyJE transaction
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.beginTransaction(BerkeleyJEStoreManager.java:144)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.beginTransaction(BerkeleyJEStoreManager.java:34)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.beginTransaction(OrderedKeyValueStoreManagerAdapter.java:52)
at
com.thinkaurelius.titan.diskstorage.Backend$2.openTx(Backend.java:270)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:131)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation$1.call(BackendOperation.java:147)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)
... 24 more
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE
5.0.73) Environment must be closed, caused by:
com.sleepycat.je.EnvironmentFailureException: Environment invalid
because of previous exception: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
java.io.FileNotFoundException:
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph/00000001.jdb
(No space left on device) LOG_INTEGRITY: Log information is incorrect,
problem is likely persistent. UNEXPECTED_EXCEPTION_FATAL: Unexpected
internal Exception, unable to continue. Environment is invalid and must
be closed.
at
com.sleepycat.je.EnvironmentFailureException.wrapSelf(EnvironmentFailureException.java:196)
at
com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1512)
at
com.sleepycat.je.Environment.checkEnv(Environment.java:2185)
at
com.sleepycat.je.Environment.beginTransactionInternal(Environment.java:1313)
at
com.sleepycat.je.Environment.beginTransaction(Environment.java:1284)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.beginTransaction(BerkeleyJEStoreManager.java:134)
... 31 more
Caused by: com.sleepycat.je.EnvironmentFailureException:
Environment invalid because of previous exception: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
java.io.FileNotFoundException:
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph/00000001.jdb
(No space left on device) LOG_INTEGRITY: Log information is incorrect,
problem is likely persistent. UNEXPECTED_EXCEPTION_FATAL: Unexpected
internal Exception, unable to continue. Environment is invalid and must
be closed.
at
com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:301)
at
com.sleepycat.je.log.LogManager.serialLogInternal(LogManager.java:505)
at
com.sleepycat.je.log.SyncedLogManager.serialLog(SyncedLogManager.java:42)
at
com.sleepycat.je.log.LogManager.multiLog(LogManager.java:395)
at com.sleepycat.je.log.LogManager.log(LogManager.java:335)
at com.sleepycat.je.tree.IN.logInternal(IN.java:3534)
at com.sleepycat.je.tree.IN.optionalLog(IN.java:3481)
at com.sleepycat.je.tree.IN.splitInternal(IN.java:2724)
at com.sleepycat.je.tree.IN.split(IN.java:2522)
at com.sleepycat.je.tree.Tree.forceSplit(Tree.java:1984)
at
com.sleepycat.je.tree.Tree.searchSubTreeSplitsAllowed(Tree.java:1767)
at
com.sleepycat.je.tree.Tree.searchSplitsAllowed(Tree.java:1318)
at
com.sleepycat.je.tree.Tree.findBinForInsert(Tree.java:2230)
at
com.sleepycat.je.dbi.CursorImpl.putInternal(CursorImpl.java:866)
at com.sleepycat.je.dbi.CursorImpl.put(CursorImpl.java:811)
at
com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:2243)
at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:2200)
at com.sleepycat.je.Cursor.putNotify(Cursor.java:2117)
at com.sleepycat.je.Cursor.putNoDups(Cursor.java:2052)
at com.sleepycat.je.Cursor.putInternal(Cursor.java:2020)
at
com.sleepycat.je.Database.putInternal(Database.java:1302)
at com.sleepycat.je.Database.put(Database.java:1172)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.insert(BerkeleyJEKeyValueStore.java:194)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.insert(BerkeleyJEKeyValueStore.java:183)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.mutateMany(BerkeleyJEStoreManager.java:193)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.mutateMany(OrderedKeyValueStoreManagerAdapter.java:100)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:89)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:86)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.persist(CacheTransaction.java:86)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.flushInternal(CacheTransaction.java:140)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.commit(CacheTransaction.java:197)
at
com.thinkaurelius.titan.diskstorage.BackendTransaction.commitStorage(BackendTransaction.java:117)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.commit(StandardTitanGraph.java:670)
at
com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.commit(StandardTitanTx.java:1337)
at
com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.commit(TitanBlueprintsGraph.java:60)
at
org.jboss.windup.config.RuleSubset.perform(RuleSubset.java:275)
at
org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_974cc22d-87d3-4d6d-aabd-d7b720f1bef9.execute(WindupProcessorImpl_$$_javassist_974cc22d-87d3-4d6d-aabd-d7b720f1bef9.java)
at
org.jboss.windup.ui.WindupCommand.execute(WindupCommand.java:243)
... 15 more
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE
5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
java.io.FileNotFoundException:
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph/00000001.jdb
(No space left on device) LOG_INTEGRITY: Log information is incorrect,
problem is likely persistent.
at
com.sleepycat.je.log.FileManager$LogEndFileDescriptor.getWritableFile(FileManager.java:3009)
at
com.sleepycat.je.log.FileManager$LogEndFileDescriptor.access$200(FileManager.java:2710)
at
com.sleepycat.je.log.FileManager.writeLogBuffer(FileManager.java:1609)
at
com.sleepycat.je.log.LogBufferPool.writeBufferToFile(LogBufferPool.java:260)
at
com.sleepycat.je.log.LogBufferPool.getWriteBuffer(LogBufferPool.java:197)
at
com.sleepycat.je.log.LogManager.serialLogWork(LogManager.java:639)
at
com.sleepycat.je.log.LogManager.serialLogInternal(LogManager.java:493)
... 61 more
Caused by: java.io.FileNotFoundException:
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph/00000001.jdb
(No space left on device)
at java.io.RandomAccessFile.open(Native Method)
at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)
at
com.sleepycat.je.log.FileManager$DefaultRandomAccessFile.<init>(FileManager.java:3209)
at
com.sleepycat.je.log.FileManager$6.createFile(FileManager.java:3237)
at
com.sleepycat.je.log.FileManager.openFileHandle(FileManager.java:1280)
at
com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:1247)
at
com.sleepycat.je.log.FileManager.access$1500(FileManager.java:75)
at
com.sleepycat.je.log.FileManager$LogEndFileDescriptor.getWritableFile(FileManager.java:2987)
... 67 more
Caused by: com.thinkaurelius.titan.core.TitanException: Could not start
new transaction
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.newTransaction(StandardTitanGraph.java:276)
at
com.thinkaurelius.titan.graphdb.transaction.StandardTransactionBuilder.start(StandardTransactionBuilder.java:220)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.newThreadBoundTransaction(StandardTitanGraph.java:265)
at
com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.getAutoStartTx(TitanBlueprintsGraph.java:104)
at
com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.addVertex(TitanBlueprintsGraph.java:155)
at
com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.addVertex(TitanBlueprintsGraph.java:27)
at
com.tinkerpop.blueprints.util.wrappers.event.EventGraph.addVertex(EventGraph.java:95)
at com.tinkerpop.frames.FramedGraph.addVertex(FramedGraph.java:242)
at com.tinkerpop.frames.FramedGraph.addVertex(FramedGraph.java:258)
at
org.jboss.windup.graph.service.GraphService$3.execute(GraphService.java:92)
at
org.jboss.windup.graph.service.GraphService$3.execute(GraphService.java:88)
at
org.jboss.windup.util.ExecutionStatistics.performBenchmarked(ExecutionStatistics.java:90)
at
org.jboss.windup.graph.service.GraphService.create(GraphService.java:87)
at
org.jboss.windup.config.RuleSubset.logTimeTakenByRuleProvider(RuleSubset.java:120)
at org.jboss.windup.config.RuleSubset.perform(RuleSubset.java:283)
... 25 more
Caused by:
com.thinkaurelius.titan.diskstorage.PermanentBackendException: Could not
start BerkeleyJE transaction
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.beginTransaction(BerkeleyJEStoreManager.java:144)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.beginTransaction(BerkeleyJEStoreManager.java:34)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.beginTransaction(OrderedKeyValueStoreManagerAdapter.java:52)
at
com.thinkaurelius.titan.diskstorage.Backend.beginTransaction(Backend.java:465)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.openBackendTransaction(StandardTitanGraph.java:282)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.newTransaction(StandardTitanGraph.java:272)
... 39 more
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73)
Environment must be closed, caused by:
com.sleepycat.je.EnvironmentFailureException: Environment invalid
because of previous exception: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
java.io.FileNotFoundException:
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph/00000001.jdb
(No space left on device) LOG_INTEGRITY: Log information is incorrect,
problem is likely persistent. UNEXPECTED_EXCEPTION_FATAL: Unexpected
internal Exception, unable to continue. Environment is invalid and must
be closed.
at
com.sleepycat.je.EnvironmentFailureException.wrapSelf(EnvironmentFailureException.java:196)
at
com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1512)
at com.sleepycat.je.Environment.checkEnv(Environment.java:2185)
at
com.sleepycat.je.Environment.beginTransactionInternal(Environment.java:1313)
at
com.sleepycat.je.Environment.beginTransaction(Environment.java:1284)
at
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.beginTransaction(BerkeleyJEStoreManager.java:134)
... 44 more
[CIRCULAR
REFERENCE:com.sleepycat.je.EnvironmentFailureException: Environment
invalid because of previous exception: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73)
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph
java.io.FileNotFoundException:
/home/cloud-user/migr/apps/***/****Agent.ear.report/graph/titangraph/00000001.jdb
(No space left on device) LOG_INTEGRITY: Log information is incorrect,
problem is likely persistent. UNEXPECTED_EXCEPTION_FATAL: Unexpected
internal Exception, unable to continue. Environment is invalid and must
be closed.]
***ERROR*** Error encountered while evaluating rule:
.addRule().when(Query.find(org.jboss.windup.rules.apps.xml.model.XmlFileModel).gremlin().has(fileName,EQUALS,pom.xml).as(default)).perform(Iteration.over(?).perform(ScanMavenProject)).withId("GeneratedID_DiscoverMavenProjectsRuleProvider_1")
From:
org.jboss.windup.rules.apps.java.scan.provider.DiscoverMavenProjectsRuleProvider
loaded from ModuleClassLoader for Module
"org.jboss.windup.rules.apps.windup-rules-java:2.3.0-SNAPSHOT_b5a66f3a-64a8-4833-89e3-3605a77cb86f"
from AddonModuleLoader
Defined in:
org.jboss.windup.rules.apps.java.scan.provider.DiscoverMavenProjectsRuleProvider.getConfiguration(DiscoverMavenProjectsRuleProvider.java:124)
[migr]$
9 years, 1 month
FileMapping.getId()
by Ondrej Zizka
@Override
public String getId()
{
return this.getClass().getName() + "_" +
UUID.randomUUID().toString();
}
Isn't it a potential problem that this returns different values on each
call?
Shouldn't it store a value once called? Or derive the value from, say, a
class object? Or just use Class#hashCode()?
And maybe this method's default impl should move to GraphRule?
What if we refrained from using UUID which gives unnecessary long
strings, and used RandomStringUtils.randomAlphanumeric(6) or such?
And lastly, this could be
Regards,
Ondra
9 years, 1 month
previously initiated loading for a different type with name "org/jboss/forge/furnace/util/Predicate"
by Ian Tewksbury
Lincoln and Jess,
I have spent another evening trying to defeat this class loading error with no luck.
What I have tried:
1. Debugging CompositeFurnaceClassLoader
1. changed #loadClass to #findClass as per ClassLoader suggestion , didn't help
2. put break point in #findClass to see how many times it is called for org.jboss.forge.furnace.util.Predicate, it is only being called once, and on that one call it is failing with the LinkageError, this makes 0 sense to me since the error says that it has already been loaded
3. Tried various combinations of checking to see if the class has already been loaded, no luck
4. Tried creating a cache of already loaded classes, didn't help, which makes sense because the #findClass method (or #loadClass if you dont use my change) only gets called once for this class.
2.
I have updated the windup-eclipse plugin to use the latest furnace version, 2.15.2.Final, didn't make a difference 3. I have updated the windup-eclipse plugin to use the latest Windup 2.2.0 Release, plus my changes to add default constructor to WindupService and FileService
4. I have stopped using my custom loadType function I was talking about earlier, that was a red hearing I believe
5. I have spent hours googling this error message with no solution path to be fund
At this point I am totally blocked. I don't know what to try next.
My latest code is here:
plugin - https://github.com/windup/windup-eclipse-plugin/tree/windup2
windup - https://github.com/itewk/windup/tree/windup-eclipse
* as a reminder you can't use SNAPSHOT versions for WINDUP when compiling the windup eclipse plugin with local changes to Windup because it will always pull the snapshot from the remote repository and ignore your local changes, unless using releases in which case maven looks at the local repo first
Has anyone been able to try and reproduce this themselves yet?
Has anyone been able to look over my WindupServices class to make sure I am properly using Forge/Furnace to access Windup?
I am either doing something really dumb on my end when trying to access Windup or there is a bug/logic error with the CompositeFurnaceClassLoader.
Blue Skies,
~Ian
!ENTRY org.eclipse.core.jobs 4 2 2015-03-27 08:04:51.234
!MESSAGE An internal error occurred during: "Validating".
!STACK 0
java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/tools/forge/core/internal/furnace/CompositeFurnaceClassLoader) previously initiated loading for a different type with name "org/jboss/forge/furnace/util/Predicate"
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
at java.lang.Class.getDeclaredMethods(Class.java:1860)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.SecurityActions.getDeclaredMethods(SecurityActions.java:30)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.RuntimeSupport.findMethod2(RuntimeSupport.java:134)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.RuntimeSupport.findMethod(RuntimeSupport.java:65)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.RuntimeSupport.find2Methods(RuntimeSupport.java:53)
at org.jboss.windup.exec.configuration.WindupConfiguration_$$_javassist_bdf99157-4ab9-4bb9-a9ec-03565e9d16d6.<clinit>(WindupConfiguration_$$_javassist_bdf99157-4ab9-4bb9-a9ec-03565e9d16d6.java)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
at java.lang.reflect.Field.set(Field.java:741)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:525)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:508)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:492)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:428)
at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:400)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$3.call(ClassLoaderAdapterCallback.java:987)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:900)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceResult(ClassLoaderAdapterCallback.java:253)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$200(ClassLoaderAdapterCallback.java:37)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at org.jboss.forge.furnace.services.Imported_$$_javassist_48ac554d-8d60-4d09-8f17-c0a42f2c85b7.get(Imported_$$_javassist_48ac554d-8d60-4d09-8f17-c0a42f2c85b7.java)
at org.jboss.tools.forge.core.furnace.FurnaceService.lookup(FurnaceService.java:96)
at org.jboss.tools.windup.core.WindupService.getServiceFromFurnace(WindupService.java:485)
at org.jboss.tools.windup.core.WindupService.generateGraph(WindupService.java:226)
at org.jboss.tools.windup.core.WindupService.getGraph(WindupService.java:301)
at org.jboss.tools.windup.core.WindupService.getInlineHints(WindupService.java:103)
at org.jboss.tools.windup.core.internal.validators.WindupValidator.validate(WindupValidator.java:81)
at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:810)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
at org.eclipse.wst.validation.internal.ValidationRunner.execute(ValidationRunner.java:134)
at org.eclipse.wst.validation.internal.ValidationRunner.validate(ValidationRunner.java:68)
at org.eclipse.wst.validation.ui.internal.ManualValidationRunner.runInWorkspace(ManualValidationRunner.java:83)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
9 years, 1 month
PreRulesetEvaluation?
by Ondrej Zizka
Hi,
PreRulesetEvaluation is used in WindupProcessorImpl - called on all
Rules that imlement that, before calling
ruleSubset.perform(event, createEvaluationContext());
Is this where we technically initialize the rule subset?
Because if it can be for each rule, then it would be, effectively,
another phase, before Initialize.
In that case, wouldn't it be a cleaner design to let this happen in rule
subset specific class?
Regards,
Ondra
9 years, 1 month