Project

General

Profile

Actions

Bug #563

closed

Unhandled event loop exception при импорте LSB

Added by Alexey Khoroshilov about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
11/16/2010
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.7.43
Platform:
Published in build:
0.7.51

Description

eclipse.buildId=M20100909-0800
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.linuxtools.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.linuxtools.product

Error
Tue Nov 16 11:36:30 MSK 2010
Unhandled event loop exception

java.lang.NullPointerException
at org.htmlcleaner.HtmlCleaner.makeTree(HtmlCleaner.java:671)
at org.htmlcleaner.HtmlTokenizer.addToken(HtmlTokenizer.java:100)
at org.htmlcleaner.HtmlTokenizer.tagEnd(HtmlTokenizer.java:516)
at org.htmlcleaner.HtmlTokenizer.start(HtmlTokenizer.java:390)
at org.htmlcleaner.HtmlCleaner.clean(HtmlCleaner.java:415)
at com.unitesk.requality.documents.DocumentImporter.cleanHtml(DocumentImporter.java:56)
at com.unitesk.requality.documents.DocumentImporter.importDocument(DocumentImporter.java:40)
at com.unitesk.requality.eclipse.views.actions.documents.ImportAction.runAction(ImportAction.java:111)
at com.unitesk.requality.eclipse.views.actions.documents.ImportAction.run(ImportAction.java:62)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

Files

Actions #1

Updated by Alexey Demakov about 14 years ago

  • Assignee set to Alexey Demakov
Actions #2

Updated by Alexey Demakov almost 14 years ago

  • Status changed from New to Open

1. Ошибка в HtmlCleaner найдена: https://github.com/amplafi/htmlcleaner/issues#issue/2
2. Ошибка не проявляется на версии http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic.html
В чем отличие приложенного файла?

Actions #3

Updated by Alexey Khoroshilov almost 14 years ago

Судя по всему приложенный вариант был сохранен через Save as в Internet Explorer. Кроме того, он соответствует LSB 3.1.0, а не LSB 3.1.1.

Actions #4

Updated by Alexey Demakov almost 14 years ago

На http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic.html
я тоже пробовал, работает. Вряд ли Save As в Firefox и Internet Explorer сильно отличается.

Actions #5

Updated by Alexey Khoroshilov almost 14 years ago

  • Target version changed from 0.7 to 0.8
Actions #6

Updated by Alexey Demakov almost 14 years ago

  • Status changed from Open to Resolved
  • Target version changed from 0.8 to 0.7

В проекте htmlcleaner ошибка исправлена, мы перешли на исправленный jar.

Actions #7

Updated by Alexey Demakov almost 14 years ago

  • % Done changed from 0 to 100

Applied in changeset r1527.

Actions #8

Updated by Alexey Demakov almost 14 years ago

  • Published in build set to 0.7.51
Actions #9

Updated by Alexey Demakov almost 14 years ago

  • Status changed from Resolved to Closed

Проверено.

Actions

Also available in: Atom PDF