Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3052 closed defect (fixed)

Surveyor/livegps plugin not working

Reported by: meppen7 Owned by: meppen7
Priority: major Milestone:
Component: Plugin Version: latest
Keywords: Cc:

Description

No function of livegps
See Error message below

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1823
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1823
Last Changed Date: 2009-07-22 20:33:41 +0200 (Wed, 22 Jul 2009)

Memory Usage: 53 MB / 1016 MB (7 MB allocated, but free)
Java version: 1.6.0_13

Plugins: AgPifoJ Create_grid_of_ways DirectUpload ImageWayPoint Intersect_way PicLayer buildings_tools colorscheme editgpx graphview livegps measurement multipoly openstreetbugs openvisible osmarender remotecontrol routing slippymap surveyor tageditor tagging-preset-tester terracer usertools utilsplugin validator walkingpapers waydownloader wmsplugin
Plugin AgPifoJ Version: 16603
Plugin Create_grid_of_ways Version: 16620
Plugin DirectUpload Version: 16583
Plugin ImageWayPoint Version: 16294
Plugin Intersect_way Version: 12781
Plugin PicLayer Version: 16302
Plugin buildings_tools Version: 19
Plugin colorscheme Version: 16383
Plugin editgpx Version: 16294
Plugin graphview Version: 16605
Plugin livegps Version: 16294
Plugin measurement Version: 16317
Plugin multipoly Version: 16609
Plugin openstreetbugs Version: 16622
Plugin openvisible Version: 15707
Plugin osmarender Version: 16623
Plugin remotecontrol Version: 16624
Plugin routing Version: 16409
Plugin slippymap Version: 16294
Plugin tageditor Version: 16605
Plugin tagging-preset-tester Version: 14015
Plugin terracer Version: 16162
Plugin usertools Version: 14125
Plugin utilsplugin Version: 16628
Plugin validator Version: 16629
Plugin walkingpapers Version: 16571
Plugin waydownloader Version: 16590
Plugin wmsplugin Version: 16599
Plugin surveyor Version: 16625

java.lang.NullPointerException

at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegments(NavigatableComponent.java:315)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:370)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:381)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWay(NavigatableComponent.java:388)
at livegps.LiveGpsData.getWay(LiveGpsData.java:167)
at livegps.LiveGpsData.getWayInfo(LiveGpsData.java:122)
at at.dallermassl.josm.plugin.surveyor.SurveyorComponent.propertyChange(SurveyorComponent.java:179)
at livegps.LiveGpsAcquirer.firePropertyChangeEvent(LiveGpsAcquirer.java:108)
at livegps.LiveGpsAcquirer.fireGpsDataChangeEvent(LiveGpsAcquirer.java:97)
at livegps.LiveGpsAcquirer.run(LiveGpsAcquirer.java:211)
at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (10)

comment:1 by stoecker, 15 years ago

Ticket #3101 has been marked as a duplicate of this ticket.

comment:2 by stoecker, 15 years ago

Ticket #3201 has been marked as a duplicate of this ticket.

comment:3 by stoecker, 15 years ago

Owner: changed from team to meppen7
Status: newneedinfo
Summary: Error plugin livegpsSurveyor plugin not working

Does the livegps plugin itself work? I.e. without surveyor?

in reply to:  3 comment:4 by anonymous, 15 years ago

Replying to stoecker:

Does the livegps plugin itself work? I.e. without surveyor?

Now I am confused. The livegps plugin does not work as ist does before (message 3201)

Tested configuration

livegps loaded, surveyor plugin not loaded

When I activate 'Captue Gps Track' of the livegps submenue a window pops up:
Disable plugin
am unexpected exception occurred that may have come from the 'livegps' plugin.....
Should the plugin be disabled

Disable plugin Cancel

selecting Cancel the window
+++++++++++++++++++++++++++++++++++++++++
An unexpected Exception
This is always a coding error .......

Do nothing Report Bug
+++++++++++++++++++++++++++++++++++++++++++++++++++
pops up

Pushing the button Report Bug gives the error message:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1909
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1909
Last Changed Date: 2009-08-04 21:39:23 +0200 (Tue, 04 Aug 2009)

Memory Usage: 29 MB / 1016 MB (9 MB allocated, but free)
Java version: 1.6.0_13

Plugins: AgPifoJ
Create_grid_of_ways
DirectUpload
Intersect_way
PicLayer
buildings_tools
colorscheme
dataimport
editgpx
graphview
lakewalker
livegps
measurement
multipoly
openstreetbugs
openvisible
osmarender
plastic_laf
remotecontrol
tageditor
tagging-preset-tester
terracer
usertools
utilsplugin
validator
walkingpapers
waydownloader
wmsplugin
Plugin plastic_laf Version: 14016
Plugin AgPifoJ Version: 16784
Plugin Create_grid_of_ways Version: 16620
Plugin DirectUpload Version: 16583
Plugin Intersect_way Version: 12781
Plugin PicLayer Version: 16302
Plugin buildings_tools Version: 20
Plugin colorscheme Version: 16383
Plugin dataimport Version: 16382
Plugin editgpx Version: 16793
Plugin graphview Version: 16836
Plugin lakewalker Version: 16621
Plugin livegps Version: 16294
Plugin measurement Version: 16801
Plugin multipoly Version: 16609
Plugin openstreetbugs Version: 16797
Plugin openvisible Version: 16587
Plugin osmarender Version: 16760
Plugin remotecontrol Version: 16624
Plugin tageditor Version: 16848
Plugin tagging-preset-tester Version: 14015
Plugin terracer Version: 16626
Plugin usertools Version: 14125
Plugin utilsplugin Version: 16735
Plugin validator Version: 16788
Plugin walkingpapers Version: 16879
Plugin waydownloader Version: 16631
Plugin wmsplugin Version: 16860

java.lang.NullPointerException

at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegments(NavigatableComponent.java:322)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:377)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:388)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWay(NavigatableComponent.java:395)
at livegps.LiveGpsData.getWay(LiveGpsData.java:167)
at livegps.LiveGpsData.getWayInfo(LiveGpsData.java:122)
at livegps.LiveGpsDialog.propertyChange(LiveGpsDialog.java:82)
at livegps.LiveGpsAcquirer.firePropertyChangeEvent(LiveGpsAcquirer.java:108)
at livegps.LiveGpsAcquirer.fireGpsDataChangeEvent(LiveGpsAcquirer.java:97)
at livegps.LiveGpsAcquirer.run(LiveGpsAcquirer.java:211)
at java.lang.Thread.run(Unknown Source)

comment:5 by stoecker, 15 years ago

Summary: Surveyor plugin not workingSurveyor/livegps plugin not working

The problem is I cannot reproduce any of the problems.

I checked in a new version of livegps (16933) fixing some other issues. Does the problem still appear for you? If yes, please add a new report.

Does it also appear when you only have livegps active? Maybe there is a strange interaction with other plugins.

comment:6 by Gubaer, 15 years ago

Owner: changed from meppen7 to Team
Status: needinfonew

Answers to stoeckrs questions are in #3226

comment:7 by stoecker, 15 years ago

Owner: changed from Team to meppen7
Status: newneedinfo

Please don't open individual tickets for this - it makes it complicate to follow.

Please explain step-by-step what you do starting with the initial start of josm. Please attach your prefs (strip username/password). In what area do you work.

The problem is, that the bug you have sticks in the josm core in a place where no data from the livegps plugin is used as input. So it seems livegps is only a trigger for another bug which is somehow related to the dataset you use.

comment:8 by stoecker, 15 years ago

Ok, it seems I found a reason. The bug appears when there is no data layer. It disappears when you use <CTRL>+<N> before you start logging? Correct?

comment:9 by stoecker, 15 years ago

Resolution: fixed
Status: needinfoclosed

Should be fixed in JOSM r1941.

comment:10 by stoecker, 15 years ago

Additionally fixed an NPE in surveyor plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain meppen7.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.