[opencms-dev] error when installing OpenCms Module Developer in Eclipse

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Wed Oct 21 18:39:59 CEST 2009


On Wed, Oct 21, 2009 at 06:28:52PM +0200, Gregor Schneider wrote:
> Christoph,
> 
> if there's nothing in the Tomcat-Logs, I figure it's an Eclipse-issue
> - maybe you have a plugin installed which is giving you this headache?
> 
> Try to download the vanilla Eclipse-Galileo-JEE-installation
> (http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip).
> 
> Be sure to delete your old installation AND your old workspace first
> before unzipping Eclipse.
> 
> The Eclipse-logs are located in your [Eclipse_Workspace]/.metadata:
> 
> There you'll find a file named ".log"
> 
> HTH
> 
> Gregor


Thanks, Gregor,

actually I'm new to Eclipse and didn't install anything before.
I installed it freshly the other day and the first module I installed
was the OpenCms Module Developer.

Here is the log, sorry for the length:

!SESSION 2009-10-21 18:37:52.640
-----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:38:46.250
!MESSAGE java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
!STACK 0
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.java:47)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.CreateProjectPage$3$1.run(CreateProjectPage.java:199)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
	at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:200)
	at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
	at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
	at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
	at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
	at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
	at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
	at org.opencms.main.Communicator.<init>(Communicator.java:139)
	at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
	... 7 more
Root exception:
java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
	at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:200)
	at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
	at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
	at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
	at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
	at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
	at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
	at org.opencms.main.Communicator.<init>(Communicator.java:139)
	at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.java:47)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.CreateProjectPage$3$1.run(CreateProjectPage.java:199)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:38:46.250
!MESSAGE java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
!STACK 0
java.lang.IllegalAccessError: tried to access method
org.apache.commons.digester.Digester.pushParams(Ljava/lang/Object;)V
from class org.opencms.configuration.CmsSetNextRule
	at
org.opencms.configuration.CmsSetNextRule.begin(CmsSetNextRule.java:200)
	at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
	at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
	at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
	at
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
	at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:970)
	at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1733)
	at org.opencms.main.Communicator.<init>(Communicator.java:139)
	at
org.opencms.main.Communicator.getInstance(Communicator.java:191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.opencms.main.CommunicatorUtils.getCommunicator(CommunicatorUtils.java:47)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.CreateProjectPage$3$1.run(CreateProjectPage.java:199)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:38:49.812
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.reflect.InvocationTargetException
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:99)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.IllegalArgumentException: Path for project must
have only one segment.
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
	... 1 more
Root exception:
java.lang.IllegalArgumentException: Path for project must have only one
segment.
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:38:49.812
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.IllegalArgumentException: Path for project must have only one
segment.
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY info.rsdev.eclipse.opencms.module.developer 4 4 2009-10-21
18:38:52.109
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.reflect.InvocationTargetException
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:99)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.IllegalArgumentException: Path for project must
have only one segment.
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
	... 1 more
Root exception:
java.lang.IllegalArgumentException: Path for project must have only one
segment.
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!SUBENTRY 1 info.rsdev.eclipse.opencms.module.developer 4 0 2009-10-21
18:38:52.109
!MESSAGE java.lang.IllegalArgumentException: Path for project must have
only one segment.
!STACK 0
java.lang.IllegalArgumentException: Path for project must have only one
segment.
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:181)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.createNewModule(NewModuleWizard.java:126)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard.access$1(NewModuleWizard.java:119)
	at
info.rsdev.eclipse.opencms.module.developer.wizards.NewModuleWizard$1.run(NewModuleWizard.java:97)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list