Unrecognized field "pingTimeout" execiption in Redisson with 3.12.4 version - redis

I'm using Redisson library on redis connections in my java project. With 3.12.4 version, The library gives below error:
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "pingTimeout" (class org.redisson.config.SingleServerConfig), not marked as ignorable (25 known properties: "timeout", "subscriptionsPerConnection", "keepAlive", "sslKeystorePassword", "retryInterval", "retryAttempts", "idleConnectionTimeout", "sslTruststorePassword", "sslEnableEndpointIdentification", "address", "sslTruststore", "username", "connectTimeout", "subscriptionConnectionPoolSize", "password", "sslProvider", "tcpNoDelay", "connectionMinimumIdleSize", "subscriptionConnectionMinimumIdleSize", "sslKeystore", "pingConnectionInterval", "clientName", "connectionPoolSize", "database", "dnsMonitoringInterval"])
at [Source: (StringReader); line: 3, column: 20] (through reference chain: org.redisson.config.Config["singleServerConfig"]->org.redisson.config.SingleServerConfig["pingTimeout"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:60) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:822) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1152) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1589) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1567) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013) ~[jackson-databind-2.9.6.jar:2.9.6]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3004) ~[jackson-databind-2.9.6.jar:2.9.6]
at org.redisson.config.ConfigSupport.fromYAML(ConfigSupport.java:182) ~[redisson-3.12.4.jar:3.12.4]
at org.redisson.config.Config.fromYAML(Config.java:632) ~[redisson-3.12.4.jar:3.12.4]
In the change log file, there is no line about this. What should I do? What should I change somethig? Is there any migration guide?

You need to use pingConnectionInterval setting instead.

Related

Getting error while cross-compiling a wxWidgets app

