在当前参数寄存器中找到的选择器名称:isEqual:

2024-05-12

我正在寻求一些帮助来消除 OSX 应用程序中的一个我无法解决的错误。我收到以下记录错误:

Selector name found in current argument registers: isEqual:

但我一生都无法弄清楚它来自哪里,因为日志非常没有帮助。另外,我无法在我自己的测试系统上重现这一点,但它似乎在一些 beta 测试机上经常发生。这似乎只发生在 10.9 上。

这是崩溃的日志文件:

Incident Identifier: 77FAD32D-0316-489E-B898-9C084A4FF48A
CrashReporter Key:   A9FEF4E7-53F7-5FD1-AEDE-915C87BD437F
Hardware Model:      MacBookPro8,1
Process:         iModerate Deskto [4155]
Path:            /Users/USER/Desktop/iModerate Desktop.app/Contents/MacOS/iModerate     Desktop
Identifier:      com.fuzzybadger.iModerate-Desktop
Version:         1.1.549
Code Type:       X86-64
Parent Process:  launchd [159]

Date/Time:       2014-02-28 10:40:33 +0000
OS Version:      Mac OS X 10.9.0 (13A603)
Report Version:  104

Exception Type:  SIGSEGV
Exception Codes: SEGV_NOOP at 0x0
Crashed Thread:  10

Application Specific Information:
Selector name found in current argument registers: isEqual:

Thread 0:
0   libsystem_kernel.dylib               0x00007fff852b1716 __psynch_cvwait + 10
1   QuartzCore                           0x00007fff8769cce7 _ZN2CA13DispatchGroupD2Ev + 53
2   QuartzCore                           0x00007fff8768916e _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 538
3   QuartzCore                           0x00007fff876888f1 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 35
4   QuartzCore                           0x00007fff8768837c _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 236
5   QuartzCore                           0x00007fff87688016 _ZN2CA11Transaction6commitEv + 388
6   QuartzCore                           0x00007fff876987a1 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 71
7   CoreFoundation                       0x00007fff8998d0a7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
8   CoreFoundation                       0x00007fff8998d017 __CFRunLoopDoObservers + 391
9   CoreFoundation                       0x00007fff8997e294 CFRunLoopRunSpecific + 340
10  HIToolbox                            0x00007fff8fbd1f0d RunCurrentEventLoopInMode + 226
11  HIToolbox                            0x00007fff8fbd1b85 ReceiveNextEventCommon + 173
12  HIToolbox                            0x00007fff8fbd1abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
13  AppKit                               0x00007fff8ce6828e _DPSNextEvent + 1434
14  AppKit                               0x00007fff8ce678db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
15  AppKit                               0x00007fff8ce5b9cc -[NSApplication run] + 553
16  AppKit                               0x00007fff8ce46803 NSApplicationMain + 940
17  libdyld.dylib                        0x00007fff8ce435fd start + 1

Thread 1:
0   libsystem_kernel.dylib               0x00007fff852b2662 kevent64 + 10
1   libdispatch.dylib                    0x00007fff91e9f152 _dispatch_mgr_init + 0

Thread 2:
0   libsystem_kernel.dylib               0x00007fff852ada1a mach_msg_trap + 10
1   CoreFoundation                       0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2   CoreFoundation                       0x00007fff8997e939 __CFRunLoopRun + 1161
3   CoreFoundation                       0x00007fff8997e275 CFRunLoopRunSpecific + 309
4   Foundation                           0x00007fff90e47907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
5   Foundation                           0x00007fff90e4770b __NSThread__main__ + 1318
6   libsystem_pthread.dylib              0x00007fff905e8899 _pthread_body + 138
7   libsystem_pthread.dylib              0x00007fff905e872a _pthread_struct_init + 0

Thread 3:
0   libsystem_kernel.dylib               0x00007fff852ada1a mach_msg_trap + 10
1   CoreFoundation                       0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2   CoreFoundation                       0x00007fff8997e939 __CFRunLoopRun + 1161
3   CoreFoundation                       0x00007fff8997e275 CFRunLoopRunSpecific + 309
4   AppKit                               0x00007fff8d0081ce _NSEventThread + 144
5   libsystem_pthread.dylib              0x00007fff905e8899 _pthread_body + 138
6   libsystem_pthread.dylib              0x00007fff905e872a _pthread_struct_init + 0

