Project

General

Profile

Bug #366

Error while saving Capabilities

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
07/16/2011
Due date:
% Done:

100%

Estimated time:
Affected version:
hg
Locale:
Close

Description

I've been seeing this exception quite often, but it doesn't seem to crash the app:

D/BeemCapsManager( 1622): Error while saving Capabilities lV6i//bt2U8Rm0REcX8h4F3Nk3M=
D/BeemCapsManager( 1622): java.io.FileNotFoundException: /data/data/com.beem.project.beem/cache/capabilities/lV6i/bt2U8Rm0REcX8h4F3Nk3M= (No such file or directory)
D/BeemCapsManager( 1622): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
D/BeemCapsManager( 1622): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
D/BeemCapsManager( 1622): at java.io.FileOutputStream.<init>(FileOutputStream.java:94)
D/BeemCapsManager( 1622): at java.io.FileOutputStream.<init>(FileOutputStream.java:66)
D/BeemCapsManager( 1622): at java.io.FileWriter.<init>(FileWriter.java:42)
D/BeemCapsManager( 1622): at com.beem.project.beem.service.BeemCapsManager.store(BeemCapsManager.java:120)
D/BeemCapsManager( 1622): at com.beem.project.beem.smack.caps.CapsManager.validate(CapsManager.java:223)
D/BeemCapsManager( 1622): at com.beem.project.beem.smack.caps.CapsManager.access$100(CapsManager.java:76)
D/BeemCapsManager( 1622): at com.beem.project.beem.smack.caps.CapsManager$1.processPacket(CapsManager.java:181)
D/BeemCapsManager( 1622): at org.jivesoftware.smack.Connection$ListenerWrapper.notifyListener(Connection.java:807)
D/BeemCapsManager( 1622): at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:453)
D/BeemCapsManager( 1622): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:444)
D/BeemCapsManager( 1622): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
D/BeemCapsManager( 1622): at java.util.concurrent.FutureTask.run(FutureTask.java:138)
D/BeemCapsManager( 1622): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
D/BeemCapsManager( 1622): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
D/BeemCapsManager( 1622): at java.lang.Thread.run(Thread.java:1019)

I'm using the otr branch, on Android 2.3.3 CyanogenMod on a Nexus One.

#1

Updated by Frédéric Barthéléry over 12 years ago

  • Status changed from New to Assigned
  • Assignee set to Frédéric Barthéléry
  • Target version set to 0.1.7

This bug happens for some capabilities which contains the '/' character which is illegal for a filename.

#2

Updated by Frédéric Barthéléry over 12 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset 6e5999172eb1.

#3

Updated by Frédéric Barthéléry over 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF