Giter VIP home page Giter VIP logo

realtime-operation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

realtime-operation's Issues

线程安全问题

当android端频繁的点击下载,删除时,出现空指针异常。
产生的原因:在遍历linkedList时,另一个线程在修改集合。
错误信息如下:
FATAL EXCEPTION: Thread-307
java.lang.NullPointerException
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.Document.scheduleEvent(Document.java:271)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeObject.fireEvent(CollaborativeObject.java:89)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeMap.putAndFireEvent(CollaborativeMap.java:342)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeMap.access$100(CollaborativeMap.java:54)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeMap$1.set(CollaborativeMap.java:278)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeMap$1.set(CollaborativeMap.java:270)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.operation.map.AbstractMapOperation.apply(AbstractMapOperation.java:36)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.operation.map.AbstractMapOperation.apply(AbstractMapOperation.java:18)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeMap.consume(CollaborativeMap.java:270)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.DocumentBridge.applyLocally(DocumentBridge.java:240)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.DocumentBridge.consumeAndSubmit(DocumentBridge.java:171)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeObject.consumeAndSubmit(CollaborativeObject.java:85)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.realtime.CollaborativeMap.set(CollaborativeMap.java:239)
09-17 10:28:22.121: E/AndroidRuntime(5284): at com.goodow.drive.android.toolutils.OfflineFileObserver$1.run(OfflineFileObserver.java:144)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.