Re: Troubles with com.webobjects.jspservlet
Re: Troubles with com.webobjects.jspservlet
- Subject: Re: Troubles with com.webobjects.jspservlet
- From: Filippo Laurìa <email@hidden>
- Date: Wed, 15 May 2013 15:29:21 +0200
2013/5/15 Pascal Robert <email@hidden>:
>> I think that this error is due to a bug of WOLips37Stable while
>> generating "JAR Project". This because when trying to generate a new
>> "JAR Project" (or simply when accessing JAR project implementing
>> net.sf.webcat package) I get the same error described here [2]. So I
>> decided to replace this sources with pre-built jar got from
>> distributed war file of Web-CAT and it goes fine, without any
>> exception.
>
> Jar Project? I don't think that's the good thing to do, you should try with a Wonder Application application type. I'm not sure a Jar Project will create a WAR correctly.
>
Well, the entire system is a set of subsystems, some of them are Frameworks.
This particular subsystem (that one that failed) is a JAR Project.
WAR file is generated, with a build.xml script of a "holding Wonder
Application". This ant file places Frameworks into
WEB-INF/App.woa/Contents/Library/Frameworks and jar file generated
into WEB-INF/lib/MyJar.jar
Looking at eclipse log it seems that some boolean properties are
missing, is that this fact can be the cause of an incorrect build of
JAR Project?
>> Here you can find some of the eclipse log:
>>
>> this for creation of new JAR project:
>> --
>> !SESSION 2013-05-12 23:09:28.135 -----------------------------------------------
>> eclipse.buildId=M20120208-0800
>> java.version=1.7.0_21
>> java.vendor=Oracle Corporation
>> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=it_IT
>> Framework arguments: -product org.eclipse.epp.package.jee.product
>> Command-line arguments: -os linux -ws gtk -arch x86_64 -product
>> org.eclipse.epp.package.jee.product
>>
>> !ENTRY org.objectstyle.wolips.wizards.WizardsPluginResources 4 4
>> 2013-05-12 23:12:56.922
>> !MESSAGE Internal Error
>> !STACK 0
>> java.lang.NullPointerException
>> at org.objectstyle.wolips.wizards.NewWOProjectWizard$InstallProjectTemplateOperation.createFrameworksSupport(NewWOProjectWizard.java:963)
>> at org.objectstyle.wolips.wizards.NewWOProjectWizard$InstallProjectTemplateOperation.finishInstallTemplate(NewWOProjectWizard.java:896)
>> at org.objectstyle.wolips.templateengine.InstallTemplateOperation.execute(InstallTemplateOperation.java:68)
>> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
>> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
>> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>>
>> !ENTRY org.eclipse.ui.ide 4 0 2013-05-12 23:12:57.625
>> !MESSAGE java.lang.RuntimeException: Failed to create project.
>> !STACK 0
>> java.lang.RuntimeException: Failed to create project.
>> at org.objectstyle.wolips.templateengine.InstallTemplateOperation.execute(InstallTemplateOperation.java:73)
>> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
>> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
>> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>> Caused by: org.eclipse.swt.SWTException: Invalid thread access
>> at org.eclipse.swt.SWT.error(SWT.java:4282)
>> at org.eclipse.swt.SWT.error(SWT.java:4197)
>> at org.eclipse.swt.SWT.error(SWT.java:4168)
>> at org.eclipse.swt.widgets.Widget.error(Widget.java:466)
>> at org.eclipse.swt.widgets.Shell.<init>(Shell.java:263)
>> at org.eclipse.swt.widgets.Shell.<init>(Shell.java:359)
>> at org.eclipse.jface.window.Window.createShell(Window.java:487)
>> at org.eclipse.jface.window.Window.create(Window.java:430)
>> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
>> at org.eclipse.jface.window.Window.open(Window.java:790)
>> at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:360)
>> at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:424)
>> at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:389)
>> at org.objectstyle.wolips.wizards.NewWOProjectWizard$InstallProjectTemplateOperation.createFrameworksSupport(NewWOProjectWizard.java:966)
>> at org.objectstyle.wolips.wizards.NewWOProjectWizard$InstallProjectTemplateOperation.finishInstallTemplate(NewWOProjectWizard.java:896)
>> at org.objectstyle.wolips.templateengine.InstallTemplateOperation.execute(InstallTemplateOperation.java:68)
>> ... 4 more
>> --
>>
>> and this for accessing an already created JAR project:
>>
>> --
>> !ENTRY org.eclipse.core.resources 4 75 2013-05-12 23:12:59.343
>> !MESSAGE Errors occurred during the build.
>> !SUBENTRY 1 org.objectstyle.wolips 4 75 2013-05-12 23:12:59.343
>> !MESSAGE Errors running builder 'WOLips Ant Builder' on project 'MyBootstrap'.
>> !STACK 0
>> java.lang.NullPointerException
>> at org.objectstyle.wolips.wodclipse.core.builder.WodBuilder.getBooleanProperty(WodBuilder.java:108)
>> at org.objectstyle.wolips.wodclipse.core.builder.WodBuilder.buildStarted(WodBuilder.java:126)
>> at org.objectstyle.wolips.core.resources.internal.build.Builder.notifyBuilderBuildStarted(Builder.java:224)
>> at org.objectstyle.wolips.core.resources.internal.build.Builder.build(Builder.java:137)
>> 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.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
>> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>> --
>>
>> [2]: http://objectstyle.org/woproject/lists/woproject-dev/2010/07/0022.html
>
--
Filìppo Laurìa - http://www.facebook.com/filippo.lauria
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden