question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NullBufferedCipher Broken

See original GitHub issue

Hello,

i created a fresh console .net 7 project and used npoi 2.6.1 (newest version).

using NPOI.POIFS.Crypt.Standard;
var x = new NullBufferedCipher();

Than you get the following exception:

Unhandled exception. System.TypeLoadException: Method 'ProcessByte' in type 'NPOI.POIFS.Crypt.Standard.NullBufferedCipher' from assembly 'NPOI.Core, Version=2.6.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1' does not have an implementation.

Can you please fix it?

Issue Analytics

  • State:open
  • Created 2 months ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
r-isingcommented, Aug 3, 2023

Okay so then the NullBufferedCipher will be fixed in #1118 too, like you see here:

https://github.com/nissl-lab/npoi/blob/b4b94feb29641aa3ddd87c763e86ab80c00a371c/main/POIFS/Crypt/Standard/StandardDecryptor.cs#L403

So the answer “Not every class in NPOI is fully implemented. I have no idea why you wanna iterate all the classes in NPOI.” is not correct, because you implement the NullBufferedCipher correctly and we can use GetTypes like before.

0reactions
connwap135commented, Aug 6, 2023

I’m having the same issue too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · nissl-lab/npoi
NullBufferedCipher Broken bug dotnet7. #1153 opened 3 weeks ago by r-ising NPOI 2.6.2 · 10 · Upgrade SharpZipLib version need-investigation.
Read more >
Ramon Ising r-ising
Day of Week August Aug August Aug Sunday Sun No contributions on Sunday, August 14, 2022 No contributions on Sunday, A... Monday Mon No contributions...
Read more >
Was nulifier in the past broken af? : r/DotA2
Only thinking about it, it has to be the most broken item possible. 115. 75 comments. Copy this post's permalink to the clipboard....
Read more >
Unaware Clefable is broken - Pokemon Omega Ruby
Clefable safely gets to +6 Defense, Scizor uses Brick Break on it... Actually what am I even looking at.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found