Thread 4:
0   libsystem_kernel.dylib               0x00007fff852ada1a mach_msg_trap + 10
1   CoreFoundation                       0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2   CoreFoundation                       0x00007fff8997e939 __CFRunLoopRun + 1161
3   CoreFoundation                       0x00007fff8997e275 CFRunLoopRunSpecific + 309
4   Foundation                           0x00007fff90e49a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
5   Simperium-OSX                        0x000000010cb6b838 -[_SRRunLoopThread main] (SRWebSocket.m:1744)
6   Foundation                           0x00007fff90e4770b __NSThread__main__ + 1318
7   libsystem_pthread.dylib              0x00007fff905e8899 _pthread_body + 138
8   libsystem_pthread.dylib              0x00007fff905e872a _pthread_struct_init + 0

Thread 5:
0   libsystem_kernel.dylib               0x00007fff852b19aa __select + 10
1   libsystem_pthread.dylib              0x00007fff905e8899 _pthread_body + 138
2   libsystem_pthread.dylib              0x00007fff905e872a _pthread_struct_init + 0

Thread 6:
0   libsystem_kernel.dylib               0x00007fff852b1e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib               0x00007fff852b1e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 8:
0   libsystem_platform.dylib             0x00007fff8bde7cd1 OSAtomicDequeue + 17
1   libsystem_malloc.dylib               0x00007fff8f4b16c4 nano_malloc + 35
2   libsystem_malloc.dylib               0x00007fff8f4af87c malloc_zone_malloc + 71
3   CoreFoundation                       0x00007fff899118df __CFBasicHashRehash + 287
4   CoreFoundation                       0x00007fff89917566 __CFBasicHashAddValue + 86
5   CoreFoundation                       0x00007fff89916609 CFDictionarySetValue + 217
6   libCGCMS.A.dylib                     0x00007fff8b857fb8 CreateProfileSet + 104
7   libCGCMS.A.dylib                     0x00007fff8b857e61 profileRef + 189
8   libCGCMS.A.dylib                     0x00007fff8b858b79 create + 1205
9   libCGCMS.A.dylib                     0x00007fff8b859454 get_cms_space_for_space + 140
10  libCGCMS.A.dylib                     0x00007fff8b8592ca get_color_world_for_space + 166
11  libCGCMS.A.dylib                     0x00007fff8b8591f0 CMSTransformCreateConverter + 63
12  CoreGraphics                         0x00007fff86681ba1 CGColorTransformCacheGetConversionType + 145
13  CoreGraphics                         0x00007fff86681aeb CGColorTransformConvertNeedsCMS + 113
14  CoreGraphics                         0x00007fff8667f8e9 img_data_lock + 1217
15  CoreGraphics                         0x00007fff8667e480 CGSImageDataLock + 149
16  libRIP.A.dylib                       0x00007fff86548b3c ripc_AcquireImage + 769
17  libRIP.A.dylib                       0x00007fff86547b85 ripc_DrawImage + 1025
18  CoreGraphics                         0x00007fff8667e023 CGContextDrawImage + 457
19  AppKit                               0x00007fff8cfd8c02 __74-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 835
20  AppKit                               0x00007fff8cfd86a8 -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1073
21  AppKit                               0x00007fff8cfd7fee __71-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 896
22  AppKit                               0x00007fff8cf63626 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 170
23  AppKit                               0x00007fff8cfd7b6c -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1447
24  AppKit                               0x00007fff8cfd7153 -[NSImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:hints:] + 1453
25  AppKit                               0x00007fff8d01fa21 -[NSImageCell _drawImageWithFrame:inView:] + 225
26  AppKit                               0x00007fff8d01f8e5 -[NSImageCell drawInteriorWithFrame:inView:] + 625
27  AppKit                               0x00007fff8cfd4728 -[NSControl drawRect:] + 341
28  AppKit                               0x00007fff8cfc98b0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1075
29  AppKit                               0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
30  AppKit                               0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
31  AppKit                               0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
32  AppKit                               0x00007fff8cfc936d __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 186
33  AppKit                               0x00007fff8cfc9153 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2297
34  AppKit                               0x00007fff8cfc8848 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
35  QuartzCore                           0x00007fff8768a852 CABackingStoreUpdate_ + 2220
36  QuartzCore                           0x00007fff87689fa0 ___ZN2CA5Layer8display_Ev_block_invoke + 59
37  QuartzCore                           0x00007fff87689f5c x_blame_allocations + 84
38  QuartzCore                           0x00007fff87689a6b _ZN2CA5Layer8display_Ev + 1539
39  AppKit                               0x00007fff8cfc8713 _NSBackingLayerDisplay + 235
40  AppKit                               0x00007fff8cf9faab -[_NSViewBackingLayer display] + 811
41  QuartzCore                           0x00007fff8769ce1a _ZL16display_callbackPvS_ + 81
42  QuartzCore                           0x00007fff8769cd69 _ZN2CA13DispatchGroup8dispatchEb + 69
43  libdispatch.dylib                    0x00007fff91e9d2ad _dispatch_client_callout + 8
44  libdispatch.dylib                    0x00007fff91e9f09e _dispatch_root_queue_drain + 326
45  libdispatch.dylib                    0x00007fff91ea0193 _dispatch_worker_thread2 + 40
46  libsystem_pthread.dylib              0x00007fff905e9ef8 _pthread_wqthread + 314
47  libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 9:
 0   libsystem_kernel.dylib               0x00007fff852b1e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 10 Crashed:
