Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » "The parameter 'path' must not be null" when running RAP with Workbench
"The parameter 'path' must not be null" when running RAP with Workbench [message #986672] Wed, 21 November 2012 10:46 Go to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
Whe migrated to M3 checking all things mentioned in the release notes for this milestone.
This included the changes regarding the application path.
We added a path in our org.eclipse.core.runtime.applications - extension.
But the "The parameter 'path' must not be null" exception is present despite that because the plugin "org.eclipse.equinox.app" declares a "ErrorApplication" which of course doesnt have a "path" set and the exception is thrown.
The same if you use birt, there is also a ReportExecutor registered as an IApplication.
The declaration of the path directly in the org.eclipse.core.runtime.applications extensions is also questionably in terms of single-sourcing.
What would be a solution for that (despite not using these bundles Wink)

Thanks in advance
Re: "The parameter 'path' must not be null" when running RAP with Workbench [message #986765 is a reply to message #986672] Wed, 21 November 2012 15:01 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Thanks for pointing this out, Stefan! That's something we've missed when
we made the change. Apparently, we have to ignore applications that do
not have a path parameter.

What are your concerns regarding single-sourcing? The RAP parameters
will do no harm in RCP and vice versa, will they? We considered to
prefix the parameter names, but decided against it as this does not seem
to be usual for application parameters and we didn't expect collisions.

Would you mind to open a bug for this problem?

Best regards,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: "The parameter 'path' must not be null" when running RAP with Workbench [message #986793 is a reply to message #986765] Wed, 21 November 2012 16:21 Go to previous messageGo to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
I submitted bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=394805

Yes, the parameter doesn't harm the RCP side. I just meant that using the old system (or if the path parameter would be specified in some rap-specific xpt) no changes on the rcp-side had to be made. Its not a big thing, just a remark, i guess overall its good to use the same system as with the IEntrypoint, where also the parameter is used.

[Updated on: Wed, 21 November 2012 16:24]

Report message to a moderator

Re: "The parameter 'path' must not be null" when running RAP with Workbenc [message #987069 is a reply to message #986793] Fri, 23 November 2012 09:37 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

> I submited bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=394805

Thanks for the bug report. We'll make sure it's fixed in M4.

> Yes, the parameter doesn't harm the RCP side. I just meant that using
> the old system (or if the path parameter would be specified in some
> rap-specific xpt) no changes on the rcp-side had to be made. Its not a
> big thing, just a remark.

I see your point. Thinking about it gave me the idea to use an
entrypoint extension to bind existing applications to a path and a
branding. Instead of an entrypoint class, you would specify an
application id...

Could you add your concern to the bug, then we can discuss it there.

Best Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Is there a working tutorial of RAP + Eclipse Juno?
Next Topic:FileUpload UI component "Browse" button
Goto Forum:
  


Current Time: Fri Mar 29 00:26:55 GMT 2024

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

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

Back to the top