Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Libra » WAR Validate Null Pointer Exception(WAR Validate fails on some projects)
WAR Validate Null Pointer Exception [message #989987] Mon, 10 December 2012 10:55 Go to next message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
Using Eclipse 4.2.1, RAP 2.0 M3 tooling, and WAR Products (incubation) from Libra Trying to do a Validate or an Export of War Product gives this error in Eclipse Error Log:

	at org.eclipse.libra.warproducts.ui.validation.WARProductValidateAction.isBanned(
	at org.eclipse.libra.warproducts.ui.validation.WARProductValidateAction.validateErrors(
	at org.eclipse.libra.warproducts.ui.validation.WARProductValidateAction.varifyPDEErrors(
	at org.eclipse.libra.warproducts.ui.validation.WARProductValidateAction.verifyResult(
	at org.eclipse.libra.warproducts.ui.validation.WARProductValidateAction.validate(
	at org.eclipse.libra.warproducts.ui.exportwizard.ExportWARProductWizard.validateProduct(
	at org.eclipse.libra.warproducts.ui.exportwizard.ExportWARProductWizard.loadProductFromFile(
	at org.eclipse.libra.warproducts.ui.exportwizard.ExportWARProductWizard.loadProductFromFile(
	at org.eclipse.libra.warproducts.ui.exportwizard.ExportWARProductWizard.handleFileSelection(
	at org.eclipse.libra.warproducts.ui.exportwizard.ExportWARProductWizard.loadProductFromSelection(
	at org.eclipse.libra.warproducts.ui.exportwizard.ExportWARProductWizard.addPages(
	at org.eclipse.jface.wizard.WizardDialog.createContents(
	at org.eclipse.jface.window.Window.create(
	at org.eclipse.jface.dialogs.Dialog.create(
	at org.eclipse.libra.warproducts.ui.editor.OverviewPage.linkActivated(
	at org.eclipse.ui.forms.widgets.FormText.activateLink(
	at org.eclipse.ui.forms.widgets.FormText.handleMouseClick(
	at org.eclipse.ui.forms.widgets.FormText.access$16(
	at org.eclipse.ui.forms.widgets.FormText$6.mouseUp(
	at org.eclipse.swt.widgets.TypedListener.handleEvent(
	at org.eclipse.swt.widgets.EventTable.sendEvent(

This is on one specific project.
Creating a WAR for the RAP Demo project works ok, deploys ok as a WAR into WebLogic and runs ok.

Any clue what is different about my project that is stopped the WAR tooling from running the Validate? Where to start looking?

The project runs ok as SWT Standalone, and also RWT Standalone. Haven't managed to get it running as RAP yet, but hopefully this isn't relevant.

Thanks, John

Just because you can doesn't mean you should
Re: WAR Validate Null Pointer Exception [message #990441 is a reply to message #989987] Wed, 12 December 2012 13:58 Go to previous message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
Quick update... never got to the bottom of this, but once I finally got my application to run as a RAP app from within the Eclipse IDE, I wiped the existing WAR product configuration, started again, basing the new WAR configuration on the RAP run configuration, and hey presto, it is happy and working - I have my RAP application running successfully via a WAR within JBoss and WebLogic!

Just because you can doesn't mean you should
Previous Topic: [WAR Product] Cannot create WAR with Spring bundles (cycle+optionnal dependencies)
Next Topic:Current status for "/libra/milestones/" update site directory
Goto Forum:

Current Time: Tue Jul 23 21:11:15 GMT 2024

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

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

Back to the top