0   libobjc.A.dylib                      0x00007fff87f0e097 objc_msgSend + 23
1   CoreFoundation                       0x00007fff899573d9 -[__NSDictionaryM setObject:forKey:] + 505
2   AppKit                               0x00007fff8ceb032b -[NSCell _textAttributes] + 531
3   AppKit                               0x00007fff8ceb00e2 -[NSCell _unformattedAttributedStringValue:] + 301
4   AppKit                               0x00007fff8cfead57 -[NSButtonCell _currentTitle] + 122
5   AppKit                               0x00007fff8cfea3fb -[NSButtonCell _configureAndDrawTitleWithRect:cellFrame:controlView:] + 148
6   AppKit                               0x00007fff8cfd62cf -[NSButtonCell drawInteriorWithFrame:inView:] + 1965
7   AppKit                               0x00007fff8cfd5ac8 -[NSButtonCell drawWithFrame:inView:] + 498
8   AppKit                               0x00007fff8cfd4728 -[NSControl drawRect:] + 341
9   AppKit                               0x00007fff8cfc98b0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1075
10  AppKit                               0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
11  AppKit                               0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
12  AppKit                               0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
13  AppKit                               0x00007fff8cfc936d __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 186
14  AppKit                               0x00007fff8cfc9153 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2297
15  AppKit                               0x00007fff8cfc8848 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
16  AppKit                               0x00007fff8d01e57c -[_NSBackingLayerContents drawLayer:inContext:] + 149
17  QuartzCore                           0x00007fff8768bcc9 -[CALayer drawInContext:] + 115
18  AppKit                               0x00007fff8d01e0b8 -[_NSTiledLayer drawTile:inContext:] + 654
19  AppKit                               0x00007fff8d01ddbc -[_NSTiledLayerContents drawLayer:inContext:] + 172
20  QuartzCore                           0x00007fff8768bcc9 -[CALayer drawInContext:] + 115
21  AppKit                               0x00007fff8d7f2565 -[NSTileLayer drawInContext:] +     169
22  QuartzCore                           0x00007fff8768a852 CABackingStoreUpdate_ + 2220
23  QuartzCore                           0x00007fff87689fa0 ___ZN2CA5Layer8display_Ev_block_invoke + 59
24  QuartzCore                           0x00007fff87689f5c x_blame_allocations + 84
25  QuartzCore                           0x00007fff87689a6b _ZN2CA5Layer8display_Ev + 1539
26  AppKit                               0x00007fff8d01dccf -[NSTileLayer display] + 119
27  AppKit                               0x00007fff8d01a175 -[_NSTiledLayerContents update:] + 5545
28  AppKit                               0x00007fff8d0188e8 -[_NSTiledLayer display] + 404
29  QuartzCore                           0x00007fff8769ce1a _ZL16display_callbackPvS_ + 81
30  QuartzCore                           0x00007fff8769cd69 _ZN2CA13DispatchGroup8dispatchEb + 69
31  libdispatch.dylib                    0x00007fff91e9d2ad _dispatch_client_callout + 8
32  libdispatch.dylib                    0x00007fff91e9f09e _dispatch_root_queue_drain + 326
33  libdispatch.dylib                    0x00007fff91ea0193 _dispatch_worker_thread2 + 40
34  libsystem_pthread.dylib              0x00007fff905e9ef8 _pthread_wqthread + 314
35  libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 11:
0   libsystem_kernel.dylib               0x00007fff852b1e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 12:
0   libsystem_kernel.dylib               0x00007fff852b1e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 13:
0   libsystem_kernel.dylib               0x00007fff852b1e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib              0x00007fff905ecfb9 start_wqthread + 13

Thread 10 crashed with X86-64 Thread State:
   rip: 0x00007fff87f0e097    rbp: 0x000000011ab59d20    rsp: 0x000000011ab59cb8    rax: 0x00007fff76b7c648 
   rbx: 0x0000000000000001    rcx: 0x0000000000000000    rdx: 0x00007fff76b7c648    rdi: 0x00006080006321a0 
   rsi: 0x00007fff8d89320c     r8: 0x00007fff8d85082b     r9: 0x0000000000000032    r10: 0x00007fff8d89320c 
   r11: 0xbadd0dacedb8bead    r12: 0x0000608000232d00    r13: 0x0000000000000002    r14: 0x0000000000000003 
   r15: 0x0000000000000003 rflags: 0x0000000000010246     cs: 0x000000000000002b     fs: 0x0000000000000000 
    gs: 0x000000000e5d0000 

字符串Selector name found in current argument registers: isEqual:崩溃报告中的内容实际上来自 HockeySDK,并显示最后一个选择器名称objc_msgSend()正试图打电话。它与 OS X 相同,在崩溃报告中显示以下字符串:objc_msgSend() selector name: isEqual:.

我们将在 SDK 中改进此消息,并了解我们可以在后端对当前传入消息执行哪些操作。

所以崩溃不是HockeySDK造成的!

