Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Various Rendering Issues

I've fixed this bug in the code base and it will be in the next release. The other issues I've less experience with. Although they do sound familiar. Do you know of anyway that I can reproduce those issues? Or maybe a situation that often causes them?

Thanks,

Jesse
On 2-Dec-07, at 7:41 PM, Leigh Fitzgibbon wrote:

Here you go, a stack trace for c):

java.lang.NullPointerException
	at
net .refractions .udig.project.internal.render.impl.RenderContextImpl.clearIma
ge(RenderContextImpl.java:218)
	at
net .refractions .udig.project.internal.render.impl.CompositeRendererImpl.refr
eshImage(CompositeRendererImpl.java:228)
	at
net .refractions .udig.project.internal.render.impl.CompositeRendererImpl.refr
eshImage(CompositeRendererImpl.java:214)
	at
net .refractions .udig.project.internal.render.impl.RenderExecutorComposite$Co
mpositeRendererJob.incrementalUpdate(RenderExecutorComposite.java:198)
	at
net .refractions .udig.project.internal.render.impl.RenderExecutorComposite$Co
mpositeRendererJob.startRendering(RenderExecutorComposite.java:151)
	at
net .refractions .udig.project.internal.render.impl.RenderJob.run(RenderJob.ja
va:192)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I achieved this error by opening a map containing a single layer stored in a PostgreSQL database and then closing the view as soon as possible. But from the look of the stack trace the data source probably doesn't matter. The layer is quite large and normally takes about 5 seconds to render. This
looks like a relatively straightforward bug.

Any ideas for a) or b)?

Re: the company, Vince Darley has been posting to the list occasionally over
the last couple of years.  I've just started posting.

Cheers,
Leigh

-----Original Message-----
From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
[mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
Sent: Monday, 3 December 2007 2:20 PM
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] Various Rendering Issues

Leigh Fitzgibbon wrote:

I don’t have a concrete case here for investigation but I often
observe the following annoyances:


a)  UDig map does not render – the map view comes up blank.  Hitting
redraw causes the map to draw correctly.

b)  UDig "rendering map" job active even when no rendering is
obviously going on (CPU usage is zero).

c) Closing a map view while it is rendering sometimes causes an error
dialog to pop-up reporting “NullpointerException” but nothing else.



These things don’t go down to well at client demonstrations.  L

Fair enought.

We are using UDig 1.1 RC13 with PostgreSQL. Are these problems normal
or is there something in our environment that is causing trouble?

Nope these would all be bugs; of one flavor or another. can you give us some clues as to what was happening when you experienced these glitches.

I have not heard of your company before; looks like you guys do some
interesting work. If you need anything specific please give us a call,
and for bugs such as the above let's work though them on the email list
here and see if we can isolate them.

A couple of questions; are you *just* using PostgreSQL; or were you
working with shapefiles and WMS layers at the same time. Were you
editing at the time (my usual source of redraw difficulties).  Out of
all the ones you listed above I am really interested in getting a stack
trace for (c) above.

Cheers,
Jody
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.13/1164 - Release Date: 2/12/2007
11:30 AM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.13/1164 - Release Date: 2/12/2007
11:30 AM


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top