Modify

Opened 14 years ago

Closed 14 years ago

#4319 closed defect (fixed)

ClassNotFoundException when uploading with 2773

Reported by: Claudius Owned by: team
Priority: blocker Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Do some editing
  2. Try uploading

What is the expected result?
JOSM should start uploading.

What happens instead?
"An unexpected exception occured."

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-01-08 09:50:27
Last Changed Author: Gubaer
Revision: 2773
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-01-08 10:29:53 +0100 (Fri, 08 Jan 2010)
Last Changed Rev: 2773

Memory Usage: 25 MB / 63 MB (2 MB allocated, but free)
Java version: 1.6.0_17

Dataset consistency test:
No problems found

Plugins: remotecontrol,validator,wmsplugin
Plugin remotecontrol Version: 19298
Plugin validator Version: 19304
Plugin wmsplugin Version: 19306

java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64

at oauth.signpost.signature.OAuthMessageSigner.<init>(OAuthMessageSigner.java:49)
at oauth.signpost.signature.HmacSha1MessageSigner.<init>(HmacSha1MessageSigner.java:30)
at oauth.signpost.signature.OAuthMessageSigner.create(OAuthMessageSigner.java:42)
at oauth.signpost.AbstractOAuthConsumer.<init>(AbstractOAuthConsumer.java:43)
at oauth.signpost.basic.DefaultOAuthConsumer.<init>(DefaultOAuthConsumer.java:14)
at org.openstreetmap.josm.data.oauth.OAuthParameters.buildConsumer(OAuthParameters.java:136)
at org.openstreetmap.josm.io.OsmConnection.addOAuthAuthorizationHeader(OsmConnection.java:117)
at org.openstreetmap.josm.io.OsmConnection.addAuth(OsmConnection.java:135)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:507)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:474)
at org.openstreetmap.josm.io.OsmApi.openChangeset(OsmApi.java:313)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:191)
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:236)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:81)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64

at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 18 more

Attachments (0)

Change History (2)

comment:1 by Gubaer, 14 years ago

If you're familiar with SVN and ant, try to checkout the JOSM source and run ant dist. This creates a JOSM dist/josm-custom.jar build which includes the necessary Apache classes.

The "official" builds available from the JOSM wiki are still built by an undocumented, non-public script. Please wait for the next release, perhaps it will be updateded by then.

comment:2 by stoecker, 14 years ago

Resolution: fixed
Status: newclosed

Fixed with tomorrow morning build.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.