Actifsource

#6862 [Bug/TemplateEd] Template Search: Cannot invoke "String.length()" because "currentElementOnLineString" is null

Actifsource code generator for any programming language
Release: Actifsource V11.3.0

java.lang.NullPointerException: Cannot invoke "String.length()" because "currentElementOnLineString" is null
at ch.actifsource.template.findreplace.search.TemplateSingleLineSearch.checkMatch(TemplateSingleLineSearch.java:220)
at ch.actifsource.template.findreplace.search.TemplateSingleLineSearch.getNextMatch(TemplateSingleLineSearch.java:128)
at ch.actifsource.template.findreplace.search.TemplateSearch.getNextMatch(TemplateSearch.java:259)
at ch.actifsource.template.findreplace.TemplateSearchManager.getNextMatch(TemplateSearchManager.java:115)
at ch.actifsource.ui.search.template.service.TemplateSearchModel.searchTemplate(TemplateSearchModel.java:356)
at ch.actifsource.ui.search.template.service.TemplateSearchModel.performFindNext(TemplateSearchModel.java:216)
at ch.actifsource.ui.search.template.service.TemplateSearchService.performFindNext(TemplateSearchService.java:327)
at ch.actifsource.ui.search.dialog.AsFindReplaceDialog$8.widgetSelected(AsFindReplaceDialog.java:579)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)