Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reopen: Copy paste cultures from one TE session into another #507 #798

Closed
MarioMue13 opened this issue Jan 17, 2023 · 2 comments
Closed
Labels
issue: bug Confirmed as a bug in TE3

Comments

@MarioMue13
Copy link

I just try to copy paste a culture from an existing model into a completly new one:

Copy paste cultures from one TE session into another #507 .

Error Report:

Tabular Editor Unhandled Exception Error Report

Tabular Editor version: 3.4.0 (3.4.8392.26581)
OS version: Microsoft Windows NT 10.0.19045.0
Model details:
CompatibilityLevel: 1500
CompatibilityMode: AnalysisServices
IsPbiDesktop: False
SourceType: UnsavedFile
TableCount: 0
FirstTimeModelLoad: True
DatabaseNameSHA256: e6e1e239581ee92f20346b17d4d6d1f1fc636ab2d4292ae3
User description:
Exception message: Object reference not set to an instance of an object.
Exception source: Microsoft.AnalysisServices.Tabular
Stack trace: at Microsoft.AnalysisServices.Tabular.Utils.SerializeSparseCollection(IEnumerable1 sparseCollection, SparseSerializerSettings settings) at Microsoft.AnalysisServices.Tabular.ObjectTranslationCollection.SerializeToJsonObject() at Microsoft.AnalysisServices.Tabular.Culture.SerializeAdditionalDataToJsonObject(JsonObject jsonObj, SerializeOptions options, CompatibilityMode mode, Int32 dbCompatibilityLevel) at Microsoft.AnalysisServices.Tabular.Culture.SerializeToJsonObject(JsonObject result, SerializeOptions options, CompatibilityMode mode, Int32 dbCompatibilityLevel) at Microsoft.AnalysisServices.Tabular.MetadataObject.SerializeToNewJsonObject(SerializeOptions options, CompatibilityMode mode, Int32 dbCompatibilityLevel) at Microsoft.AnalysisServices.Tabular.JsonSerializer.SerializeObjectImpl(MetadataObject metadataObject, SerializeOptions options, Int32 dbCompatibilityLevel, CompatibilityMode mode) at Microsoft.AnalysisServices.Tabular.JsonSerializer.SerializeObject(MetadataObject metadataObject, SerializeOptions options) at TabularEditor.TOMWrapper.Undo.UndoAddRemoveAction..ctor(ITabularObjectCollection collection, TabularNamedObject obj, UndoAddRemoveActionType actionType) at TabularEditor.TOMWrapper.TabularObjectCollection1.InternalAdd(T item)
at TabularEditor.TOMWrapper.TabularObjectCollection1.Add(T item) at TabularEditor.TOMWrapper.Culture.CreateFromMetadata(Model parent, Culture metadataObject) at TabularEditor.TOMWrapper.Serialization.Serializer.DeserializeCulture(JObject json, Model model) at TabularEditor.TOMWrapper.TabularCommonActions.InsertObjects(ObjectJsonContainer objectContainer, Func5 questionCallback, ITabularNamedObject destination, IInsertOptions insertOptions)
at TabularEditor.UI.Services.EditService.Paste()
at TabularEditor.UI.Utils.SimpleLink.ExecuteLink()
at TabularEditor.UI.Utils.SimpleLink.Click(Object sender, EventArgs e)
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.OnShortcutItemClick(BarItem item, BarShortcut shortcut)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.CheckShortcut(BarManager manager, KeyEventArgs e)
at DevExpress.XtraBars.MessageFilter.BarManagerHook.PreFilterMessage(Message& m)
at DevExpress.XtraBars.MessageFilter.BarManagerMessageFilter.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& m)
Modules loaded:
TabularEditor3.dll

@MarioMue13 MarioMue13 changed the title Reopen Copy paste cultures from one TE session into another #507 Reopen: Copy paste cultures from one TE session into another #507 Jan 17, 2023
@mlonsk
Copy link
Collaborator

mlonsk commented Jan 17, 2023

Hi @MarioMue13
Thank you so much for reporting it in again, we will look into fixing it.

@mlonsk mlonsk added the issue: bug Confirmed as a bug in TE3 label Jan 17, 2023
@otykier
Copy link
Collaborator

otykier commented Feb 9, 2023

This should now be fixed in 3.4.2. Thanks for letting us know!

@otykier otykier closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

3 participants