Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Error on JavaScript File - Unable to Deploy Web Project(Error on JavaScript File - Unable to Deploy Web Project)
icon4.gif  Error on JavaScript File - Unable to Deploy Web Project [message #789250] Thu, 02 February 2012 19:34 Go to next message
Kunal Kishan is currently offline Kunal Kishan
Messages: 3
Registered: February 2012
Junior Member
Hi,

I am trying to build a Web Project which contains RichFaces javaScripts. The RichFaces js that is causing the issue is ui.pack.js ( RichFaces 3.2 GA ).

Eclipse shows an error (StackTrace below) on this js file and never deploys my application.

Here is the Eclipse Version I am using :

Version: Indigo Service Release 1
Build id: 20110916-0149

Any clues ?


The stack trace is as below :

Internal validation error java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitBinding.sourceMethod(CompilationUnitBinding.java:83) at
org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.sourceMethod(MethodBinding.java:553) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1068) at
org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1054) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:779) at
org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:623) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:638) at
org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1635) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:325) at
org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.resolveType(Assignment.java:160) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:477) at
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:350) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:137) at
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:304) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:375) at
org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:58) at org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteralField.resolveType(ObjectLiteralField.java:70) at
org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteral.resolveType(ObjectLiteral.java:80) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:279) at
org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:477) at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:394) at
org.eclipse.wst.jsdt.internal.compiler.Compiler.process(Compiler.java:604) at org.eclipse.wst.jsdt.internal.compiler.Compiler.compile(Compiler.java:356) at
org.eclipse.wst.jsdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:288) at org.eclipse.wst.jsdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:86) at
org.eclipse.wst.jsdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:227) at org.eclipse.wst.jsdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:58) at
org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:291) at org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:194) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:
728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513) at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422) at
oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.checkAutoBuild(WeblogicServerBehaviour.java:1071) at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:
678) at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:539) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774) at
org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3027) at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:341) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Re: Error on JavaScript File - Unable to Deploy Web Project [message #789304 is a reply to message #789250] Thu, 02 February 2012 20:53 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2314
Registered: July 2009
Senior Member
Sounds like the exception while building is http://bugs.eclipse.org/366247 , but it's your Web Logic plug-ins that are forcing a build and refusing to deploy.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Error on JavaScript File - Unable to Deploy Web Project [message #789954 is a reply to message #789304] Fri, 03 February 2012 16:05 Go to previous messageGo to next message
Kunal Kishan is currently offline Kunal Kishan
Messages: 3
Registered: February 2012
Junior Member
Would it be the Weblogic Plugin that builds eventhough you go to Project -> Build Project ? I doubt that.
Re: Error on JavaScript File - Unable to Deploy Web Project [message #790960 is a reply to message #789954] Sun, 05 February 2012 03:55 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2314
Registered: July 2009
Senior Member
The stack trace shows it attempting to build when you publish.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:[Axis2 PlugIn] Output path without src and Proxy classes
Next Topic:eclipse & sts cannot start tomcat: ports already in use
Goto Forum:
  


Current Time: Fri Oct 31 05:13:10 GMT 2014

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

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