Lucene error when searching in Attachment actions

Description

When I try to search for an assemblage in Preferences -> Attachment actions as shown in the image, I get the error when I hit the Search button, and then KOMET crashes.

I've placed the latest changesets in this location https://www.dropbox.com/s/mi1acrjb6jpty8w/changesets%20lucene%20error.zip?dl=0

WARNING: Loading FXML document with JavaFX API of version 8.0.152 by JavaFX runtime of version 8.0.141
2018-11-17 19:13:51,118 ERROR [ISAAC-Q-work-thread 48] (SearchHandler.java:236) - Unexpected error during lucene search
java.lang.NullPointerException: null
at sh.isaac.api.util.ArrayUtil.toNidArray(ArrayUtil.java:35) ~[api-4.59-SNAPSHOT.jar:?]
at sh.isaac.api.index.IndexDescriptionQueryService.query(IndexDescriptionQueryService.java:133) ~[api-4.59-SNAPSHOT.jar:?]
at sh.komet.gui.search.extended.ExtendedSearchViewController.lambda$search$10(ExtendedSearchViewController.java:766) ~[search-view-4.59-SNAPSHOT.jar:?]
at sh.isaac.provider.query.search.SearchHandler.lambda$search$1(SearchHandler.java:228) ~[query-4.59-SNAPSHOT.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
2018-11-17 19:13:51,123 ERROR [JavaFX Application Thread] (ExtendedSearchViewController.java:693) - Unexpected Search Error
java.lang.NullPointerException: null
at sh.isaac.api.util.ArrayUtil.toNidArray(ArrayUtil.java:35) ~[api-4.59-SNAPSHOT.jar:?]
at sh.isaac.api.index.IndexDescriptionQueryService.query(IndexDescriptionQueryService.java:133) ~[api-4.59-SNAPSHOT.jar:?]
at sh.komet.gui.search.extended.ExtendedSearchViewController.lambda$search$10(ExtendedSearchViewController.java:766) ~[search-view-4.59-SNAPSHOT.jar:?]
at sh.isaac.provider.query.search.SearchHandler.lambda$search$1(SearchHandler.java:228) ~[query-4.59-SNAPSHOT.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_144]
Adding meta f to Assemblage
2018-11-17 19:14:05.208 java[29943:1702060] unrecognized type is 4294967295
2018-11-17 19:14:05.208 java[29943:1702060] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.10.106/AppKit.subproj/NSEvent.m:1969
2018-11-17 19:14:05.209 java[29943:1702060] Apple AWT Internal Exception: Invalid parameter not satisfying: _type > 0 && _type <= kCGSLastEventType
2018-11-17 19:14:05.209 java[29943:1702060] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: _type > 0 && _type <= kCGSLastEventType'

  •  

    •  

      • First throw call stack:
        (
        0 CoreFoundation 0x00007fff45a18e65 __exceptionPreprocess + 256
        1 libobjc.A.dylib 0x00007fff71a6f720 objc_exception_throw + 48
        2 CoreFoundation 0x00007fff45a33ab2 +[NSException raise:format:arguments:] + 98
        3 Foundation 0x00007fff47dd7d1d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
        4 AppKit 0x00007fff42ec0029 -[NSEvent _initWithCGEvent:eventRef:] + 3272
        5 AppKit 0x00007fff4321374c +[NSEvent eventWithCGEvent:] + 120
        6 libglass.dylib 0x0000000133e6093b listenTouchEvents + 59
        7 SkyLight 0x00007fff6bb2541e _ZL19processEventTapDataPvjjjPhj + 148
        8 SkyLight 0x00007fff6ba23c9e _XPostEventTapData + 278
        9 SkyLight 0x00007fff6bb2532c ZL22eventTapMessageHandlerP12CFMachPortPvlS1 + 132
        10 CoreFoundation 0x00007fff459797ab __CFMachPortPerform + 246
        11 CoreFoundation 0x00007fff459796a9 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION_ + 41
        12 CoreFoundation 0x00007fff45979607 __CFRunLoopDoSource1 + 527
        13 CoreFoundation 0x00007fff45961689 __CFRunLoopRun + 2574
        14 CoreFoundation 0x00007fff45960a28 CFRunLoopRunSpecific + 463
        15 Foundation 0x00007fff47cc73ba -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
        16 libglass.dylib 0x0000000133e4e6d8 +[GlassApplication enterNestedEventLoopWithEnv:] + 136
        17 libglass.dylib 0x0000000133e4f13a Java_com_sun_glass_ui_mac_MacApplication__1enterNestedEventLoopImpl + 74
        18 ??? 0x00000001093f79f4 0x0 + 4450122228
        19 ??? 0x00000001093e8040 0x0 + 4450058304
        )
        libc++abi.dylib: terminating with uncaught exception of type NSException
        ------------------------------------------------------------------------
        BUILD FAILURE
        ------------------------------------------------------------------------
        Total time: 01:00 min
        Finished at: 2018-11-17T19:14:05-05:00
        ------------------------------------------------------------------------
        Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project application: Command execution failed.: Process exited with an error: 134 (Exit value: 134) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Environment

None

Assignee

Saif Baig

Reporter

Saif Baig

Labels

None

Fix versions

Priority

Blocker
Configure