Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » compile, and generate and deploy failures
compile, and generate and deploy failures [message #573346] Fri, 05 December 2003 14:44
Eclipse UserFriend
Originally posted by: KLHolmes.open-iq.com

I have a seemingly random problem compiling some of the projects in my
workspace. Some projects will compile fine, others will consistently fail,
and I cant find the difference between them.

An AspectJ Error window pops up with "Compile failed. Reason: Compile
Failed"

As usual it seems to be a classpath problem, at the bottom I've attached
the resulting stacktrace from the .metadata/.log file.

I wondered if it might occur in projects which have no source files of
their own. All the projects in question are EJB projects which only hold
deployment descriptors and generated source files. Although there other
similar projects which compile just fine.

We're using WSAD 5.1 and any "generate and deploy" on an EJB project pops
up a "Cannot Generate Deployment Code" error with the following text
"Deployment of Player-Commerce-ejb did not complete successfully due to
the following error : java.lang.NullPointerException" This generates the
second stack trace listed below in the .metadata/.log file.

any ideas ?

regards,
Kevin Holmes.

!ENTRY org.eclipse.ajdt.ui 4 0 Dec 05, 2003 14:22:57.578
!MESSAGE Compile failed.
!STACK 0
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NullPointerException.<init>(NullPointerException.java:63)
at
org.eclipse.jdt.internal.launching.JRERuntimeClasspathEntryR esolver.resolveLibraryLocations(JRERuntimeClasspathEntryReso lver.java:51)
at
org.eclipse.jdt.internal.launching.JRERuntimeClasspathEntryR esolver.resolveRuntimeClasspathEntry(JRERuntimeClasspathEntr yResolver.java:43)
at
org.eclipse.jdt.internal.launching.RuntimeClasspathEntryReso lver.resolveRuntimeClasspathEntry(RuntimeClasspathEntryResol ver.java:81)
at
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspat hEntry(JavaRuntime.java:879)
at
org.eclipse.ajdt.internal.ui.ajde.ProjectProperties.getClass path(ProjectProperties.java:205)
at org.eclipse.ajdt.internal.builder.Builder.build(Builder.java :150)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:427)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java)
at org.eclipse.core.runtime.Platform.run(Platform.java)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:125)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:181)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:191)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:151)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java)
at org.eclipse.core.runtime.Platform.run(Platform.java)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:165)
at
org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:265)
at org.eclipse.core.internal.resources.Project.build(Project.ja va:85)
at
org.eclipse.ui.actions.BuildAction.invokeOperation(BuildActi on.java:156)
at
org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceActi on.java:122)
at
org.eclipse.ui.actions.WorkspaceAction$1.execute(WorkspaceAc tion.java:279)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1595)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:85)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:101)






!ENTRY com.ibm.etools.ejbdeploy 4 0 Dec 05, 2003 14:44:44.421
!MESSAGE
!STACK 0
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NullPointerException.<init>(NullPointerException.java:63)
at
com.ibm.etools.ejbdeploy.plugin.JavacOperation.run(JavacOper ation.java:86)
at
com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation. javac(DeployRMICBeansOperation.java:483)
at
com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation. run(DeployRMICBeansOperation.java:561)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1595)
at
com.ibm.etools.ejbdeploy.ui.plugin.DeployRunnableWithProgres s.run(DeployRunnableWithProgress.java:92)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:101)
Previous Topic:Tasks for Java Compiler Errors in AspectJ Projects
Next Topic:AJDT in WSAD5.0.1: compile failed
Goto Forum:
  


Current Time: Wed Feb 21 04:09:39 GMT 2018

Powered by FUDForum. Page generated in 0.02373 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software