Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » widget.upload and RAP 1.3M4
widget.upload and RAP 1.3M4 [message #507697] Thu, 14 January 2010 12:21 Go to next message
Maziar Khodaei is currently offline Maziar KhodaeiFriend
Messages: 25
Registered: July 2009
Junior Member
Hi all.

I tried to run the rwt.widgets.upload.demo with the new version of RAP (1.3M4), But it did´nt work.

I became this error message:

HTTP ERROR 500

Problem accessing /rap. Reason:

INTERNAL_SERVER_ERROR

Caused by:

java.lang.NullPointerException
at org.eclipse.rwt.widgets.Upload.getButtonBorder(Upload.java:3 66)
at org.eclipse.rwt.widgets.Upload.computeBrowseButtonSize(Uploa d.java:348)
at org.eclipse.rwt.widgets.Upload.computeSize(Upload.java:285)
at org.eclipse.swt.layout.RowLayout.computeSize(RowLayout.java: 211)
at org.eclipse.swt.layout.RowLayout.layoutVertical(RowLayout.ja va:393)
at org.eclipse.swt.layout.RowLayout.layout(RowLayout.java:230)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.jav a:434)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:327)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:286)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:249)
at org.eclipse.rwt.widgets.upload.demo.EntryPoint.createNew(Ent ryPoint.java:302)
at org.eclipse.rwt.widgets.upload.demo.EntryPoint.createContent (EntryPoint.java:97)
at org.eclipse.rwt.widgets.upload.demo.EntryPoint.createUI(Entr yPoint.java:52)
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:227)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:115)
at java.lang.Thread.run(Unknown Source)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)

Do you have any idee? Is there a update for upload widget for 1.3M4?

I got the latest version from CVS.

Thx a lot.


Maziar



















Re: widget.upload and RAP 1.3M4 [message #507715 is a reply to message #507697] Thu, 14 January 2010 12:57 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Maziar,

due to changes in the core theming code there was a compilation error in
the Upload widget - see bug 299468: [Upload] Compile error with latest
CVS HEAD. If you are using the Upload widget from CVS HEAD you have to
work against RAP CVS HEAD or revert the changes (patch is attached to
the bug) and work with RAP 1.3M4.

HTH,
Ivan

On 1/14/2010 2:21 PM, Maziar Khodaei wrote:
> Hi all.
>
> I tried to run the rwt.widgets.upload.demo with the new version of RAP
> (1.3M4), But it did´nt work.
>
> I became this error message:
>
> HTTP ERROR 500
>
> Problem accessing /rap. Reason:
>
> INTERNAL_SERVER_ERROR
>
> Caused by:
>
> java.lang.NullPointerException
> at org.eclipse.rwt.widgets.Upload.getButtonBorder(Upload.java:3 66)
> at org.eclipse.rwt.widgets.Upload.computeBrowseButtonSize(Uploa
> d.java:348)
> at org.eclipse.rwt.widgets.Upload.computeSize(Upload.java:285)
> at org.eclipse.swt.layout.RowLayout.computeSize(RowLayout.java: 211)
> at org.eclipse.swt.layout.RowLayout.layoutVertical(RowLayout.ja
> va:393)
> at org.eclipse.swt.layout.RowLayout.layout(RowLayout.java:230)
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.jav
> a:434)
> at org.eclipse.swt.widgets.Composite.layout(Composite.java:327)
> at org.eclipse.swt.widgets.Composite.layout(Composite.java:286)
> at org.eclipse.swt.widgets.Composite.layout(Composite.java:249)
> at org.eclipse.rwt.widgets.upload.demo.EntryPoint.createNew(Ent
> ryPoint.java:302)
> at org.eclipse.rwt.widgets.upload.demo.EntryPoint.createContent
> (EntryPoint.java:97)
> at org.eclipse.rwt.widgets.upload.demo.EntryPoint.createUI(Entr
> yPoint.java:52)
> at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU
> I(EntryPointManager.java:92)
> at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT
> LifeCycle.java:227)
> at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont
> roller.run(RWTLifeCycle.java:115)
> at java.lang.Thread.run(Unknown Source)
> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav
> a:80)
>
> Do you have any idee? Is there a update for upload widget for 1.3M4?
>
> I got the latest version from CVS.
>
> Thx a lot.
>
>
> Maziar
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Previous Topic:DnD question
Next Topic:QWT for writing custom RAP widgets
Goto Forum:
  


Current Time: Sun Dec 05 05:47:49 GMT 2021

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

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

Back to the top