Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Desktop Software

Reply
New Contributor
Posts: 8
Registered: ‎12-10-2010
My Device: Torch 9800
My Carrier: Vodafone Germany

Music services failed to load an unexpected error occurred

Hi!

 

Till the last Day, the WiFi and/ore the USB-Sync with iTunes runs perfectly.

 

But at this moment, it doens't work anymore and i got this message on my DM6 "Music services failed to load an unexpected error occurred"

 

I don't know why, cause i didn't change anything on my DM6, iTunes ore Torch.

 

This ist my Desktop.log

 

13:05:54.907|INFO |12|Rim.Desktop.Media|39001|Got Request POST http://192.168.2.105:4481/mediasync/music/17afe97cfe9d52d6
13:05:54.910|INFO |12|Rim.Desktop.Media|39001|gzip requested
13:05:54.992|FATAL|12|Rim.Desktop.Shell|0|Fatal Application Error
System.FormatException: The input yields a number greater than 4 bytes.
   bei Rim.Common.Utilities.JavaBinaryReader.ReadCompressedInt()
   bei Rim.Media.Sync.SyncProviders.Device.Destination.DeviceChanges.ReadChanges(Stream changeStream)
   bei Rim.Media.Sync.Listener.HttpMediaServer.OnUpdatesProvided(Object sender, UpdatesProvidedEventArgs e)
   bei Rim.Common.Utilities.Events.Eventer.Raise[THandlerArgs,TArgs](Object sender, EventHandler`1 handler, TArgs e)
   bei Rim.Media.Sync.Listener.MediaHttpListener.Request(IAsyncResult result)
   bei System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   bei System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   bei System.Net.ListenerAsyncResult.WaitCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
13:05:54.994|FATAL|12|Exception|0|Fatal Error
System.FormatException: The input yields a number greater than 4 bytes.
   bei Rim.Common.Utilities.JavaBinaryReader.ReadCompressedInt()
   bei Rim.Media.Sync.SyncProviders.Device.Destination.DeviceChanges.ReadChanges(Stream changeStream)
   bei Rim.Media.Sync.Listener.HttpMediaServer.OnUpdatesProvided(Object sender, UpdatesProvidedEventArgs e)
   bei Rim.Common.Utilities.Events.Eventer.Raise[THandlerArgs,TArgs](Object sender, EventHandler`1 handler, TArgs e)
   bei Rim.Media.Sync.Listener.MediaHttpListener.Request(IAsyncResult result)
   bei System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   bei System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   bei System.Net.ListenerAsyncResult.WaitCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
13:05:58.439|INFO |12|Rim.Desktop.Media|39001|HttpMediaServer status update: ServerOn

What can i do, to fix the problem?

 

Tank you!

 

Sorry for my bad english :smileywink:

 

Greetings from Germany

 

Kalorie99

New Contributor
Posts: 8
Registered: ‎12-10-2010
My Device: Torch 9800
My Carrier: Vodafone Germany

Re: Music services failed to load an unexpected error occurred

Okay...

 

I reinstalled first the DM6 6.0.0.43... No effect!

 

I reinstalled iTunes 10.1... No effect!

 

:smileysad:

 

Is there no mod, nobody who have any idea?

New Contributor
Posts: 8
Registered: ‎12-10-2010
My Device: Torch 9800
My Carrier: Vodafone Germany

Re: Music services failed to load an unexpected error occurred

I found the answer, here in the forum from a user:

 

Here is the solution that worked for me, based on antoniovtorres post (I resisted the urge to get PO'd and tried to figure out what he must have done):

 

With desktop manager closed, using Blackberry user tools, navigate to 'Blackberry\system\' (make sure that hidden files are shown or you won't see the 'system' folder).

 

Move or delete the folders 'Media Sync' and 'media' from the system directory.

 

Re-open desktop manager.

 

Click yes to any dialog that appears.

 

You should now be able to sync music again.

 

Note that your device may want to double up on your synced pictures and videos, so you may want to delete your pictures and videos off of the device before your next picture or video sync. Hope it works for y'all.

 

Scott

 

It works again! :smileyhappy:

 

Yeah!

 

BlackBerry rocks!

New Member
Posts: 1
Registered: ‎12-29-2010
My Device: Torch 9800
My Carrier: AT&T

Re: Music services failed to load an unexpected error occurred

Wow I was having this problem and your solution totally worked.  Thanks!

New Member
Posts: 1
Registered: ‎01-25-2011
My Device: Not Specified

Re: Music services failed to load an unexpected error occurred

[ Edited ]

worked for me as well following Kalori99 post.

 

thank you !:Clap:

New Member
Posts: 2
Registered: ‎05-27-2011
My Device: style 9780
My Carrier: bell

Re: Music services failed to load an unexpected error occurred

how do i do this i have this problem bit don't know what to do
New Member
Posts: 2
Registered: ‎05-27-2011
My Device: style 9780
My Carrier: bell

Re: Music services failed to load an unexpected error occurred

how do you show your hidden files so you can see the system folder
New Member
Posts: 1
Registered: ‎06-18-2012
My Device: Bold 9900
My Carrier: AIS Thailand

Re: Music services failed to load an unexpected error occurred

It works just great for me. Thanks so much!