I am getting an error while trying to cross-compile my application on ArchLinux for Windows using mingw. I am using meson for the build system and I wrote a .ini file according to the documentation here. Here is the .ini file,
[constants]
arch = 'x86_64'
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
ld = 'x86_64-w64-mingw32-ld'
objcopy = 'x86_64-w64-mingw32-objcopy'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
windres = 'x86_64-w64-mingw32-windres'
[host_machine]
system = 'windows'
cpu_family = arch
cpu = arch
endian = 'little'
[built-in options]
cpp_std = 'c++14'
and here is the error I am getting,
❯ ninja -C win-build
ninja: Entering directory `win-build'
[30/309] Linking target subprojects/wxwidgets/libwxnet.dll
FAILED: subprojects/wxwidgets/libwxnet.dll
x86_64-w64-mingw32-g++ -o subprojects/wxwidgets/libwxnet.dll subprojects/wxwidgets/libwxnet.dll.p/src_common_fs_inet.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_ftp.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_http.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_protocol.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckaddr.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckfile.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckipc.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckstrm.cpp.obj
subprojects/wxwidgets/libwxnet.dll.p/src_common_socket.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_url.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_webrequest.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_webrequest_curl.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_msw_sockmsw.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_msw_urlmsw.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_msw_webrequest_winhttp.cpp.obj -flto -Wl,--allow-shlib-undefined -shared -Wl,--start-group -Wl,--out-implib=subprojects/wxwidgets/libwxnet.dll.a subprojects/wxwidgets/libwxbase.dll.a -s -pthread -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lversion -lws2_32 -lwininet -loleacc -luxtheme -lwinhttp -Wl,--end-group
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text+0x4c7d): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text+0x50e6): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text.unlikely+0x2bf): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text.unlikely+0x2c5): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
collect2: error: ld returned 1 exit status
[36/309] Compiling C++ object subprojects/taglib/libtag.a.p/taglib_mpeg_mpegheader.cpp.obj
../subprojects/taglib/taglib/mpeg/mpegheader.cpp: In constructor ‘TagLib::MPEG::Header::Header(const TagLib::ByteVector&)’:
../subprojects/taglib/taglib/mpeg/mpegheader.cpp:72:40: warning: unused parameter ‘data’ [-Wunused-parameter]
72 | MPEG::Header::Header(const ByteVector &data) :
then it continues for a while and again throws this error and stop compilation,
[39/272] Linking target subprojects/wxwidgets/libwxcore.dll
FAILED: subprojects/wxwidgets/libwxcore.dll
x86_64-w64-mingw32-g++ -o subprojects/wxwidgets/libwxcore.dll subprojects/wxwidgets/libwxcore.dll.p/src_common_accelcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_accesscmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_anidecod.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_affinematrix2d.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_appcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_artprov.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_artstd.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_arttango.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpbtncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bookctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_btncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cairo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_checkboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_checklstcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_choiccmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_clipcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_clrpickercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_colourcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_colourdata.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cmdproc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cmndata.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_containr.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cshelp.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_ctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_ctrlsub.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcbufcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcgraph.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcsvg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dirctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dlgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dndcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dobjcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_docmdi.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_docview.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dpycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dseldlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_effects.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fddlgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_filectrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_filehistorycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_filepickercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontpickercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fldlgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontdata.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_graphicc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontenumcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontmap.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontutilcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_framecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gaugecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gbsizer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gdicmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_geometry.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gifdecod.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_graphcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_headercolcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_headerctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_helpbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_iconbndl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagall.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagbmp.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_image.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagfill.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imaggif.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagiff.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagjpeg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagpcx.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagpng.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagpnm.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagtga.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagtiff.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagxpm.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_layout.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_lboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_listctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_markupparser.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_matrix.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_menucmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_modalhook.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_mousemanager.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_nbkbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_overlaycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_ownerdrwcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_paper.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_panelcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_persist.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_popupcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_preferencescmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_prntbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_quantize.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_radiobtncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_radiocmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_rearrangectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_rendcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_rgncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_scrolbarcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_settcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_sizer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_slidercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_spinbtncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_spinctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_srchcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statbmpcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statlinecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_stattextcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_stockitem.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_tbarbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_textcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_textentrycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_textmeasurecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_toplvcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_treebase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_uiactioncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_valgen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_validate.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_valtext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_valnum.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_wincmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_windowid.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_wrapsizer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_xpmdecod.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_busyinfo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_buttonbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_choicdgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_choicbkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_collheaderctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_combog.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_dcpsg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_dirctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_dragimgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_filectrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_headerctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_infobar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_listbkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_logg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_markuptext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_msgdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_numdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_progdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_preferencesg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_printps.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_renderg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_richmsgdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_scrlwing.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_selstore.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_spinctlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_splitter.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_srchctlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_statbmpg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_stattextg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_textdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_tipwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_toolbkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_treectlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_treebkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_vlbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_vscroll.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_xrc_xmlreshandler.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpcboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_grideditors.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_gridctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_grid.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_hyperlinkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_calctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_notifmsgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_odcombo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_splash.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gridcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_addremovectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_tipdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_aboutdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_gridsel.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_sashwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_helpext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_richtooltipg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_bmpcboxg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_timectrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_notifmsgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_commandlinkbuttong.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_propdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_treelist.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_datavcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_animatecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_odcombocmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_hyperlnkcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_richtooltipcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_datectlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_bannerwindow.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_laywin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_calctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_wizard.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_editlbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_datavgen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_creddlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_rowheightcache.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_animateg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpbndl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_bmpsvg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_event.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fs_mem.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_msgout.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_utilscmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_main.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_volume.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_activex.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_app.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bitmap.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_brush.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_caret.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_clipbrd.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_colour.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_cursor.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_data.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcclient.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcmemory.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcprint.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcscreen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dialup.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dib.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_display.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_enhmeta.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_font.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fontenum.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fontutil.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gdiimage.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gdiobj.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gdiplus.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_graphics.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_graphicsd2d.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_icon.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_imaglist.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_minifram.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_nonownedwnd.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_comimpl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_dataobj.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_dropsrc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_droptgt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_oleutils.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_safearray.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_palette.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_pen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_popupwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_printdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_printwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_region.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_renderer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_rt_utilsrt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_settings.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_textmeasure.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_tooltip.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_toplevel.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_uiaction.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_utilsgui.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_utilswin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_uxtheme.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_window.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_joystick.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_rt_notifmsgrt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_aboutdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_sound.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_uuid.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_helpchm.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_taskbarcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_helpwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_notifmsg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_automtn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_taskbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_richtooltip.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_evtloop.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_access.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bmpbndl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_clrpickerg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_collpaneg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_filepickerg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_fontpickerg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_statusbr.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_prntdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_accel.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_anybutton.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_appprogress.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_artmsw.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bmpbuttn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_button.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_checkbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_choice.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_colordlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_combo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_combobox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_control.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_customdraw.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dialog.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dirdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dragimag.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_filedlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_frame.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gauge.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_headerctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_iniconf.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_listbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_listctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_mdi.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_menu.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_menuitem.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_metafile.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_msgdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_nativdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_nativewin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_notebook.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ownerdrw.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_progdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_radiobox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_radiobut.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_richmsgdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_scrolbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_slider.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_spinbutt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_spinctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statbmp.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statusbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statline.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_stattext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_systhemectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_taskbarbutton.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_toolbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_textctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_textentry.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_tglbtn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_treectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bmpcbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_datectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_calctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_datecontrols.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_timectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_commandlinkbutton.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_datetimectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_hyperlink.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_activityindicator.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_checklst.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fdrepdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fontdlg.cpp.obj -flto -Wl,--allow-shlib-undefined -shared -Wl,--start-group -Wl,--out-implib=subprojects/wxwidgets/libwxcore.dll.a subprojects/wxwidgets/libwxbase.dll.a subprojects/wxwidgets/libwxjpeg.a subprojects/wxwidgets/libwxpng.a subprojects/wxwidgets/libwxtiff.a subprojects/wxwidgets/libwxzlib.a -s -pthread -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lversion -lws2_32 -lwininet -loleacc -luxtheme -Wl,--end-group
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn720_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): multiple definition of `wxTextCtrlBase::SetValue(wxString const&)'; subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn1376_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): first defined here
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn720_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): multiple definition of `non-virtual thunk to wxTextCtrlBase::SetValue(wxString const&)'; subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn1376_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): first defined here
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn720_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): multiple definition of `non-virtual thunk to wxTextCtrlBase::SetValue(wxString const&)'; subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn1376_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): first defined here
../subprojects/wxwidgets/include/wx/generic/richmsgdlgg.h:17:24: warning: type ‘struct
../subprojects/wxwidgets/src/generic/helpext.cpp:383:48: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
383 | wxString *urls = new wxString[m_NumOfEntries];
| ^
/usr/x86_64-w64-mingw32/include/c++/11.2.0/new:128:26: note: in a call to allocation function ‘operator new []’ declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Command I used to build this is,
❯ meson setup --cross-file=cross-windows-x86_64.ini build-win
I have also tried to compile the same in a Windows virtual machine using MSYS2 and mingw compiler, I get very similar error before it finally fails and stops compiling.
On Windows I did the same as what I do on my Linux system to build the app which is,
meson build -Dprefix=/tmp/SampleHive
ninja -C build install
My original native build for Linux works fine though.
It seems like the error was because of link time optimization.
MinGW doesn't seem to like link time optimization, disabling it compiles wx just fine. I found the related information from here.

dynamic range based on property giving error

In DataWeave 1.0 I have a requirement to set the "Address" value to a text truncated based on the property "address.length". For example if address.length is > 25 then customer.addressLine1 needs to be truncated to the first 25 chars, otherwise set Address with value in "customer.addressLine1" as it is.
Code:
property file --> address.length=25
(ns2#Address: customer.addressLine1[0.."${address.length}" as :number-1] when ((((sizeOf (customer.addressLine1)) > ("${address.length}" as :number)))) otherwise customer.addressLine1)
Exception:
Root Exception stack trace:
com.mulesoft.weave.mule.exception.WeaveExecutionException: Exception while executing:
(ns2#Address: customer.addressLine1[0.."25" as :number-1] when ((((sizeOf (customer.addressLine1)) > ("25" as :number)))) otherwise customer.addressLine1
^
Type mismatch for 'Descendants Selector ..' operator
found :number
required :array.
(ns2#Address: customer.addressLine1[0 to "${address.length}" as :number - 1] when (sizeOf (customer.addressLine1)) > ("${address.length}" as :number) otherwise customer.addressLine1)
Try with the code above. The range selector is incorrect. It should be [0 to "${address.length}" as :number - 1]
The error says that you are using the descendant selector. The range selector should be used.

java.lang.Long cannot be cast to org.neo4j.index.impl.lucene.RelationshipId

The problem I have is with Neo4J-entreprise version 2.2.0RC-01.
One of our relationship has a property named Search_Field.
This property is AutoIndex (as configured in the neo4j-server.properties file) and is fulltext (lucene).
When we update such property with a value that is exactly the same as the previous (e.g.: Search_Field = 'ABC')
When we do :
START r1=relationship(137)
SET r1.Search_Field = 'ABC'
RETURN r1
This error occured :
java.lang.Long cannot be cast to org.neo4j.index.impl.lucene.RelationshipId
If we change the value (BCE instead of ABC), it is working !.
If we do the same thing on a node's property that is also AutoIndex - fulltext - lucene, it is working and no problem occurs.
Anyone has encountered a similar problem ?
Here is the stack trace:
java.lang.ClassCastException: java.lang.Long cannot be cast to org.neo4j.index.impl.lucene.RelationshipId
at org.neo4j.index.impl.lucene.RelationshipId.equals(RelationshipId.java:43)
at java.util.HashMap.removeEntryForKey(HashMap.java:653)
at java.util.HashMap.remove(HashMap.java:635)
at java.util.HashSet.remove(HashSet.java:233)
at org.neo4j.index.impl.lucene.ExactTxData.remove(ExactTxData.java:157)
at org.neo4j.index.impl.lucene.TxDataHolder.remove(TxDataHolder.java:48)
at org.neo4j.index.impl.lucene.LuceneTransactionState.insert(LuceneTransactionState.java:86)
at org.neo4j.index.impl.lucene.LuceneTransactionState.add(LuceneTransactionState.java:41)
at org.neo4j.index.impl.lucene.LuceneIndex$RelationshipIndex.addRelationship(LuceneIndex.java:425)
at org.neo4j.kernel.impl.api.StateHandlingStatementOperations$3.visit(StateHandlingStatementOperations.java:1379)
at org.neo4j.kernel.impl.api.store.CacheLayer.relationshipVisit(CacheLayer.java:489)
at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.relationshipVisit(StateHandlingStatementOperations.java:1238)
at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.relationshipAddToLegacyIndex(StateHandlingStatementOperations.java:1373)
at org.neo4j.kernel.impl.api.OperationsFacade.relationshipAddToLegacyIndex(OperationsFacade.java:881)
at org.neo4j.kernel.impl.coreapi.LegacyIndexProxy$Type$2.add(LegacyIndexProxy.java:171)
at org.neo4j.kernel.impl.coreapi.LegacyIndexProxy.internalAdd(LegacyIndexProxy.java:524)
at org.neo4j.kernel.impl.coreapi.LegacyIndexProxy.add(LegacyIndexProxy.java:390)
at org.neo4j.kernel.impl.coreapi.AbstractAutoIndexerImpl.propertyChanged(AbstractAutoIndexerImpl.java:70)
at org.neo4j.kernel.impl.api.LegacyPropertyTrackers.relationshipChangeStoreProperty(LegacyPropertyTrackers.java:98)
at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.relationshipSetProperty(StateHandlingStatementOperations.java:648)
at org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.relationshipSetProperty(ConstraintEnforcingEntityOperations.java:171)
at org.neo4j.kernel.impl.api.LockingStatementOperations.relationshipSetProperty(LockingStatementOperations.java:340)
at org.neo4j.kernel.impl.api.OperationsFacade.relationshipSetProperty(OperationsFacade.java:665)
at org.neo4j.cypher.internal.spi.v2_2.TransactionBoundQueryContext$RelationshipOperations.setProperty(TransactionBoundQueryContext.scala:217)
at org.neo4j.cypher.internal.compiler.v2_2.spi.DelegatingOperations.setProperty(DelegatingQueryContext.scala:126)
at org.neo4j.cypher.internal.compatibility.ExceptionTranslatingQueryContext$ExceptionTranslatingOperations.org$neo4j$cypher$internal$compatibility$ExceptionTranslatingQueryContext$ExceptionTranslatingOperations$$super$setProperty(ExceptionTranslatingQueryContext.scala:151)
at org.neo4j.cypher.internal.compatibility.ExceptionTranslatingQueryContext$ExceptionTranslatingOperations$$anonfun$setProperty$1.apply$mcV$sp(ExceptionTranslatingQueryContext.scala:151)
at org.neo4j.cypher.internal.compatibility.ExceptionTranslatingQueryContext$ExceptionTranslatingOperations$$anonfun$setProperty$1.apply(ExceptionTranslatingQueryContext.scala:151)
at org.neo4j.cypher.internal.compatibility.ExceptionTranslatingQueryContext$ExceptionTranslatingOperations$$anonfun$setProperty$1.apply(ExceptionTranslatingQueryContext.scala:151)
at org.neo4j.cypher.internal.compatibility.ExceptionTranslatingQueryContext.org$neo4j$cypher$internal$compatibility$ExceptionTranslatingQueryContext$$translateException(ExceptionTranslatingQueryContext.scala:182)
at org.neo4j.cypher.internal.compatibility.ExceptionTranslatingQueryContext$ExceptionTranslatingOperations.setProperty(ExceptionTranslatingQueryContext.scala:151)
at org.neo4j.cypher.internal.compiler.v2_2.spi.UpdateCountingQueryContext$CountingOps.setProperty(UpdateCountingQueryContext.scala:132)
at org.neo4j.cypher.internal.compiler.v2_2.mutation.PropertySetAction.exec(PropertySetAction.scala:59)
at org.neo4j.cypher.internal.compiler.v2_2.pipes.ExecuteUpdateCommandsPipe.org$neo4j$cypher$internal$compiler$v2_2$pipes$ExecuteUpdateCommandsPipe$$exec(ExecuteUpdateCommandsPipe.scala:56)
at org.neo4j.cypher.internal.compiler.v2_2.pipes.ExecuteUpdateCommandsPi$$$$3fd0ddfab96df657454927b510aaae$$$$ands$1$$anonfun$apply$2.apply(ExecuteUpdateCommandsPipe.scala:45)
at org.neo4j.cypher.internal.compiler.v2_2.pipes.ExecuteUpdateCommandsPi$$$$3fd0ddfab96df657454927b510aaae$$$$ands$1$$anonfun$apply$2.apply(ExecuteUpdateCommandsPipe.scala:45)
at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator$$anonfun$hasNext$1.apply$mcZ$sp(ResultIterator.scala:61)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator$$anonfun$hasNext$1.apply(ResultIterator.scala:60)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator$$anonfun$hasNext$1.apply(ResultIterator.scala:60)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator$$anonfun$failIfThrows$1.apply(ResultIterator.scala:120)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.decoratedCypherException(ResultIterator.scala:129)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.failIfThrows(ResultIterator.scala:118)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.hasNext(ResultIterator.scala:59)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.foreach(ResultIterator.scala:49)
at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:176)
at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:45)
at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.to(ResultIterator.scala:49)
at scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:257)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.toList(ResultIterator.scala:49)
at org.neo4j.cypher.internal.compiler.v2_2.EagerResultIterator.<init>(ResultIterator.scala:35)
at org.neo4j.cypher.internal.compiler.v2_2.ClosingIterator.toEager(ResultIterator.scala:55)
at org.neo4j.cypher.internal.compiler.v2_2.executionplan.DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.buildResultIterator(DefaultExecutionResultBuilderFactory.scala:103)
at org.neo4j.cypher.internal.compiler.v2_2.executionplan.DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:93)
at org.neo4j.cypher.internal.compiler.v2_2.executionplan.DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.build(DefaultExecutionResultBuilderFactory.scala:64)
at org.neo4j.cypher.internal.compiler.v2_2.executionplan.ExecutionPlanBuilder$$anonfun$getExecutionPlanFunction$1.apply(ExecutionPlanBuilder.scala:122)
at org.neo4j.cypher.internal.compiler.v2_2.executionplan.ExecutionPlanBuilder$$anonfun$getExecutionPlanFunction$1.apply(ExecutionPlanBuilder.scala:106)
at org.neo4j.cypher.internal.compiler.v2_2.executionplan.ExecutionPlanBuilder$$anon$1.run(ExecutionPlanBuilder.scala:70)
at org.neo4j.cypher.internal.compatibility.CompatibilityFor2_2$ExecutionPlanWrapper$$anonfun$run$1.apply(CompatibilityFor2_2.scala:166)
at org.neo4j.cypher.internal.compatibility.CompatibilityFor2_2$ExecutionPlanWrapper$$anonfun$run$1.apply(CompatibilityFor2_2.scala:166)
at org.neo4j.cypher.internal.compatibility.exceptionHandlerFor2_2$.runSafely(CompatibilityFor2_2.scala:104)
at org.neo4j.cypher.internal.compatibility.CompatibilityFor2_2$ExecutionPlanWrapper.run(CompatibilityFor2_2.scala:165)
at org.neo4j.cypher.internal.PreparedPlanExecution.execute(PreparedPlanExecution.scala:27)
at org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:107)
at org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:101)
at org.neo4j.cypher.javacompat.internal.ServerExecutionEngine.executeQuery(ServerExecutionEngine.java:61)
at org.neo4j.server.rest.transactional.TransactionHandle.executeStatements(TransactionHandle.java:327)
at org.neo4j.server.rest.transactional.TransactionHandle.execute(TransactionHandle.java:258)
at org.neo4j.server.rest.transactional.TransactionHandle.execute(TransactionHandle.java:103)
at org.neo4j.server.rest.web.TransactionalService$1.write(TransactionalService.java:192)
at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)
at java.lang.Thread.run(Thread.java:724)
I have same problem... :( cannot indexing a relationship property with long value. (Release Neo4j-2.2.0)
workaround:
a) Disable auto index
b) Update the relationship property with cast to string:
match ()-[r]-() set r.prop = toString(r.prop);
c) Enable auto index
d) Making the relationship property Indexing:
match ()-[r]-() set r.prop = r.prop;
same here when trying to simply execute:
match ()-[n]-() set n.objectId1='a12'
when there is an autoindex on objectId1.
java.lang.Long cannot be cast to org.neo4j.index.impl.lucene.RelationshipId
Neo.DatabaseError.Statement.ExecutionFailure

