It's all about the answers!

Ask a question

Problem with Flex3 plugin


Kim Eunjung (6) | asked Jul 30 '08, 6:00 a.m.
I have problem with flex in jazz.

I get Rational Team Concert, Express-C.
And I installed flex3 plugin to eclipse folder in jazz client.

I can make project, named 'testProject', and make Flex application code.

But, when I try to run Flex application, it can't.

For execution, flex project has files(e.g. testProject.html, testProject.swf. AC_OETags.js, playerProductInstall.swf) and folder(named history) in 'bin-debug' folder.
But,
Flex3 in jazz client does not make files, folder in bin-debug folder.

Thanks for your attention and help in advance.

Eunjung

5 answers



permanent link
Dmitry Karasik (1.8k11) | answered Jul 30 '08, 6:00 a.m.
JAZZ DEVELOPER
On Wed, 30 Jul 2008 10:08:02 +0000, whitecat wrote:

I have problem with flex in jazz.

Do you get some kind of error message/stack trace?

- Dmitry

permanent link
Matt Lavin (2.7k2) | answered Jul 30 '08, 8:18 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The people who provide the flex3 plugin would probably be able to give
you better advise on diagnosing it's failure, but I can walk you through
the 'usual' problem diagnosing steps for Eclipse.

The two questions that first come to my mind are: (1) Does the flex3
plugin find all of it's plugin dependencies correctly and (2) is there a
runtime error when you try to run the Flex3 application.

Both questions should be answered by looking in the Eclipse log. Can
you make the <your>/.metadata/.log file available to look at?

whitecat wrote:
I have problem with flex in jazz.

I get Rational Team Concert, Express-C.
And I installed flex3 plugin to eclipse folder in jazz client.

I can make project, named 'testProject', and make Flex application
code.

But, when I try to run Flex application, it can't.

For execution, flex project has files(e.g. testProject.html,
testProject.swf. AC_OETags.js, playerProductInstall.swf) and
folder(named history) in 'bin-debug' folder.
But,
Flex3 in jazz client does not make files, folder in bin-debug folder.

Thanks for your attention and help in advance.

Eunjung

permanent link
Kim Eunjung (6) | answered Jul 30 '08, 10:22 p.m.
I appreciate your help.

.metadata/.log file is...

!ENTRY com.adobe.flexbuilder.project 4 43 2008-07-31 02:05:35.500
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.IllegalAccessError: org.apache.xerces.util.XMLAttributesImpl$Attribute
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:589)
at java.net.URLClassLoader.access$400(URLClassLoader.java:123)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1034)
at java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
at com.adobe.flexbuilder.project.sdks.FlexClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
at org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.<init>(XMLDocumentFragmentScannerMMImpl.java:105)
at org.apache.xerces.impl.XMLDocumentScannerMMImpl.<init>(XMLDocumentScannerMMImpl.java:258)
at org.apache.xerces.impl.XMLNSDocumentScannerMMImpl.<init>(XMLNSDocumentScannerMMImpl.java:120)
at org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.createDocumentScanner(IntegratedParserConfigurationMMImpl.java:282)
at org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.<init>(IntegratedParserConfigurationMMImpl.java:193)
at org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:182)
at org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:139)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at com.adobe.flexbuilder.project.internal.FlexConfigFile.parseFlexConfigFile(Unknown Source)
at com.adobe.flexbuilder.project.internal.FlexConfigFile.getDocument(Unknown Source)
at com.adobe.flexbuilder.project.ClassPathEntryFactory$FlexSDKClasspathEntry.getChildLibrariesWithDefaultLinkage(Unknown Source)
at com.adobe.flexbuilder.project.ClassPathEntryFactory$FlexSDKClasspathEntry.getChildLibraries(Unknown Source)
at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.computeCompilerLibraryPath(Unknown Source)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.applySettings(ASBuilder.java:244)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.setup(ASApplicationBuilder.java:66)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.setup(ASItemBuilder.java:53)
at com.adobe.flexbuilder.project.compiler.BuilderFactory.createBuilder(Unknown Source)
at com.adobe.flexbuilder.project.compiler.BuilderManager.getBuilder(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.preBuild(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY com.adobe.flexbuilder.project 4 43 2008-07-31 02:05:39.906
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.IllegalAccessError: org.apache.xerces.util.XMLAttributesImpl$Attribute
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:589)
at java.net.URLClassLoader.access$400(URLClassLoader.java:123)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1034)
at java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
at com.adobe.flexbuilder.project.sdks.FlexClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
at org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.<init>(XMLDocumentFragmentScannerMMImpl.java:105)
at org.apache.xerces.impl.XMLDocumentScannerMMImpl.<init>(XMLDocumentScannerMMImpl.java:258)
at org.apache.xerces.impl.XMLNSDocumentScannerMMImpl.<init>(XMLNSDocumentScannerMMImpl.java:120)
at org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.createDocumentScanner(IntegratedParserConfigurationMMImpl.java:282)
at org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.<init>(IntegratedParserConfigurationMMImpl.java:193)
at org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:182)
at org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:139)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at com.adobe.flexbuilder.project.internal.FlexConfigFile.parseFlexConfigFile(Unknown Source)
at com.adobe.flexbuilder.project.internal.FlexConfigFile.getDocument(Unknown Source)
at com.adobe.flexbuilder.project.ClassPathEntryFactory$FlexSDKClasspathEntry.getChildLibrariesWithDefaultLinkage(Unknown Source)
at com.adobe.flexbuilder.project.ClassPathEntryFactory$FlexSDKClasspathEntry.getChildLibraries(Unknown Source)
at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.computeCompilerLibraryPath(Unknown Source)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.applySettings(ASBuilder.java:244)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.setup(ASApplicationBuilder.java:66)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.setup(ASItemBuilder.java:53)
at com.adobe.flexbuilder.project.compiler.BuilderFactory.createBuilder(Unknown Source)
at com.adobe.flexbuilder.project.compiler.BuilderManager.getBuilder(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.preBuild(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

permanent link
Dmitry Karasik (1.8k11) | answered Jul 31 '08, 3:35 a.m.
JAZZ DEVELOPER
On Thu, 31 Jul 2008 02:27:52 +0000, whitecat wrote:

java.lang.IllegalAccessError:
org.apache.xerces.util.XMLAttributesImpl$Attribute

Looks like the XMLAttributesImpl class you compile against is not the
same one you run against.

- Dmitry

permanent link
ChangWoo Jung (1111) | answered Sep 29 '08, 12:23 a.m.
This is due to the IBM Java SDK using a different Xerces version then the one Flex Builder needs. It could be sort of workaround the problem.

Please modify TeamConcert.ini like below. (under \jazz\client\eclipse)


-Xbootclasspath/a:c:\progra~1\adobe\flexbu~1\sdks\3.1.0\lib\xercesImpl.jar

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.