Can't debug
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Tue Nov 10, 2009 1:03 am
Can't debug
Post by mate_stubb »
Hi folks,
I'm evaluating the Eclipse <oXygen/> plugin on OSX and have a strange problem which prevents me from debugging.
Whenever I switch to the XSLT Debugger perspective, it does not create the 3 pane window set shown in the tutorials. I get the Output panel on the right and a tabbed set of whatever I have open on the left. The XSLT Debugger settings panel will not let me select an xslt file - all it shows is the currently open .xml files.
No matter how many xsl or xslt files I open in XML perspective before switching to XSLT Debugger perspective, I can't assign a stylesheet in the control panel.
I'm evaluating the Eclipse <oXygen/> plugin on OSX and have a strange problem which prevents me from debugging.
Whenever I switch to the XSLT Debugger perspective, it does not create the 3 pane window set shown in the tutorials. I get the Output panel on the right and a tabbed set of whatever I have open on the left. The XSLT Debugger settings panel will not let me select an xslt file - all it shows is the currently open .xml files.
No matter how many xsl or xslt files I open in XML perspective before switching to XSLT Debugger perspective, I can't assign a stylesheet in the control panel.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Can't debug
Post by sorin_ristache »
Hello,
I tried to reproduce the problem on a Mac computer but the 3 panels are displayed correctly: the XML files, the XSLT files, the Output panel.
If you installed the zip distribution of the Oxygen plugin: did you install the correct zip for your Eclipse version? There is an Eclipse 3.3 zip distribution and an Eclipse 3.4/3.5 one. What is the build number of the Oxygen plugin? It is displayed in the Preferences dialog of Eclipse, in the Oxygen panel.
What is your Eclipse build ID? You can find it in the dialog About Eclipse SDK pressing the button Installation Details and going to the Configuration tab of the dialog Installation Details.
Does the view Error Log display any error about the com.oxygenxml.editor plugin?
Regards,
Sorin
I tried to reproduce the problem on a Mac computer but the 3 panels are displayed correctly: the XML files, the XSLT files, the Output panel.
If you installed the zip distribution of the Oxygen plugin: did you install the correct zip for your Eclipse version? There is an Eclipse 3.3 zip distribution and an Eclipse 3.4/3.5 one. What is the build number of the Oxygen plugin? It is displayed in the Preferences dialog of Eclipse, in the Oxygen panel.
What is your Eclipse build ID? You can find it in the dialog About Eclipse SDK pressing the button Installation Details and going to the Configuration tab of the dialog Installation Details.
Does the view Error Log display any error about the com.oxygenxml.editor plugin?
Regards,
Sorin
-
- Posts: 4
- Joined: Tue Nov 10, 2009 1:03 am
Re: Can't debug
Post by mate_stubb »
The Eclipse build id is M20090917-0800, the tar was eclipse-jee-galileo-SR1-macosx-cocoa-x86_64.tar.gz
<oXygen/> shows as XML Editor 11.0, build: 2009110412
I am seeing some interesting exception lines in the error log, for example:
!ENTRY org.eclipse.osgi 2 0 2009-11-06 15:12:17.577
!MESSAGE While loading class "com.oxygenxml.editor.E$1", thread "Thread[Opened editors lock manager,1,main]" timed out waiting (5000ms) for thread "Thread[main,6,main]" to finish starting bundle "com.oxygenxml.editor_11.0.0 [685]". To avoid deadlock, thread "Thread[Opened editors lock manager,1,main]" is proceeding but "com.oxygenxml.editor.E$1" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:dropins/com.oxygenxml.editor_11.0.0/plugins/com.oxygenxml.editor_11.0.0/" by thread "main".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
at com.oxygenxml.editor.E.Ỹ(Unknown Source)
at ro.sync.exml.editor.H.ข(Unknown Source)
at ro.sync.ui.G.Q.run(Unknown Source)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
... 16 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
at com.oxygenxml.editor.E.Ỹ(Unknown Source)
at ro.sync.exml.editor.H.ข(Unknown Source)
at ro.sync.ui.G.Q.run(Unknown Source)
then there are several like this:
!ENTRY org.eclipse.ui.workbench 2 0 2009-11-07 13:53:23.564
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-07 13:53:23.564
!MESSAGE Conflict for 'com.oxygenxml.editor.selectContent':
HandlerActivation(commandId=com.oxygenxml.editor.selectContent,
handler=LegacyHandlerWrapper(ActionHandler(action=com.oxygenxml.editor.editors.xml.S$_A@2b67556e)),
expression=LegacyHandlerSubmission(Shell {oXygen XML - exporter/src/sample data/wfmltable.xml - Eclipse - /Users/dave/Documents/dev/projects/ec2},null,PartSite(id=com.oxygenxml.editor.editors.xml.XMLGridEditor,pluginId=com.oxygenxml.editor,registeredName=Oxygen XML Editor,hashCode=473176976)),sourcePriority=67113984)
HandlerActivation(commandId=com.oxygenxml.editor.selectContent,
handler=LegacyHandlerWrapper(ActionHandler(action=com.oxygenxml.editor.editors.xml.S$_A@2b67556e)),
expression=LegacyHandlerSubmission(Shell {oXygen XML - exporter/src/sample data/wfmltable.xml - Eclipse - /Users/dave/Documents/dev/projects/ec2},null,PartSite(id=com.oxygenxml.editor.editors.xml.XMLGridEditor,pluginId=com.oxygenxml.editor,registeredName=Oxygen XML Editor,hashCode=473176976)),sourcePriority=67113984)
<oXygen/> shows as XML Editor 11.0, build: 2009110412
I am seeing some interesting exception lines in the error log, for example:
!ENTRY org.eclipse.osgi 2 0 2009-11-06 15:12:17.577
!MESSAGE While loading class "com.oxygenxml.editor.E$1", thread "Thread[Opened editors lock manager,1,main]" timed out waiting (5000ms) for thread "Thread[main,6,main]" to finish starting bundle "com.oxygenxml.editor_11.0.0 [685]". To avoid deadlock, thread "Thread[Opened editors lock manager,1,main]" is proceeding but "com.oxygenxml.editor.E$1" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:dropins/com.oxygenxml.editor_11.0.0/plugins/com.oxygenxml.editor_11.0.0/" by thread "main".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
at com.oxygenxml.editor.E.Ỹ(Unknown Source)
at ro.sync.exml.editor.H.ข(Unknown Source)
at ro.sync.ui.G.Q.run(Unknown Source)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
... 16 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
at com.oxygenxml.editor.E.Ỹ(Unknown Source)
at ro.sync.exml.editor.H.ข(Unknown Source)
at ro.sync.ui.G.Q.run(Unknown Source)
then there are several like this:
!ENTRY org.eclipse.ui.workbench 2 0 2009-11-07 13:53:23.564
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-07 13:53:23.564
!MESSAGE Conflict for 'com.oxygenxml.editor.selectContent':
HandlerActivation(commandId=com.oxygenxml.editor.selectContent,
handler=LegacyHandlerWrapper(ActionHandler(action=com.oxygenxml.editor.editors.xml.S$_A@2b67556e)),
expression=LegacyHandlerSubmission(Shell {oXygen XML - exporter/src/sample data/wfmltable.xml - Eclipse - /Users/dave/Documents/dev/projects/ec2},null,PartSite(id=com.oxygenxml.editor.editors.xml.XMLGridEditor,pluginId=com.oxygenxml.editor,registeredName=Oxygen XML Editor,hashCode=473176976)),sourcePriority=67113984)
HandlerActivation(commandId=com.oxygenxml.editor.selectContent,
handler=LegacyHandlerWrapper(ActionHandler(action=com.oxygenxml.editor.editors.xml.S$_A@2b67556e)),
expression=LegacyHandlerSubmission(Shell {oXygen XML - exporter/src/sample data/wfmltable.xml - Eclipse - /Users/dave/Documents/dev/projects/ec2},null,PartSite(id=com.oxygenxml.editor.editors.xml.XMLGridEditor,pluginId=com.oxygenxml.editor,registeredName=Oxygen XML Editor,hashCode=473176976)),sourcePriority=67113984)
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Can't debug
Post by sorin_ristache »
I think that was a milestone build published before the final stable build of Eclipse 3.5.1. Please download and install the stable build which is 20090920-1017 because I tried with this build and I could not reproduce the problem. The three panels are visible and I can switch the XML and the XSL in the combo boxes from the debugger toolbar.mate_stubb wrote:The Eclipse build id is M20090917-0800, the tar was eclipse-jee-galileo-SR1-macosx-cocoa-x86_64.tar.gz
That is only a warning that the Oxygen plugin was not initialized completely in 5 seconds.mate_stubb wrote:I am seeing some interesting exception lines in the error log, for example:
!ENTRY org.eclipse.osgi 2 0 2009-11-06 15:12:17.577
!MESSAGE While loading class "com.oxygenxml.editor.E$1", thread "Thread[Opened editors lock manager,1,main]" timed out waiting (5000ms) for thread "Thread[main,6,main]" to finish starting bundle "com.oxygenxml.editor_11.0.0 [685]". To avoid deadlock, thread "Thread[Opened editors lock manager,1,main]" is proceeding but "com.oxygenxml.editor.E$1" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:dropins/com.oxygenxml.editor_11.0.0/plugins/com.oxygenxml.editor_11.0.0/" by thread "main".
I could not reproduce that. Try also Eclipse build 20090920-1017 and see if you get the problem.mate_stubb wrote:!ENTRY org.eclipse.ui.workbench 2 0 2009-11-07 13:53:23.564
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-07 13:53:23.564
!MESSAGE Conflict for 'com.oxygenxml.editor.selectContent':
HandlerActivation(commandId=com.oxygenxml.editor.selectContent,
handler=LegacyHandlerWrapper(ActionHandler(action=com.oxygenxml.editor.editors.xml.S$_A@2b67556e)),
expression=LegacyHandlerSubmission(Shell {oXygen XML - exporter/src/sample data/wfmltable.xml - Eclipse - /Users/dave/Documents/dev/projects/ec2},null,PartSite(id=com.oxygenxml.editor.editors.xml.XMLGridEditor,pluginId=com.oxygenxml.editor,registeredName=Oxygen XML Editor,hashCode=473176976)),sourcePriority=67113984)
HandlerActivation(commandId=com.oxygenxml.editor.selectContent,
Regards,
Sorin
-
- Posts: 4
- Joined: Tue Nov 10, 2009 1:03 am
Re: Can't debug
Post by mate_stubb »
Thanks, will try that.
One other piece of information: when I create a new stylesheet from within the debugger perspective, it does immediately show up in a middle panel and becomes selected in the control panel.
I just can't get any of the stylesheets from the svn project to be recognized.
Dave
One other piece of information: when I create a new stylesheet from within the debugger perspective, it does immediately show up in a middle panel and becomes selected in the control panel.
I just can't get any of the stylesheets from the svn project to be recognized.
Dave
-
- Posts: 4
- Joined: Tue Nov 10, 2009 1:03 am
Re: Can't debug
Post by mate_stubb »
Got it running fine now by installing it into FlexBuilder 3, which is the main environment for my other development.
Thanks for the suggestions - it must have been an incompatibility with the particular version of Eclipse I was trying to use.
Thanks for the suggestions - it must have been an incompatibility with the particular version of Eclipse I was trying to use.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Can't debug
Post by sorin_ristache »
The middle panel shows only the files that are opened with Oxygen XSL Editor. If you open a stylesheet by right click and select Open With -> Oxygen XSL Editor it should be displayed in the panel of XSLT stylesheets not the panel of XML documents.mate_stubb wrote:I just can't get any of the stylesheets from the svn project to be recognized.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service