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

v0.7.0.3 2020.11.28 - trying to access the streamingDataBuffer property of an added entity chunk throws an error #1

Open
duffremle opened this issue Jan 5, 2021 · 0 comments
Labels
bug Something isn't working game:Witcher3

Comments

@duffremle
Copy link

duffremle commented Jan 5, 2021

Describe the bug

  • Trying to access the streamingDataBuffer property in an entity chunk added to a w2l file throws an exception
  • In this case the w2l file is dlc\bob\data\levels\bov\locations\vineyards\east\corvo_bianco\mq7024_interior_deco\ground_floor_deco\rich_deco\deco_interior_rich.w2l but it does the same with other w2l files.
  • The chunk added was type CGameplayEntity in this case.

To Reproduce
Steps to reproduce the behavior:

  1. Add an entity chunk to a w2l file
  2. In the properties section of the added chunk try to access the streamingDataBuffer property
  3. View the exception thrown

Expected behavior
Accessing/editing this property shouldnt throw an error

Screenshots
add CGameplayEntity to w2l file
add CGameplayEntity to w2l file2
add CGameplayEntity to w2l file3
add CGameplayEntity to w2l file4

Desktop (please complete the following information):

  • OS: [e.g. iOS] win7 ultimate
  • Browser [e.g. chrome, safari] firefox
  • Version [e.g. 22] v84.01

Additional Info
The WolvenKit version is v0.7.0.3 2020.11.28 as can be seen in the screenshots

Here's the text in the details section of the exception popup:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WolvenKit.Forms.Editors.ByteArrayEditor.set_Variable(IByteSource value) in C:\DATA\GitHub\Traderain\Wolven-kit\WolvenKit\Forms\Editors\ByteArrayEditor.cs:line 27
at WolvenKit.Utility.EditorHandler.GetEditor(Object obj) in C:\DATA\GitHub\Traderain\Wolven-kit\WolvenKit\Utility\EditorHandler.cs:line 60
at WolvenKit.Forms.frmChunkProperties.treeView_CellEditStarting(Object sender, CellEditEventArgs e) in C:\DATA\GitHub\Traderain\Wolven-kit\WolvenKit\Forms\frmChunkProperties.cs:line 140
at BrightIdeasSoftware.ObjectListView.OnCellEditStarting(CellEditEventArgs e)
at BrightIdeasSoftware.ObjectListView.StartCellEdit(OLVListItem item, Int32 subItemIndex)
at WolvenKit.Forms.frmChunkProperties.treeView_CellClick(Object sender, CellClickEventArgs e) in C:\DATA\GitHub\Traderain\Wolven-kit\WolvenKit\Forms\frmChunkProperties.cs:line 400
at BrightIdeasSoftware.ObjectListView.OnCellClick(CellClickEventArgs args)
at BrightIdeasSoftware.ObjectListView.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

WolvenKit
Assembly Version: 0.7.0.3
Win32 Version: 0.7.0.3
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4210.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

WolvenKit.Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.Common.DLL

WolvenKit.App
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.App.DLL

WolvenKit.CR2W
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.CR2W.DLL

Catel.MVVM
Assembly Version: 5.12.11.0
Win32 Version: 5.12.11
CodeBase: file:///O:/tools/wolvenkit.v0.703/Catel.MVVM.DLL

Catel.Core
Assembly Version: 5.12.11.0
Win32 Version: 5.12.11
CodeBase: file:///O:/tools/wolvenkit.v0.703/Catel.Core.DLL

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

Dfust.Hotkeys
Assembly Version: 1.2.6206.24906
Win32 Version: 1.2.6206.24906
CodeBase: file:///O:/tools/wolvenkit.v0.703/Dfust.Hotkeys.DLL

WeifenLuo.WinFormsUI.Docking
Assembly Version: 3.0.6.0
Win32 Version: 3.0.6.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WeifenLuo.WinFormsUI.Docking.DLL

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll

System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

WeifenLuo.WinFormsUI.Docking.ThemeVS2015
Assembly Version: 3.0.6.0
Win32 Version: 3.0.6.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WeifenLuo.WinFormsUI.Docking.ThemeVS2015.DLL

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Dfust.Hotkeys.Util
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/Dfust.Hotkeys.Util.DLL

Gma.System.MouseKeyHook
Assembly Version: 5.6.130.0
Win32 Version: 5.6.130.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/Gma.System.MouseKeyHook.DLL

AutoUpdater.NET
Assembly Version: 1.6.4.0
Win32 Version: 1.6.4.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/AutoUpdater.NET.DLL

WolvenKit.Bundles
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.Bundles.DLL

WolvenKit.Cache
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.Cache.DLL

WolvenKit.W3Strings
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.W3Strings.DLL

WolvenKit.Wwise
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.Wwise.EXE

NAudio
Assembly Version: 1.10.0.0
Win32 Version: 1.10.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/NAudio.DLL

protobuf-net
Assembly Version: 3.0.0.0
Win32 Version: 3.0.62.765
CodeBase: file:///O:/tools/wolvenkit.v0.703/protobuf-net.DLL

protobuf-net.Core
Assembly Version: 3.0.0.0
Win32 Version: 3.0.62.765
CodeBase: file:///O:/tools/wolvenkit.v0.703/protobuf-net.Core.DLL

System.Memory
Assembly Version: 4.0.1.1
Win32 Version: 4.6.28619.01
CodeBase: file:///O:/tools/wolvenkit.v0.703/System.Memory.DLL

System.Collections.Immutable
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///O:/tools/wolvenkit.v0.703/System.Collections.Immutable.DLL

System.Buffers
Assembly Version: 4.0.3.0
Win32 Version: 4.6.28619.01
CodeBase: file:///O:/tools/wolvenkit.v0.703/System.Buffers.DLL

System.Runtime.CompilerServices.Unsafe
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///O:/tools/wolvenkit.v0.703/System.Runtime.CompilerServices.Unsafe.DLL

Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.3.23909
CodeBase: file:///O:/tools/wolvenkit.v0.703/Newtonsoft.Json.DLL

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4290.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

WolvenKit.W3Speech
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.W3Speech.DLL

ObjectListView
Assembly Version: 2.9.1.25410
Win32 Version: 2.9.1.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/ObjectListView.DLL

System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Drawing.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4210.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll

System.Web.ApplicationServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.ApplicationServices/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll

System.Runtime.Caching
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll

Microsoft.Build.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Build.Framework/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll

CsvHelper
Assembly Version: 16.0.0.0
Win32 Version: 16.0.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/CsvHelper.DLL

Microsoft.Bcl.AsyncInterfaces
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///O:/tools/wolvenkit.v0.703/Microsoft.Bcl.AsyncInterfaces.DLL

System.Threading.Tasks.Extensions
Assembly Version: 4.2.0.1
Win32 Version: 4.6.28619.01
CodeBase: file:///O:/tools/wolvenkit.v0.703/System.Threading.Tasks.Extensions.DLL

VisualPlus
Assembly Version: 0.4.1.4
Win32 Version: 0.4.1.4
CodeBase: file:///O:/tools/wolvenkit.v0.703/VisualPlus.DLL

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

FastMember
Assembly Version: 1.5.0.0
Win32 Version: 1.5.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/FastMember.DLL

FastMember_dynamic
Assembly Version: 0.0.0.0
Win32 Version: 1.5.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/FastMember.dll

DotNetHelper.FastMember.Extension
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/DotNetHelper.FastMember.Extension.DLL

WolvenKit.Render
Assembly Version: 0.1.7637.20299
Win32 Version: 0.1.0
CodeBase: file:///O:/tools/wolvenkit.v0.703/WolvenKit.Render.EXE

Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

@rfuzzo rfuzzo added game:Witcher3 bug Something isn't working labels Jun 20, 2021
@Traderain Traderain transferred this issue from WolvenKit/WolvenKit Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working game:Witcher3
Projects
None yet
Development

No branches or pull requests

2 participants