Select a field with multiple where clause

I need to select a field with multiple where clause. The below query causes a syntax error.
String selectquery="SELECT" +KEY_EXPAMT+ "FROM" +TABLE_EXP+ "WHERE"
+KEY_EXPCAT+ "='" +String.valueOf(cat)+ "'AND " +KEY_EXPMONTH+ "='"
+String.valueOf(month)+ "' AND " +KEY_EXPYEAR+ "='" +String.valueOf(year)+ "'
AND " +KEY_EXPFROM+ "='" +String.valueOf(from)+"'";
SQLiteDatabase db = this.getWritableDatabase();
Cursor cursor = db.rawQuery(selectquery, new String[]{cat, month,year,from});
logcat:
03-20 15:01:36.606 19106-19125/com.expense.javed.expensetrackingsystem D/OpenGLRenderer﹕ Render dirty regions requested: true
03-20 15:01:36.623 19106-19106/com.expense.javed.expensetrackingsystem D/Atlas﹕ Validating map...
03-20 15:01:36.680 19106-19125/com.expense.javed.expensetrackingsystem I/Adreno-EGL﹕ : EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107_msm8226_LA.BF.1.1__release_AU ()
OpenGL ES Shader Compiler Version: E031.25.01.03
Build Date: 10/28/14 Tue
Local Branch:
Remote Branch: quic/l_LNX.LA.3.6
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107 + cb93e16 + f50fe49 + d7c18e6 + 5b9a565 + 0f3a25d + 607156e + 75511aa + e4d16c0 + 686f3eb + 211a271 + dd281ee + NOTHING
03-20 15:01:36.683 19106-19125/com.expense.javed.expensetrackingsystem I/OpenGLRenderer﹕ Initialized EGL, version 1.4
03-20 15:01:36.762 19106-19125/com.expense.javed.expensetrackingsystem D/OpenGLRenderer﹕ Enabling debug mode 0
03-20 15:01:48.482 19106-19106/com.expense.javed.expensetrackingsystem I/Choreographer﹕ Skipped 30 frames! The application may be doing too much work on its main thread.
03-20 15:01:48.494 19106-19125/com.expense.javed.expensetrackingsystem V/RenderScript﹕ Application requested CPU execution
03-20 15:01:48.507 19106-19125/com.expense.javed.expensetrackingsystem V/RenderScript﹕ 0xb862fc90 Launching thread(s), CPUs 4
03-20 15:02:13.932 19106-19106/com.expense.javed.expensetrackingsystem E/SQLiteLog﹕ (1) near "SELECTexpenseamountFROMexpenseWHEREexpensecategory": syntax error
03-20 15:02:13.946 19106-19106/com.expense.javed.expensetrackingsystem D/AndroidRuntime﹕ Shutting down VM
03-20 15:02:13.962 19106-19106/com.expense.javed.expensetrackingsystem E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.expense.javed.expensetrackingsystem, PID: 19106
android.database.sqlite.SQLiteException: near "SELECTexpenseamountFROMexpenseWHEREexpensecategory": syntax error (code 1): , while compiling: SELECTexpenseamountFROMexpenseWHEREexpensecategory='food'AND expensemonth='march' AND expenseyear='2015' AND expensefrom='InBank'
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316)
at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1255)
at com.expense.javed.expensetrackingsystem.SqlLiteDb.updateExpense(SqlLiteDb.java:122)
at com.expense.javed.expensetrackingsystem.ExpensingAmountActivity$4$1.onClick(ExpensingAmountActivity.java:145)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:160)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5312)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
03-20 15:02:15.674 19106-19106/com.expense.javed.expensetrackingsystem I/Process﹕ Sending signal. PID: 19106 SIG: 9
03-20 15:02:16.502 20366-20387/com.expense.javed.expensetrackingsystem D/OpenGLRenderer﹕ Render dirty regions requested: true
03-20 15:02:16.518 20366-20366/com.expense.javed.expensetrackingsystem D/Atlas﹕ Validating map...
03-20 15:02:16.576 20366-20387/com.expense.javed.expensetrackingsystem I/Adreno-EGL﹕ : EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107_msm8226_LA.BF.1.1__release_AU ()
OpenGL ES Shader Compiler Version: E031.25.01.03
Build Date: 10/28/14 Tue
Local Branch:
Remote Branch: quic/l_LNX.LA.3.6
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107 + cb93e16 + f50fe49 + d7c18e6 + 5b9a565 + 0f3a25d + 607156e + 75511aa + e4d16c0 + 686f3eb + 211a271 + dd281ee + NOTHING
03-20 15:02:16.578 20366-20387/com.expense.javed.expensetrackingsystem I/OpenGLRenderer﹕ Initialized EGL, version 1.4
03-20 15:02:16.609 20366-20387/com.expense.javed.expensetrackingsystem D/OpenGLRenderer﹕ Enabling debug mode 0
Don't do that. Your code is vulnerable to an SQL injection attack. You should really use prepared statements with ? placeholders for the values, and then set the values later. Or, at a minimum, you should escape the strings properly. To learn about SQL injection, see http://en.wikipedia.org/wiki/SQL_injection
However, as for your error, I think this says it all:
"SELECTexpenseamountFROMexpenseWHEREexpensecategory='food'AND expensemonth='march' AND expenseyear='2015' AND expensefrom='InBank'"
You are missing spaces in your query.

