Shubham Kokadwar

Results 2 comments of Shubham Kokadwar

Same issue Here java.lang.ClassCastException: xute.markdeditor.components.ImageComponentItem cannot be cast to xute.markdeditor.components.TextComponentItem at xute.markdeditor.MarkDCore.invalidateComponentMode(MarkDCore.java:102) at xute.markdeditor.MarkDCore.refreshViewOrder(MarkDCore.java:33) at xute.markdeditor.MarkDEditor.addTextComponent(MarkDEditor.java:128) at xute.markdeditor.MarkDEditor.onExitFromCaptionAndInsertNewTextComponent(MarkDEditor.java:513) at xute.markdeditor.components.ImageComponentItem.checkReturnPressToInsertNewTextComponent(ImageComponentItem.java:141) at xute.markdeditor.components.ImageComponentItem.access$1000(ImageComponentItem.java:23) at xute.markdeditor.components.ImageComponentItem$4.onTextChanged(ImageComponentItem.java:99) at android.widget.TextView.sendOnTextChanged(TextView.java:9754) at android.widget.TextView.handleTextChanged(TextView.java:9851) at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:12509)...

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'xute.markdeditor.models.BaseComponentModel xute.markdeditor.models.ComponentTag.getComponent()' on a null object reference at xute.markdeditor.components.ImageComponentItem.setCaption(ImageComponentItem.java:255) at xute.markdeditor.components.ImageComponentItem.setImageInformation(ImageComponentItem.java:113) at xute.markdeditor.components.ImageComponent.getNewImageComponentItem(ImageComponent.java:15) at xute.markdeditor.MarkDEditor.insertImage(MarkDEditor.java:385) at com.blogging.Quarterpillers.BlogCreation.BlogEditorActivity.addImage(BlogEditorActivity.kt:145) at com.blogging.Quarterpillers.BlogCreation.BlogEditorActivity.onActivityResult(BlogEditorActivity.kt:139) at android.app.Activity.dispatchActivityResult(Activity.java:7458) at...