[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: AssertionException while creating new empty project in Platform

Hi,
My collegue met the same problem and solved by adding "org.eclipse.core.runtime.compatibility" plug-in to dependencies, hope it helps.


Regards,
Hao

Lukas Zapletal wrote:
Hi, when I run my Eclipse Platform application and I try to create new empty general project I am getting these exceptions during the New project dialog. The project is not created then.

!SESSION 2008-10-06 15:20:26.741 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=cs_CZ
Framework arguments:  -product com.pike.puma.rcpapp.product
Command-line arguments:  -product com.pike.puma.rcpapp.product -data C:\wkc\s34/../runtime-puma.product -dev file:C:/wkc/s34/.metadata/.plugins/org.eclipse.pde.core/puma.product/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.resources 2 10035 2008-10-06 15:20:29.303
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2008-10-06 15:20:29.928
!MESSAGE Could not locate the running profile instance

!ENTRY org.eclipse.core.commands 4 2 2008-10-06 15:20:42.694
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.commands".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
	at org.eclipse.core.commands.operations.AbstractOperation.hasContext(AbstractOperation.java:153)
	at org.eclipse.ui.operations.OperationHistoryActionHandler$HistoryListener.historyNotification(OperationHistoryActionHandler.java:130)
	at org.eclipse.core.commands.operations.DefaultOperationHistory$2.run(DefaultOperationHistory.java:929)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.notifyListeners(DefaultOperationHistory.java:918)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.notifyAdd(DefaultOperationHistory.java:980)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.add(DefaultOperationHistory.java:190)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:528)
	at org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard$2.run(BasicNewProjectResourceWizard.java:236)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY org.eclipse.core.commands 4 2 2008-10-06 15:20:42.709
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.commands".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
	at org.eclipse.core.commands.operations.AbstractOperation.hasContext(AbstractOperation.java:153)
	at org.eclipse.ui.operations.OperationHistoryActionHandler$HistoryListener.historyNotification(OperationHistoryActionHandler.java:130)
	at org.eclipse.core.commands.operations.DefaultOperationHistory$2.run(DefaultOperationHistory.java:929)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.notifyListeners(DefaultOperationHistory.java:918)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.notifyAdd(DefaultOperationHistory.java:980)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.add(DefaultOperationHistory.java:190)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:528)
	at org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard$2.run(BasicNewProjectResourceWizard.java:236)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)