Entity Framework v5.0 Exception 'From' is a reserved keyword and cannot be used as an alias, unless it is escaped

I use EntityFrameWork v5.0, EntityDataSource control.
In code I set SQL query, but when I open page after compilation I get exception. How can I fix it?
Code:
entryListDs.CommandParameters.Add(new Parameter("subId", DbType.Int32, Common.CurrentUserID.ToString()));
entryListDs.CommandParameters.Add(new Parameter("typeId", DbType.Int32, ((int)MessageType.Wall).ToString()));
entryListDs.CommandText = #"SELECT
m.ID,
m.To,
m.Subject,
m.BodyHtml,
m.CreationDate,
m.New,
m.TypeID
FROM
message AS m
JOIN subscription AS s
ON m.From = s.ObjectID
WHERE s.SubscriberID = #subId and m.TypeID = #typeId
ORDER BY m.CreationDate DESC";
Exeption when I open page:
'From' is a reserved keyword and cannot be used as an alias, unless it is escaped. Near line 12, column 6.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.EntitySqlException: 'From' is a reserved keyword and cannot be used as an alias, unless it is escaped. Near line 12, column 6.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[EntitySqlException: 'From' is a reserved keyword and cannot be used as an alias, unless it is escaped. Near line 12, column 6.]
System.Data.Common.EntitySql.CqlLexer.MapUnescapedIdentifier(String symbol) +8073331
System.Data.Common.EntitySql.CqlLexer.MapIdentifierOrKeyword(String symbol) +57
System.Data.Common.EntitySql.CqlLexer.Accept_83() +36
System.Data.Common.EntitySql.CqlLexer.yylex() +386
System.Data.Common.EntitySql.CqlParser.yylex() +16
System.Data.Common.EntitySql.CqlParser.yyparse() +132
System.Data.Common.EntitySql.CqlParser.internalParseEntryPoint() +101
System.Data.Common.EntitySql.CqlParser.Parse(String query) +148
System.Data.Common.EntitySql.CqlQuery.Parse(String commandText, ParserOptions parserOptions) +41
System.Data.Common.EntitySql.CqlQuery.CompileCommon(String commandText, Perspective perspective, ParserOptions parserOptions, Func`3 compilationFunction) +84
System.Data.Common.EntitySql.CqlQuery.CompileQueryCommandLambda(String queryCommandText, Perspective perspective, ParserOptions parserOptions, IEnumerable`1 parameters, IEnumerable`1 variables) +100
System.Data.Objects.EntitySqlQueryState.Parse() +8608663
System.Data.Objects.EntitySqlQueryState.GetResultType() +4
System.Data.Objects.ObjectQuery.GetResultType() +58
System.Web.UI.WebControls.EntityDataSourceQueryBuilder`1.BuildBasicQuery(ObjectContext context, Boolean computeCount) +108
System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelectTyped(DataSourceSelectArguments arguments, Creator qbConstructor) +355
System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +606
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +21
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +138
System.Web.UI.WebControls.ListView.PerformSelect() +102
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +30
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +105
System.Web.UI.WebControls.ListView.CreateChildControls() +52
System.Web.UI.Control.EnsureChildControls() +83
System.Web.UI.Control.PreRenderRecursiveInternal() +42
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Control.PreRenderRecursiveInternal() +168
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18033
If you use keywords or special symbols in column names, then brackets are required. Just put column name in square brackets:
ON m.[From] = s.ObjectID
It says right there in your Exception: From is a reserved keyword.
In your query you have ON m.From = s.ObjectID. You need to rename your From column to something else.