[JBoss JIRA] (JBDS-2955) After install, initial access of Help->About->?->About Your Installation logs error
by Len DiMaggio (JIRA)
[ https://issues.jboss.org/browse/JBDS-2955?page=com.atlassian.jira.plugin.... ]
Len DiMaggio updated JBDS-2955:
-------------------------------
Description:
After install, initial access of Help->About->?->About Your Installation logs error
Non-fatal, no user impact, but ugly:
!SESSION 2014-03-05 14:26:16.783 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.jbds.product.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.jbds.product.product
!ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:30.672
!MESSAGE Help index declared, but missing for plugin org.eclipse.rse.doc.user.
!ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.313
!MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tbegindstore.html" for search indexing
!STACK 0
org.xml.sax.SAXParseException; lineNumber: 34; columnNumber: 8; XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.939
!MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tusingefs.html" for search indexing
!STACK 0
org.xml.sax.SAXParseException; lineNumber: 43; columnNumber: 1; XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
!MESSAGE Help documentation could not be indexed completely.
!SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
!MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tbegindstore.html to index.
!STACK 0
java.io.IOException: Stream closed
at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
!MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tusingefs.html to index.
!STACK 0
java.io.IOException: Stream closed
at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> After install, initial access of Help->About->?->About Your Installation logs error
> -----------------------------------------------------------------------------------
>
> Key: JBDS-2955
> URL: https://issues.jboss.org/browse/JBDS-2955
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Version: 7.1.1.GA
> Build id: GA-v20140303-1841-B672
> Build date: 20140303-1841
> Reporter: Len DiMaggio
> Priority: Minor
>
> After install, initial access of Help->About->?->About Your Installation logs error
> Non-fatal, no user impact, but ugly:
> !SESSION 2014-03-05 14:26:16.783 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_25
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.jbds.product.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.jbds.product.product
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:30.672
> !MESSAGE Help index declared, but missing for plugin org.eclipse.rse.doc.user.
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.313
> !MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tbegindstore.html" for search indexing
> !STACK 0
> org.xml.sax.SAXParseException; lineNumber: 34; columnNumber: 8; XML document structures must start and end within the same entity.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
> at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
> at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
> at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
> at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.939
> !MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tusingefs.html" for search indexing
> !STACK 0
> org.xml.sax.SAXParseException; lineNumber: 43; columnNumber: 1; XML document structures must start and end within the same entity.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
> at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
> at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
> at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
> at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !ENTRY org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Help documentation could not be indexed completely.
> !SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tbegindstore.html to index.
> !STACK 0
> java.io.IOException: Stream closed
> at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
> at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tusingefs.html to index.
> !STACK 0
> java.io.IOException: Stream closed
> at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
> at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBDS-2955) After install, initial access of Help->About->?->About Your Installation logs error
by Len DiMaggio (JIRA)
[ https://issues.jboss.org/browse/JBDS-2955?page=com.atlassian.jira.plugin.... ]
Len DiMaggio reassigned JBDS-2955:
----------------------------------
Assignee: Snjezana Peco
> After install, initial access of Help->About->?->About Your Installation logs error
> -----------------------------------------------------------------------------------
>
> Key: JBDS-2955
> URL: https://issues.jboss.org/browse/JBDS-2955
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Version: 7.1.1.GA
> Build id: GA-v20140303-1841-B672
> Build date: 20140303-1841
> Reporter: Len DiMaggio
> Assignee: Snjezana Peco
> Priority: Minor
>
> After install, initial access of Help->About->?->About Your Installation logs error
> Non-fatal, no user impact, but ugly:
> !SESSION 2014-03-05 14:26:16.783 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_25
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.jbds.product.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.jbds.product.product
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:30.672
> !MESSAGE Help index declared, but missing for plugin org.eclipse.rse.doc.user.
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.313
> !MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tbegindstore.html" for search indexing
> !STACK 0
> org.xml.sax.SAXParseException; lineNumber: 34; columnNumber: 8; XML document structures must start and end within the same entity.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
> at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
> at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
> at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
> at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.939
> !MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tusingefs.html" for search indexing
> !STACK 0
> org.xml.sax.SAXParseException; lineNumber: 43; columnNumber: 1; XML document structures must start and end within the same entity.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
> at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
> at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
> at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
> at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !ENTRY org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Help documentation could not be indexed completely.
> !SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tbegindstore.html to index.
> !STACK 0
> java.io.IOException: Stream closed
> at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
> at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tusingefs.html to index.
> !STACK 0
> java.io.IOException: Stream closed
> at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
> at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBDS-2955) After install, initial access of Help->About->?->About Your Installation logs error
by Len DiMaggio (JIRA)
[ https://issues.jboss.org/browse/JBDS-2955?page=com.atlassian.jira.plugin.... ]
Len DiMaggio commented on JBDS-2955:
------------------------------------
Only seems to happen after the initial use after install - not after that.
> After install, initial access of Help->About->?->About Your Installation logs error
> -----------------------------------------------------------------------------------
>
> Key: JBDS-2955
> URL: https://issues.jboss.org/browse/JBDS-2955
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Version: 7.1.1.GA
> Build id: GA-v20140303-1841-B672
> Build date: 20140303-1841
> Reporter: Len DiMaggio
> Assignee: Snjezana Peco
> Priority: Minor
>
> After install, initial access of Help->About->?->About Your Installation logs error
> Non-fatal, no user impact, but ugly:
> !SESSION 2014-03-05 14:26:16.783 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_25
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.jbds.product.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.jbds.product.product
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:30.672
> !MESSAGE Help index declared, but missing for plugin org.eclipse.rse.doc.user.
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.313
> !MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tbegindstore.html" for search indexing
> !STACK 0
> org.xml.sax.SAXParseException; lineNumber: 34; columnNumber: 8; XML document structures must start and end within the same entity.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
> at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
> at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
> at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
> at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !ENTRY org.eclipse.help.base 4 0 2014-03-05 14:52:33.939
> !MESSAGE An error occured while pre-processing help XHTML document "/org.eclipse.rse.doc.user/tasks/tusingefs.html" for search indexing
> !STACK 0
> org.xml.sax.SAXParseException; lineNumber: 43; columnNumber: 1; XML document structures must start and end within the same entity.
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
> at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
> at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
> at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:76)
> at org.eclipse.help.internal.search.XHTMLSearchParticipant.preprocess(XHTMLSearchParticipant.java:106)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:296)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !ENTRY org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Help documentation could not be indexed completely.
> !SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tbegindstore.html to index.
> !STACK 0
> java.io.IOException: Stream closed
> at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
> at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !SUBENTRY 1 org.eclipse.help.base 4 4 2014-03-05 14:52:38.960
> !MESSAGE Exception occurred while adding document /org.eclipse.rse.doc.user/tasks/tusingefs.html to index.
> !STACK 0
> java.io.IOException: Stream closed
> at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:121)
> at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2815)
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:660)
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
> at org.eclipse.help.search.SearchParticipantXML.addDocument(SearchParticipantXML.java:297)
> at org.eclipse.help.internal.search.HTMLSearchParticipant.addDocument(HTMLSearchParticipant.java:51)
> at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:230)
> at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
> at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
> at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
> at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:628)
> at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:602)
> at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBIDE-16696) IllegalStateException when Arquillian deployment uses Maven resolver
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16696?page=com.atlassian.jira.plugi... ]
Snjezana Peco commented on JBIDE-16696:
---------------------------------------
{quote}
The problem with using loadPomFromClassLoaderResource is that the projects pom is not on the classpath. So the user would have to duplicate/copy his pom.xml file to src/test/resources or similar, which goes against the point of Resolver.
{quote}
I understand, but this way a test has to be run from the root of its project.
The issue can be reproduced in Eclipse. Please see http://screencast.com/t/jQka9WXD5
{quote}
there is no way to tell arquillian to use another dir than current working direcotry ?
{quote}
Maybe ShrinkWrap Resolver could search relative paths using a system property (arquillian.project.home, for instance).
{quote}
I'm not follow your problem reasoning here.. How is the "current working directory" related to "finding multiple versions of the same class on classpath" as the Exception seem to indicate?
{quote}
{quote}
And yes, same questions as Aslak - how does this issue relate to currentworking dir?
{quote}
They aren't related. After fixing the described issue, I have faced the two new issues mentioned in my previous comment.
Please see the screencast.
BTW
The "java.lang.IllegalStateException: There is more then a one service for serviceClass" error happens when ShrinkWrap Resolver doesn't find a service class or finds more than one service class.
SpiServiceLoader.onlyOne() (lines 87-89)
{quote}
if (services.size() != 1) {
throw new IllegalStateException("There is more then a one service for serviceClass " + serviceClass.getName());
}
{quote}
The issue in the Arquillian Eclipse happens because it doesn't find any service classes. I have fixed it in my local tree.
> IllegalStateException when Arquillian deployment uses Maven resolver
> --------------------------------------------------------------------
>
> Key: JBIDE-16696
> URL: https://issues.jboss.org/browse/JBIDE-16696
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: testing-tools
> Affects Versions: 4.1.1.Final
> Reporter: Rich DiCroce
> Assignee: Snjezana Peco
>
> In an Arquillian test class, if the @Deployment method uses the ShrinkWrap Maven Resolver API, the method will be marked with the following warning and the Arquillian Cruiser view does not show the deployment:
> {noformat}
> java.lang.IllegalStateException: There is more then a one service for serviceClass org.jboss.shrinkwrap.resolver.api.maven.MavenResolverSystem(project=arquillian-bug-test)
> {noformat}
> There is no stack trace to indicate how the problem might be happening. At first, I thought this might be a ShrinkWrap bug, but this exception doesn't occur when I actually run the test. Eclipse shows only one implementation of MavenResolverSystem on the classpath.
> Example test class to reproduce the problem:
> {code}
> package test;
> import org.jboss.arquillian.container.test.api.Deployment;
> import org.jboss.arquillian.junit.Arquillian;
> import org.jboss.shrinkwrap.api.Archive;
> import org.jboss.shrinkwrap.api.ShrinkWrap;
> import org.jboss.shrinkwrap.api.spec.WebArchive;
> import org.jboss.shrinkwrap.resolver.api.maven.Maven;
> import org.junit.Test;
> import org.junit.runner.RunWith;
> @RunWith(Arquillian.class)
> public class ARQJBTBugTest {
> @Test
> public void test() {
>
> }
>
> @Deployment
> public static Archive<?> createDeployment() {
> return ShrinkWrap.create(WebArchive.class)
> .addAsLibraries(Maven.resolver()
> .loadPomFromFile("pom.xml")
> .importRuntimeDependencies()
> .resolve()
> .withTransitivity()
> .asFile());
> }
>
> }
> {code}
> And the POM to go with it:
> {code:xml}
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.lapis.throwaway</groupId>
> <artifactId>arquillian-bug-test</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>war</packaging>
> <properties>
> <project.build.sourceEncoding>
> UTF-8
> </project.build.sourceEncoding>
> <version.arquillian_core>1.1.3.Final</version.arquillian_core>
> </properties>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.10</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.arquillian.junit</groupId>
> <artifactId>arquillian-junit-container</artifactId>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.shrinkwrap.resolver</groupId>
> <artifactId>shrinkwrap-resolver-impl-maven-archive</artifactId>
> <scope>test</scope>
> </dependency>
> </dependencies>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.arquillian</groupId>
> <artifactId>arquillian-bom</artifactId>
> <version>${version.arquillian_core}</version>
> <type>pom</type>
> <scope>import</scope>
> </dependency>
> </dependencies>
> </dependencyManagement>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.5.1</version>
> <configuration>
> <source>1.7</source>
> <target>1.7</target>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.12</version>
> </plugin>
> </plugins>
> </build>
> </project>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBIDE-15937) All seam runtimes are checked after adding/removing
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15937?page=com.atlassian.jira.plugi... ]
Alexey Kazakov commented on JBIDE-15937:
----------------------------------------
Ok, Now I see what you mean. Even if you uncheck all the runtimes we will still have the default one (for each version). We probably should not allow users to uncheck the runtime if it's the only one available for this version (it means it will be used by default).
> All seam runtimes are checked after adding/removing
> ---------------------------------------------------
>
> Key: JBIDE-15937
> URL: https://issues.jboss.org/browse/JBIDE-15937
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: seam2
> Affects Versions: 4.1.1.Beta1
> Reporter: Radoslav Rábara
> Assignee: Alexey Kazakov
> Priority: Minor
> Fix For: 4.2.0.Beta1
>
> Attachments: seam runtimes - remaining are checked.jpg, seam runtimes - remove one.jpg
>
>
> All seam runtimes are checked after new seam runtime is added or existing one is removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBIDE-16696) IllegalStateException when Arquillian deployment uses Maven resolver
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16696?page=com.atlassian.jira.plugi... ]
Aslak Knutsen commented on JBIDE-16696:
---------------------------------------
[~maxandersen] This is not Arquillian, it's ShrinkWrap Resolver.. but.. [~kpiwko]?
> IllegalStateException when Arquillian deployment uses Maven resolver
> --------------------------------------------------------------------
>
> Key: JBIDE-16696
> URL: https://issues.jboss.org/browse/JBIDE-16696
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: testing-tools
> Affects Versions: 4.1.1.Final
> Reporter: Rich DiCroce
> Assignee: Snjezana Peco
>
> In an Arquillian test class, if the @Deployment method uses the ShrinkWrap Maven Resolver API, the method will be marked with the following warning and the Arquillian Cruiser view does not show the deployment:
> {noformat}
> java.lang.IllegalStateException: There is more then a one service for serviceClass org.jboss.shrinkwrap.resolver.api.maven.MavenResolverSystem(project=arquillian-bug-test)
> {noformat}
> There is no stack trace to indicate how the problem might be happening. At first, I thought this might be a ShrinkWrap bug, but this exception doesn't occur when I actually run the test. Eclipse shows only one implementation of MavenResolverSystem on the classpath.
> Example test class to reproduce the problem:
> {code}
> package test;
> import org.jboss.arquillian.container.test.api.Deployment;
> import org.jboss.arquillian.junit.Arquillian;
> import org.jboss.shrinkwrap.api.Archive;
> import org.jboss.shrinkwrap.api.ShrinkWrap;
> import org.jboss.shrinkwrap.api.spec.WebArchive;
> import org.jboss.shrinkwrap.resolver.api.maven.Maven;
> import org.junit.Test;
> import org.junit.runner.RunWith;
> @RunWith(Arquillian.class)
> public class ARQJBTBugTest {
> @Test
> public void test() {
>
> }
>
> @Deployment
> public static Archive<?> createDeployment() {
> return ShrinkWrap.create(WebArchive.class)
> .addAsLibraries(Maven.resolver()
> .loadPomFromFile("pom.xml")
> .importRuntimeDependencies()
> .resolve()
> .withTransitivity()
> .asFile());
> }
>
> }
> {code}
> And the POM to go with it:
> {code:xml}
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.lapis.throwaway</groupId>
> <artifactId>arquillian-bug-test</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>war</packaging>
> <properties>
> <project.build.sourceEncoding>
> UTF-8
> </project.build.sourceEncoding>
> <version.arquillian_core>1.1.3.Final</version.arquillian_core>
> </properties>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.10</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.arquillian.junit</groupId>
> <artifactId>arquillian-junit-container</artifactId>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.shrinkwrap.resolver</groupId>
> <artifactId>shrinkwrap-resolver-impl-maven-archive</artifactId>
> <scope>test</scope>
> </dependency>
> </dependencies>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.arquillian</groupId>
> <artifactId>arquillian-bom</artifactId>
> <version>${version.arquillian_core}</version>
> <type>pom</type>
> <scope>import</scope>
> </dependency>
> </dependencies>
> </dependencyManagement>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.5.1</version>
> <configuration>
> <source>1.7</source>
> <target>1.7</target>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.12</version>
> </plugin>
> </plugins>
> </build>
> </project>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months