sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Cannot read properties of undefined (reading 'compileAG')
Labels: error-telemetry

```javascript
TypeError: Cannot read properties of undefined (reading 'compileAG')
at l in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:24135
at <anonymous> in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:20316
at <anonymous> in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:20852
at y in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:21653
at Object.c [as _tokenizeString] in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:20047
at m._tokenize in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:7377
at m.tokenizeLine2 in vscode-file://vscode-app//node_modules.asar/vscode-textmate/release/main.js:1:6513
at p.tokenizeEncoded in src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.ts:54:40
at T.tokenizeEncoded in src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.ts:42:23
at o in src/vs/editor/common/model/textModelTokens.ts:427:28
at safeTokenize in src/vs/editor/common/model/textModelTokens.ts:69:14
at u.forceTokenization in src/vs/editor/common/model/tokenizationTextModelPart.ts:568:20
at u.tokenizeIfCheap in src/vs/editor/common/model/tokenizationTextModelPart.ts:582:9
at h.tokenizeIfCheap in src/vs/editor/common/model/tokenizationTextModelPart.ts:154:22
at w in src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.ts:23:21
at i.provideCodeActions in out/vs/workbench/workbench.desktop.main.js:1215:42589
at <anonymous> in src/vs/editor/contrib/codeAction/browser/codeAction.ts:124:47
at Array.map (<anonymous>)
at n in src/vs/editor/contrib/codeAction/browser/codeAction.ts:121:29
at <anonymous> in out/vs/workbench/workbench.desktop.main.js:693:78387
at callback in src/vs/base/common/async.ts:27:19
at i.h in out/vs/workbench/workbench.desktop.main.js:693:76228
at i.trigger in src/vs/editor/contrib/codeAction/browser/codeActionModel.ts:51:8
at <anonymous> in src/vs/editor/contrib/codeAction/browser/codeActionModel.ts:63:9
at runner in src/vs/base/common/async.ts:894:4
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=903b1e9d8990623e3d7da1df3d33db3e42d80eda&bH=89e97546-f7c8-7121-a9f6-e5be71ac3025)
Repository: vscode
Issue: TextModelPart is disposed!
Labels: error-telemetry

```javascript
Error: TextModelPart is disposed!
at h.g in src/vs/editor/common/model/textModelPart.ts:17:10
at h.getWordAtPosition in src/vs/editor/common/model/tokenizationTextModelPart.ts:210:8
at U.getWordAtPosition in src/vs/editor/common/model/textModel.ts:1965:42
at C.h in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:112:22
at new $ in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:98:26
at new C in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:152:3
at M in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:246:10
at computeOccurencesAtPosition in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:708:11
at N.E in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:691:31
at a.value in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:320:11
at o.y in src/vs/base/common/event.ts:1127:13
at o.z in src/vs/base/common/event.ts:1138:9
at o.fire in src/vs/base/common/event.ts:1162:9
at x.setModel in src/vs/editor/browser/widget/codeEditorWidget.ts:523:26
at P.setInput in src/vs/workbench/contrib/files/browser/editors/textFileEditor.ts:128:12
at async f.S in src/vs/workbench/browser/parts/editor/editorPanes.ts:445:4
at async f.L in src/vs/workbench/browser/parts/editor/editorPanes.ts:270:34
at async f.openEditor in src/vs/workbench/browser/parts/editor/editorPanes.ts:146:12
at async in src/vs/workbench/browser/parts/editor/editorGroupView.ts:1124:49
at async w.M in src/vs/workbench/services/editor/browser/codeEditorService.ts:100:19
at async w.openCodeEditor in src/vs/editor/browser/services/abstractCodeEditorService.ts:282:22
at async A.m in src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts:215:24
at async A.l in src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts:186:25
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=903b1e9d8990623e3d7da1df3d33db3e42d80eda&bH=9336b013-978d-1c9a-95cc-52658d951c72)
Repository: vscode
Issue: Illegal value for lineNumber
Labels: error-telemetry

```javascript
Error: Illegal value for lineNumber
at U.getLineLength in src/vs/editor/common/model/textModel.ts:817:10
at y in src/vs/workbench/contrib/inlineChat/browser/utils.ts:32:78
at <anonymous> in out/vs/workbench/workbench.desktop.main.js:1910:69371
at callback in src/vs/editor/common/model/textModel.ts:1617:13
at U.changeDecorations in src/vs/editor/common/model/textModel.ts:1587:16
at <anonymous> in src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.ts:647:21
at callback in src/vs/editor/common/model/textModel.ts:1617:13
at U.changeDecorations in src/vs/editor/common/model/textModel.ts:1587:16
at A.recompute in src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.ts:645:20
at async K.MAKE_REQUEST in src/vs/workbench/contrib/inlineChat/browser/inlineChatController.ts:703:4
at async K.R in src/vs/workbench/contrib/inlineChat/browser/inlineChatController.ts:274:16
at async K.run in src/vs/workbench/contrib/inlineChat/browser/inlineChatController.ts:253:4
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=31c37ee8f63491495ac49e43b8544550fbae4533&bH=0423c709-23a3-bc02-54a0-1bcb94a5e85c)
Repository: vscode
Issue: Cannot read properties of null (reading 'modelInfo')
Labels: bug,error-telemetry

```javascript
TypeError: Cannot read properties of null (reading 'modelInfo')
at N.E in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:686:45
at N.B in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:530:8
at a.value in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:310:9
at o.y in src/vs/base/common/event.ts:1127:13
at o.z in src/vs/base/common/event.ts:1138:9
at o.fire in src/vs/base/common/event.ts:1149:9
at a.value in src/vs/editor/browser/widget/codeEditorWidget.ts:1736:40
at o.y in src/vs/base/common/event.ts:1127:13
at o.fire in src/vs/base/common/event.ts:1158:9
at E.s in src/vs/editor/common/viewModelEventDispatcher.ts:64:18
at E.emitOutgoingEvent in src/vs/editor/common/viewModelEventDispatcher.ts:39:8
at a.value in src/vs/editor/common/viewModel/viewModelImpl.ts:471:26
at o.y in src/vs/base/common/event.ts:1127:13
at o.fire in src/vs/base/common/event.ts:1158:9
at ne.z in src/vs/editor/common/model/textModel.ts:2461:16
at ne.endDeferredEmit in src/vs/editor/common/model/textModel.ts:2410:10
at U.changeDecorations in src/vs/editor/common/model/textModel.ts:1589:33
at x.removeDecorations in src/vs/editor/browser/widget/codeEditorWidget.ts:1306:25
at N.y in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:443:11
at N.A in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:494:8
at N.E in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:634:10
at N.B in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:530:8
at a.value in src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:310:9
at o.y in src/vs/base/common/event.ts:1127:13
at o.z in src/vs/base/common/event.ts:1138:9
at o.fire in src/vs/base/common/event.ts:1162:9
at a.value in src/vs/editor/browser/widget/codeEditorWidget.ts:1720:38
at o.y in src/vs/base/common/event.ts:1127:13
at o.fire in src/vs/base/common/event.ts:1158:9
at E.s in src/vs/editor/common/viewModelEventDispatcher.ts:64:18
at E.endEmitViewEvents in src/vs/editor/common/viewModelEventDispatcher.ts:109:8
at d.S in src/vs/editor/common/viewModel/viewModelImpl.ts:1106:26
at d.setCursorStates in src/vs/editor/common/viewModel/viewModelImpl.ts:1001:15
at N.runCoreEditorCommand in src/vs/editor/browser/coreCommands.ts:392:41
at T.moveTo in src/vs/editor/browser/view/viewController.ts:224:33
at T.dispatchMouse in src/vs/editor/browser/view/viewController.ts:207:11
at i.G in src/vs/editor/browser/controller/mouseHandler.ts:610:24
at i.start in src/vs/editor/browser/controller/mouseHandler.ts:485:8
at b.G in src/vs/editor/browser/controller/mouseHandler.ts:327:29
at <anonymous> in src/vs/editor/browser/controller/mouseHandler.ts:130:83
at callback in src/vs/editor/browser/editorDom.ts:165:4
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=05047486b6df5eb8d44b2ecd70ea3bdf775fd937&bH=28b715b4-77ff-0acc-e455-7669f9fabfe6)
Repository: flutter
Issue: [Impeller] Vulkan external texture composition can only handle shaders with a single sampler.
Labels: P3,e: impeller,team-engine,triaged-engine

This is a TODO introduced in https://github.com/flutter/engine/pull/50730.

Today, when sampling from an external image in a shader in the Vulkan backend, only one sampler may be specified. This is because sampling from an external texture requires the sampler to be immutable and the pipeline to be rebuilt. This pipeline rebuilding mechanism only handles the case of single sampler today.

We have no cases where external texture sampling shaders use more than one sampler. But, if/when we do, we should expect to see errors when sampling from a combined image sampler that expects to be bound in the renderpass.
Repository: godot
Issue: Popup not appearing on Linux
Labels: platform:linuxbsd,topic:editor,needs testing

### Tested versions

- 4.2.1.stable

### System information

Windows 10, Ubuntu Linux (5.15.0-94-generic x86_64)

### Issue description

I am seeing different behavior on Windows and Linux when it comes to basic use of the `Popup` class. Briefly, it shows up on Windows and not on Linux.

### Steps to reproduce

I have made a very basic test case like this:
- Start a new project
- Make the first node a User Interface (Control) node and save it
- Add a Popup node, and give that node a Label child with some text in it
- Add a script that, in the `_ready()` function, calls `$Popup.popup()`.

On Windows, the label appears when the scene is run. On Linux, it does not.

I've included an MRP with this same code in it.

### Minimal reproduction project (MRP)

[project.zip](https://github.com/godotengine/godot/files/14337164/project.zip)
Repository: flutter
Issue: PaginatedDataTable: remove the blank space and make rowsPerPage nullable
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design

### Use case

If rowsPerPage is 20, and the last page has 1 data row, there will be 19 empty rows in the last page. Add an option for removing the empty rows. For mobile device, having so much blank space is not ideal, almost the whole screen is blank.

### Proposal

Add attribute "renderEmptyRows" (bool).

```
PaginatedDataTable(
    renderEmptyRows: false,
    rowsPerPage: 20,
    ...
);
```
If it is false, no blank rows will be rendered (no blank space).

Make rowsPerPage nullable (int? type). If it is null, one page only and no pagination (no pagination menu).

```
PaginatedDataTable(
    renderEmptyRows: false,
    rowsPerPage: null,    // one page only
    ...
);
```
Repository: flutter
Issue: [Android] Consider using native AImageReader instead of Java ImageReader
Labels: platform-android,engine,c: performance,c: proposal,P3,team-engine,triaged-engine

I think all of the native image reader equivalents have availibility going back far enough for us?

https://developer.android.com/ndk/reference/group/media#aimagereader_acquirelatestimage

One of the most expensive things per frame is actually creating the Native hardwarebuffer after acquiring the Image. Its possible that the Native APIs have different/better performance characteristics which would let us bypass this cost.

See GetHardwareBuffer is all overhead of creating a native HardwareBuffer object wrapper. 

![image](https://github.com/flutter/flutter/assets/8975114/73479d87-d0c7-425c-8366-a18a99c01720)

See also: https://github.com/flutter/flutter/issues/142153
Repository: terminal
Issue: rapidly clicking causing flickering of window focus
Labels: Issue-Bug,Product-Terminal,Area-Windowing

### Windows Terminal version

1.20.10303.0

### Windows build number

10.0.19045.0

### Other Software

_No response_

### Steps to reproduce

rapidly clicking seems to cause flickering of window focus.
it seems to need precise timing to trigger, i've accidentally triggered it with a double click before

### Expected Behavior

_No response_

### Actual Behavior

click to watch:
[![click to watch](https://cdn.discordapp.com/attachments/351325525886763008/1209275047630340116/5COYYJiZHHg-HD.jpg?ex=65e65426&is=65d3df26&hm=e39528c3b13b4d7464b81beced988d22bf40b79f802dc349bde154f042a325ce&)](https://www.youtube.com/watch?v=5COYYJiZHHg)
Repository: next.js
Issue: `window` is injected as an `object` in webworker scripts instead of `undefined`
Labels: bug,SWC

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/boring-hill-2w8x38?file=%2Fapp%2Fworker.ts%3A5%2C44

### To Reproduce

1. Start the application in dev
2. Click the "Send to worker" button
3. Inspect the console

### Current vs. Expected behavior

Until next@14.0.5-canary.20, `typeof window` returned `undefined` inside a webworker as expected. However since next@14.0.5-canary.20, `typeof window` returns `object` but this object cannot be accessed. Therefore, as it stands, third party libraries making use of `window` via an `undefined` test cannot work anymore in webworkers in Nextjs.

The most notable example if **Three.js** which includes this snippet at the end of the library - 

```js
if ( typeof window !== 'undefined' ) {

	if ( window.__THREE__ ) {

		console.warn( 'WARNING: Multiple instances of Three.js being imported.' );

	} else {

		window.__THREE__ = REVISION;

	}

}
```

### Provide environment information

```bash
All
```


### Which area(s) are affected? (Select all that apply)

SWC transpilation

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Other (Deployed)

### Additional context

This bug was first introduced in next@14.0.5-canary.20
Repository: PowerToys
Issue: Cannot Shift+Delete (permanently delete) Within Pinned Explorer Windows
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

v0.78.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Always on Top

### Steps to reproduce

After pinning an explorer window on top, I am unable to "shift+Delete" a file within that window. After I remove the window pinning, the ability to shift+delete returns.

### ✔️ Expected Behavior

Being able to permanently delete something from the keyboard whilst an explorer window is pinned on top

### ❌ Actual Behavior

Cannot permanently delete a file in explorer if that window I'm deleting from is pinned on top.

### Other Software

Windows 11 Home, Version 22H2, OS Build 22621.3007
Powertoys v0.78.0
Repository: tauri
Issue: [bug] bundleresources is not working for Android
Labels: type: bug,status: needs triage,platform: Android

### Describe the bug

It won't bundle the resources specified in the bundleresources config for Android (`yarn tauri android dev`). Does this option apply to Android?
```
"bundle": {
    "resources": [
        "resources/*"
    ]
}
```
### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22000 X64
    ✔ WebView2: 121.0.2277.128
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.71.0 (8ede3aae2 2023-07-12)
    ✔ cargo: 1.71.0 (cfd3bbd8f 2023-06-08)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.16.0
    - yarn: 1.22.19
    - npm: 9.5.1

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.21
    - tauri-build [RUST]: 2.0.0-alpha.14
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.24.0
    - tauri-cli [RUST]: 1.3.1
    - @tauri-apps/api [NPM]: 2.0.0-alpha.13
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.20

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: vscode
Issue: `Copy Image` command in markdown preview editor is invalid and an error is reported.
Labels: bug,help wanted,markdown


Type: <b>Bug</b>

1. Open any project and open a markdown file containing images.
2. Open Preview
3. Right-click the image position in the preview and select `Copy Image`

VS Code version: Code - Insiders 1.87.0-insider (Universal) (00124e9e5830e3efc897db71c781899f8a676295, 2024-02-16T16:39:24.006Z)
OS version: Darwin x64 23.3.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|13, 13, 13|
|Memory (System)|16.00GB (1.31GB free)|
|Process Argv|--crash-reporter-id df3c396f-6ac7-418f-b02a-fccbcca2579e|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (1)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-language-pack-zh-hans|MS-|1.85.2024021409


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
vstes516:30244333
vscod805cf:30301675
vsaa593cf:30376535
py29gd2263:30784851
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
2e7ec940:30962249
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfcontrol:30963551
8082a590:30961435
b5d27386:30943795
fegfb526:30952798
7j2b6412:30951517
e3gdj431:30946825
8f97e687:30959763
ccp1r3:30958150

```

</details>

<!-- generated by issue reporter -->
Repository: go
Issue: proposal: net/netip: normalising errors returned by ParseAddrPort
Labels: Proposal

### Proposal Details

The current ParseAddrPort error has the following value

```
errors.New("not an ip:port")
errors.New("no IP")
errors.New("no port")
errors.New("missing ]")
errors.New("invalid port " + strconv.Quote(port) + " parsing " + strconv.Quote(s))
errors.New("invalid ip:port " + strconv.Quote(s) + ", square brackets can only be used with IPv6 addresses")
errors.New("invalid ip:port " + strconv.Quote(s) + ", IPv6 addresses must be surrounded by square brackets")
```

I would suggest turning these error values into the following

```
netip.ParseAddrPort(strconv.Quote(s)): not an ip:port
netip.ParseAddrPort(strconv.Quote(s)): no IP
netip.ParseAddrPort(strconv.Quote(s)): no port
netip.ParseAddrPort(strconv.Quote(s)): missing ]
netip.ParseAddrPort(strconv.Quote(s)): invalid port strconv.Quote(port)
netip.ParseAddrPort(strconv.Quote(s)): square brackets can only be used with IPv6 addresses
netip.ParseAddrPort(strconv.Quote(s)): IPv6 addresses must be surrounded by square brackets
```

A new error type can be created without exposing the

```go
type parseAddrError struct {
	in  string // the string given to ParseAddrPort
	msg string // an explanation of the parse failure
}

func (err parseAddrError) Error() string {
	q := strconv.Quote
	return "netip.ParseAddrPort(" + q(err.in) + "): " + err.msg
}
```
Repository: transformers
Issue: err_handle(layoutlmv3): Error message doesn't give much clarity when boxes not containing enough information
Labels: Good Second Issue

### System Info

- `transformers` version: 4.37.2
- Platform: Windows-10-10.0.22000-SP0
- Python version: 3.11.5
- Huggingface_hub version: 0.20.3
- Safetensors version: 0.4.2
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.2.0+cpu (False)
- Tensorflow version (GPU?): 2.15.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no

### Who can help?

@younesbelkada 
@ArthurZucker 

### Information

- [X] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)

### Reproduction

****
Model I am using LayoutLMv3:

when `boxes = [[123, 53], [36, 87], ...]` (basically any list which is not according to the proper format)
by proper format I mean `[[123, 346, 234, 634], [356, 568, 234, 25], ...]`

```python
encoding = processor(
        image_1,
        text,
        boxes=boxes,
        max_length=512,
        padding="max_length",
        truncation=True,
        return_tensors="pt"
    )
```

It produces a this error message
```
ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length. Perhaps your features (labels in this case) have excessive nesting (inputs type list where type int is expected).
```

**To Reproduce**
Steps to reproduce the behavior:
1. add any list of boxes with not enough values like `boxes = [[123, 53], [36, 87], ...]`
2. when run it throws the ValueError mentioned above



### Expected behavior

Can throw an error saying
```
ValueError: boxes doesn't have enough values inside each box. Each box should contain 4 values 
```