事故发生的原因是,objc_msgSend(线程 10 帧 0) 试图调用isEqual在无效对象上,因此是异常类型SIGSEGV (See http://en.wikipedia.org/wiki/Segmentation_fault http://en.wikipedia.org/wiki/Segmentation_fault)。这是由[NSButtonCell _currentTitle]在第 4 帧中。

因此,您可能需要检查表视图和单元格内存管理。特别是当你分配一个title to an NSButtonCell.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

在当前参数寄存器中找到的选择器名称:isEqual: 的相关文章

  • Objective-C 原始数之间的差异

    What is the difference between objective c C primitive numbers I know what they are and how to use them somewhat but I m
  • 安装 libjpeg v8 到 /opt/local

    如何在 OSX 上将 libjpeg 8 安装到 opt local 我问的原因是我想用以下方法制作大脑活动的小电影MNE C 库 http www nmr mgh harvard edu martinos userInfo data MN
  • Objective-C - NSNotificationCenter 放在哪里?

    我有一个 NSNotificationCenter 选择器 把它放在哪里 在委托中 如果是 那么在哪里 在控制器中 方法也放在哪里 我需要解除分配 NSNotificationCenter 吗 NSNotificationCenter de
  • iOS8beta5中无法使用UIWebView打开PDF文件

    I have 工作项目我在其中显示UIWebView 中的 pdf 文件在测试我的应用程序时iOS8beta5 与 XCode5 它不起作用 In log它显示failed to find PDF header PDF not found
  • 为什么我的 UIPickerView 崩溃了?

    当我使用 UIPickerView 加载视图时出现以下错误 由于未捕获的异常 NSInvalidArgumentException 而终止应用程序 原因 NSCFNumber isEqualToString 无法识别的选择器发送到实例 0x
  • NSView 鼠标跟踪

    我在 Mac OS X 上遇到了 Cocoa NSView 的奇怪行为 我在 NSView 容器中有一个自定义 NSView 这个自定义 NSView 跟踪鼠标移动 点击 并有一个工具提示 当我在所描述的视图上方添加 NSView 时 即使
  • NSAttributedString 的 AutoLayout 行高计算错误

    我的应用程序从 API 中提取 HTML 将其转换为NSAttributedString 为了允许可点击的链接 并将其写入自动布局表中的一行 问题是 每当我调用这种类型的单元格时 高度都会被错误计算并且内容会被截断 我尝试了不同的行高计算实
  • 如何使用 iconutil 手动创建 icns 文件?

    当我验证我的应用程序时 出现此错误 应用程序包不包含 ICNS 格式的图标 同时包含512x512 and a 512x512 2x image 我用来制作 icns 图标Img2icns http www img2icnsapp com
  • 理解 Objective-C 中选择器的唯一性

    我无法理解 选择器 的部分功能 如苹果指南中所述 我把我感到困惑的部分加粗了 在 Objective C 中 选择器有两个含义 可以用来参考 当在源代码消息中使用方法时 只需使用方法的名称 到一个物体 不过 它也指的是唯一标识符 编译源代码
  • 使用自动布局时 UIScrollview 的中心内容

    我在项目中使用自动布局 并且有一个滚动视图 其中有一个居中的按钮 我已经让滚动视图滚动 但不占据整个屏幕 我尝试按照此处的教程进行操作 https developer apple com library ios technotes tn21
  • 如何在 UITextView 中禁用放大功能

    我想摆脱 UITextView 中的放大和文本选择 但我需要电话号码 链接和地址检测器 我在用 void addGestureRecognizer UIGestureRecognizer gestureRecognizer if gestu
  • 如何在基于视图的应用程序中添加导航控制器

    我想向基于视图的应用程序添加导航控制器 我们如何以编程方式和使用 xib 文件来完成此操作 如果您需要在 uiviewcontroller 中合并导航控制器 您需要按如下方式初始化它 UIViewController yourViewCon
  • UIAlertAction 处理程序在延迟后运行

    我正在尝试将 UIAlertViews 更改为 UIAlertControllers 我为此设置了这个操作 UIAlertAction undoStopAction UIAlertAction actionWithTitle Undo St
  • 当表格为空时 iPhone UITableView 图像背景

    我想当我的 UITableView 为空时显示图像背景 目前 我尝试将 UIImageView 添加到包含表格的视图控制器 但 XCode 不允许这样做 有没有好的方法呢 您可以在表视图顶部添加图像视图或更改表视图的背景视图 Check i
  • 使用 NSDateFormatter 和 TimeZone(不带 GMT 时间修饰符)将 NSDate 转换为 NSString

    我正在初始化我的 NSDateFormatter NSDateFormatter dateFormatter NSDateFormatter alloc init autorelease dateFormatter setLocale NS
  • 有 Mac 版的 IE 测试器吗? [关闭]

    就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
  • WKWebView在后台,几个奇怪的断言

    我想找出iOS中当前浏览器的userAgent 所以在 Xcode 创建的默认项目中我添加了 import ViewController h import
  • 播放循环声音的最简单方法是什么?

    在 iPhone 应用程序中播放循环声音的最简单方法是什么 可能最简单的解决方案是使用AVA音频播放器 http developer apple com library ios DOCUMENTATION AVFoundation Refe
  • 使用 MPMoviePlayerViewController 时的 iPad 旋转错误

    问题摘要 使用 MPMoviePlayerViewController 播放视频时更改 iPad 设备或模拟器的方向会导致视频播放器关闭时旋转状态不一致 这是 iPad SDK 3 2 中的一个已知错误 记录于http www openra
  • 如何在没有 MFMessageComposeViewController 的情况下发送和接收短信?

    我想发送和接收短信而不显示MFMessageViewController从我的申请中 有人能告诉我这怎么可能吗 不可能 除非您使用第 3 方 api 发送 接收短信

随机推荐

  • 更改 JTextPane 的大小

    我是Java新手 刚刚在StackOverflow中找到了这段代码 ResizeTextArea https stackoverflow com questions 9370561 enabling scroll bars when jte
  • 扭曲多种协议

    我希望为我正在从事的项目学习扭曲 该项目需要服务器响应 HTTP 请求以及通过 TCP 连接的其他协议 Twisted能够同时处理多种协议吗 我想使用 Twisted Web 来帮助处理 HTTP 但同时需要响应其他端口上的 TCP 连接
  • Durandal SPA 与打字稿有关的问题

    我使用 TypeScript 1 8 将我的 durandal SPA 应用程序从 VS 2012 更新到 VS 2015 它将生成 JavaScript ECMA5 我解决了所有构建错误 但我无法修复一个名为 return 语句只能在函数
  • Winforms 风格/UI 外观和感觉提示

    从多年的 asp net 开发回到 winforms 应用程序 寻找有关如何 设计 winforms 的建议和技巧 类似于我在 asp net 中使用 CSS 母版页的方式 我对如何在一处更新某些类型的控件的字体 颜色感兴趣 如何保持布局的
  • Android 6.0 缺乏访问相机服务的权限

    我在 Android 6 0 中使用 Camera2API 我在Android 5 0中没有报错 然而 当我在 Android 6 0 中使用我的代码时 我遇到了问题 问题是有时我可以成功打开相机并拍照 但有时相机打不开 出现错误 java
  • 在 PhpStorm 中禁用水平滚动

    有没有办法做到这一点 我更愿意将代码换行并表示在 80 100 个字符的行长度内 每次滑动时的滚动都让我发疯 有 软包裹 IDE 中的功能 它就是这样做的 它实际上 仅在屏幕上 将行分成多行以显示整行 而不需要水平滚动 它可以在以下位置启用
  • 确定解决迷宫问题的最小线段数

    我有一个问题 我需要定义一个具有最少数量的顶点的多边形 该多边形与不透明的图像中的每个像素相交或包含每个像素 令 N 为图像中的像素数 我唯一的假设是图像的边界 孔 内不能包含透明像素 并且至少有两个像素是不透明的 举个例子 假设我有以下图
  • 配置 PIP 以在代理后面工作

    我已经安装了 python 3 4 3 附带pip 我想从代理后面使用 pip 所以我执行了以下操作 Created C Users foo pip pip ini并添加了代理配置部分 proxy export http proxy my
  • 从副本消费

    Kafka 将主题的每个分区复制到指定的复制因子 据我所知 所有写入和读取请求都会路由到分区的领导者 有没有办法从追随者那里消费而不是从领导者那里消费 Kafka中的复制只是为了故障转移吗 在 Kafka 2 3 及更早版本中 您只能从领导
  • 使用 PDFMAKER 将多封电子邮件保存为 pdf

    我是 VBA 的新手 但我用 SAS 编写了一些程序 用汇编程序 大型机和 PC Word Perfect 宏 编写了一些程序 用 Java HTML 和其他东西编写了一些程序 我所做的是 当我遇到问题并且我认为我可以对其进行编程时 我会在
  • vscode 窗口没有响应[重复]

    这个问题在这里已经有答案了 VS代码版本 1 77 0 操作系统版本 windows 11 22h2 这是我过去几天收到的问题 我使用了nodejs 并且没有安装任何Python或其他软件 我已经删除了所有扩展并删除了缓存 在此输入图像描述
  • MVC3 和实体框架

    我的问题很简单 将 edmxMVC3 项目的 Web 应用程序的模型文件夹中的文件吗 我的答案非常简单 不要用数据访问逻辑和数据建模搞乱表示层 整个 MVC 应用程序 Visual Studio 解决方案中从下到上至少有 4 个项目 1 P
  • YouTube 频道 URL 的正则表达式

    如何使用 REGEX 验证 YouTube 频道 URL 我发现了这个模式 但它不能正常工作 http https www youtube com channel user a zA Z0 9 1 谁能帮我 你的问题是之后的额外管道user
  • 如何从该 Voronoi 图数据中获取单元格字典?

    使用找到的voronoi delaunay图生成库在这个节目中 http sourceforge net projects mapmanager 这是基于 财富 最初的实施他的算法 http en wikipedia org wiki Fo
  • 计算表中的行数

    获取 MySQL 数据库中特定表的总行数的语法是什么 我一直都这么做 SELECT count FROM table 上面将为您提供所有行的总数 您可以轻松添加 WHERE 子句来获取某个子集的计数 SELECT count FROM ta
  • 将 Docker 与具有 Node-gyp 依赖项的 Nodejs 一起使用

    我计划使用 Docker 部署 node js 应用程序 该应用程序有几个需要node gyp的依赖项 Node gyp 根据交付平台上的编译库构建这些模块 例如 canvas lwip qrcode 根据我的经验 这些构建可能高度依赖于操
  • 删除字符串 C 的第一个字符

    我试图删除字符串的第一个字符并保留其余部分 我当前的代码无法编译 我对如何修复它感到困惑 My code char newStr char charBuffer int len strlen charBuffer int i 1 char
  • VSTS 构建失败/发布无法在 bin 文件夹中找到 roslyn\csc.exe

    我们有一个网站项目 安装了以下 nuget 软件包 Microsoft CodeDom Providers DotNetCompilerPlatform 1 0 8 Microsoft Net Compilers 2 4 0 The web
  • 如何向 pandas.DataFrame 的子类添加属性?

    我想向 DataFrame 的子类添加属性 但出现错误 gt gt gt import pandas as pd gt gt gt class Foo pd DataFrame def init self self bar None gt
  • 在当前参数寄存器中找到的选择器名称:isEqual:

    我正在寻求一些帮助来消除 OSX 应用程序中的一个我无法解决的错误 我收到以下记录错误 Selector name found in current argument registers isEqual 但我一生都无法弄清楚它来自哪里 因为