1C-Company / 1c-edt-issues

Пространство для пожеланий и обсуждения ошибок 1C:Enterprise Development Tools
https://edt.1c.ru/
134 stars 8 forks source link

1c edt ошибка проверки учетных данных пользователя при импорте конфигурации #1457

Closed 0xdeface closed 1 week ago

0xdeface commented 1 week ago

Описание ошибки

Ошибка в том что не подходит пароль пользователя при импорте конфигурации.

java.lang.reflect.InvocationTargetException
    at com._1c.g5.v8.dt.internal.platform.services.ui.infobases._import.ExtensionsViewer.loadExtensions(ExtensionsViewer.java:201)
    at com._1c.g5.v8.dt.internal.platform.services.ui.infobases._import.ImportConfigurationWizardPage.lambda$19(ImportConfigurationWizardPage.java:645)
    at com._1c.g5.v8.dt.internal.platform.services.ui.infobases.RuntimeOperationSupport.execRuntimeOperation(RuntimeOperationSupport.java:110)
    at com._1c.g5.v8.dt.internal.platform.services.ui.infobases._import.ImportConfigurationWizardPage.lambda$18(ImportConfigurationWizardPage.java:644)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.util.concurrent.ExecutionException: com._1c.g5.v8.dt.platform.services.core.runtimes.execution.InfobaseUserAuthenticationException: Журнал процесса платформы [код ошибки 1]:
Пользователь ИБ не идентифицирован
    at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
    at com._1c.g5.v8.dt.platform.services.core.ProgressMonitorAwareExecutor.syncExec(ProgressMonitorAwareExecutor.java:95)
    at com._1c.g5.v8.dt.internal.platform.services.ui.infobases._import.ExtensionsViewer.loadExtensions(ExtensionsViewer.java:175)
    ... 4 more
Caused by: com._1c.g5.v8.dt.platform.services.core.runtimes.execution.InfobaseUserAuthenticationException: Журнал процесса платформы [код ошибки 1]:
Пользователь ИБ не идентифицирован
    at com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.AbstractRuntimeComponentExecutor.executeRuntimeProcessCommand(AbstractRuntimeComponentExecutor.java:371)
    at com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.AbstractRuntimeComponentExecutor.executeRuntimeProcessCommand(AbstractRuntimeComponentExecutor.java:102)
    at com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.ThickClientLauncher.listConfigurationExtensions(ThickClientLauncher.java:755)
    at com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.DesignerSessionThickClientLauncher.listConfigurationExtensions(DesignerSessionThickClientLauncher.java:1006)
    at com._1c.g5.v8.dt.internal.platform.services.ui.infobases._import.ExtensionsViewer.lambda$1(ExtensionsViewer.java:181)
    at com._1c.g5.v8.dt.platform.services.core.ProgressMonitorAwareExecutor.lambda$0(ProgressMonitorAwareExecutor.java:61)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)

arhlinux x11 kde plasma 6 liberica 11

Как воспроизвести

  1. Перейдите в edt
  2. Кликните по импортировать конфигурацию
  3. выберите базу, появится окно ввода данных. Тип авторизации infobase (доменная авторизация для пользователя отключена)

Скриншоты

No response

Ожидаемое поведение

пароль должен подойди

Лог рабочей области

[edt.log](https://github.com/user-attachments/files/15949633/edt.log)

Версия 1С:EDT

2023.3.5

Операционная система

Linux

Версия платформы 1С:Предприятие 8

8.3.22

Установленные плагины

Нет плагинов

Дополнительная информация

No response

Erik773 commented 1 week ago

Здравствуйте @0xdeface! Подскажите, пожалуйста, совпадают ли версии платформы информационной базы и проекта ЕДТ? Попробуйте задать не пустой пароль и убрать галочку "Linux Integration" в настройках защищенного хранилища. photo_2024-06-24_08-26-08 Напишите, пожалуйста, удастся ли в результате решить проблему.

0xdeface commented 1 week ago

Да. версия платформы 8.3.22.1923. Спасибо, судя по всему это помогло и расширения отобразились. но во время импорта edt закрылась...Открыть новое ишью с новым логом? edtjournal2406.log trace.log


WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.gson.internal.bind.ReflectiveTypeAdapterFactory (file:/opt/1C/1CE/components/1c-edt-start-0.7.0+180-x86_64/plugins/com.google.gson_2.2.4.v201311231704.jar) to field java.time.Duration.seconds
WARNING: Please consider reporting this to the maintainers of com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
23:53:27.056 [starter-networkJobExecutor-thread-0] INFO  c.e.g.d.c.l.a.impl.MonitoringManager - 1C:Pult service host is https://pult.1c.ru/. Statistic collection is enabled.
23:53:27.199 [starter-networkJobExecutor-thread-1] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:27.211 [starter-mainJobScheduler-thread-0] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:27.625 [starter-networkJobExecutor-thread-0] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:27.736 [starter-mainJobScheduler-thread-0] WARN  c.e.g.d.c.i.l.r.WssHttpRequester - Failed to download icon due to user is unauthorized
23:53:27.852 [starter-suspendableJobScheduler-thread-0] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:28.089 [starter-suspendableJobScheduler-thread-0] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:28.091 [starter-mainJobScheduler-thread-0] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:28.212 [starter-suspendableJobScheduler-thread-0] INFO  c.e.g.d.c.i.a.c.core.AuthClientImpl - Access token is not present. Authenticate to obtain one.
23:53:28.336 [starter-mainJobScheduler-thread-0] WARN  c.e.g.d.c.i.l.r.WssHttpRequester - Failed to download icon due to user is unauthorized
Install location:
    file:/home/deface/.local/share/1C/1cedtstart/installations/1C_EDT 2023.3/1cedt/
Configuration file:
    file:/home/deface/.local/share/1C/1cedtstart/installations/1C_EDT 2023.3/1cedt/configuration/config.ini loaded
Configuration location:
    file:/home/deface/.local/share/1C/1cedtstart/installations/1C_EDT 2023.3/1cedt/configuration/
Framework located:
    file:/home/deface/.p2/pool/plugins/org.eclipse.osgi_3.17.200.v20220215-2237.jar
Loading extension: reference:file:org.eclipse.equinox.weaving.hook_1.3.100.v20211021-1418.jar
        eclipse.properties not found
Loading extension: reference:file:org.eclipse.fx.osgi_3.7.0.202010120720.jar
        eclipse.properties not found
Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.2.600.v20220207-1403.jar
        eclipse.properties not found
Loading extension: reference:file:org.eclipse.osgi.nl_ru_4.23.0.v20230221055001.jar
        eclipse.properties not found
Framework classpath:
    file:/home/deface/.p2/pool/plugins/org.eclipse.osgi_3.17.200.v20220215-2237.jar
    file:/home/deface/.p2/pool/plugins/
    file:/home/deface/.p2/pool/plugins/org.eclipse.equinox.weaving.hook_1.3.100.v20211021-1418.jar
    file:/home/deface/.p2/pool/plugins/org.eclipse.fx.osgi_3.7.0.202010120720.jar
    file:/home/deface/.p2/pool/plugins/org.eclipse.osgi.compatibility.state_1.2.600.v20220207-1403.jar
    file:/home/deface/.p2/pool/plugins/org.eclipse.osgi.nl_ru_4.23.0.v20230221055001.jar
Splash location:
    /home/deface/.p2/pool/plugins/com._1c.g5.v8.dt.product.application_1.30.5.10/splash.bmp
Debug options:
    file:/home/deface/.local/share/1C/1cedtstart/installations/1C_EDT 2023.3/1cedt/.options loaded
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

(1C:Enterprise Development Tools:3328): GLib-GIO-CRITICAL **: 23:53:50.719: g_bus_own_name: assertion 'g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed
SWT GDBus: Failed to aquire bus name: org.eclipse.swt.1C-Enterprise-Development-Tools
Startup complete: 8548ms

(1C:Enterprise Development Tools:3328): GLib-GIO-WARNING **: 23:55:15.872: (../glib/gio/gdbuserror.c:137):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(1C:Enterprise Development Tools:3328): GLib-GIO-WARNING **: 23:55:15.872: (../glib/gio/gdbuserror.c:137):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))

(1C:Enterprise Development Tools:3328): GLib-GIO-WARNING **: 23:55:15.872: (../glib/gio/gdbuserror.c:137):g_dbus_error_register_error_domain: runtime check failed: (g_dbus_error_register_error (new_quark, entries[n].error_code, entries[n].dbus_error_name))
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000072f03fe47b40, pid=3328, tid=3329
#
# JRE version: OpenJDK Runtime Environment (11.0.23+12) (build 11.0.23+12-LTS)
# Java VM: OpenJDK 64-Bit Server VM (11.0.23+12-LTS, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgcrypt.so.20+0x150b40]
#
Erik773 commented 1 week ago

Открыть новое ишью с новым логом?

да, пожалуйста, создайте другую задачу с подробным описанием проблемы и актуальными логами, а эту предлагаю закрыть, так как проблема из описания решена.

0xdeface commented 1 week ago

Ну я не уверен насчет закрытия, потому что все таки это не очевидное и не нормальное поведение программы, а решение это скорее метод обхода проблемы.

Erik773 commented 1 week ago

@0xdeface, могли бы вы, пожалуйста, при регистрации задачи про ошибку, при которой "во время импорта edt закрылась" помимо логов, также приложить файлы формата hs_err_pid*, чаще всего они лежат в директории с клиентом 1C:EDT.

Erik773 commented 1 week ago

Эту задачу закрываем как дубль #943