Since updating packages from Miktek I have an error :
2020-12-27 17:05:41,781+0100 ERROR asy - MiKTeX exception caught: Unknown MiKTeX exception.
The files .pre and .tex aren't created. I don't understand why?
thanks for help et sorry for my english
Related
I am running SWT app(HelloWorld) but it gives me this error
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at swt3.demo.main(demo.java:9)
I appreciate if you could please help me?
I ran out of disk space and my Neo4J 3.3.3 database doesn't start anymore showing the following error:
2018-04-16 21:10:35.148+0000 ERROR Failed to start Neo4j: Starting
Neo4j failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#7e5c856f' was
successfully initialized, but failed to start. Please see the attached
cause exception "null. At position LogPosition{logVersion=250,
byteOffset=198709181} and entry version V3_0_10". Starting Neo4j
failed: Component
'org.neo4j.server.database.LifecycleManagingDatabase#7e5c856f' was
successfully initialized, but failed to start. Please see the attached
cause exception "null. At position LogPosition{logVersion=250,
byteOffset=198709181} and entry version V3_0_10".
When I run neo4j-admin check-consistency --database=graph.db I get:
unexpected error: null. At position LogPosition{logVersion=250,
byteOffset=198709181} and entry version V3_0_10
So probably some logs got corrupted.
Does Neo4J have any tools to fix this situation?
I looked at https://github.com/neo4j/neo4j-javascript-driver/issues/300 - but it didn't help me as I don't even get any error message just the one above.
I tried https://github.com/jexp/store-utils but when I run
copy-store.sh community ~/neo4j-community-3.3.3/data/databases/graph.db ~/target.db
it says
[ERROR] COMPILATION ERROR : [INFO]
------------------------------------------------------------- [ERROR] /home/noduslabs/repair/store-utils/src/main/java/org/neo4j/tool/StoreCopy.java:[96,18]
error: cannot find symbol [ERROR] class StoreCopy
/home/noduslabs/repair/store-utils/src/main/java/org/neo4j/tool/StoreCopy.java:[96,59]
error: cannot find symbol [ERROR] class StoreCopy
/home/noduslabs/repair/store-utils/src/main/java/org/neo4j/tool/StoreCopy.java:[97,37]
error: cannot find symbol
Running that same store-utils but branch 32 seem to go further but then the same error occurs:
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.1:java (default-cli) on project
store-util: An exception occured while executing the Java class. null:
InvocationTargetException: Error starting
org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory,
/home/noduslabs/neo4j-community-3.3.3/data/databases/graph.db:
Component 'org.neo4j.kernel.recovery.Recovery#4168eb66' failed to
initialize. Please see the attached cause exception "null. At position
LogPosition{logVersion=250, byteOffset=198709181} and entry version
V3_0_10". -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.codehaus.mojo:exec-maven-plugin:1.1:java
(default-cli) on project store-util: An exception occured while
executing the Java class. null
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
So basically I'm stuck and there's not way to fix the DB, right?
Task I am doing
I am trying to trigger Junit using gradle in Jenkins. I am using powerMock (1.4.12) + mockito (1.9.5) for mocking along with Junit4 (4.11) & java8.
The problem
Getting the error in Jenkin console java.lang.RuntimeException: java.io.IOException: invalid constant type: 15
JUnit Report below stack trace
java.lang.IllegalStateException: Failed to transform class with name amdocs.APILink.backend.services.arCrgAdjnRef00. Reason: null at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:266)
at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:180)
at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:68)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
You should probably not use libraries / tools that are five years old, when there are newer versions. Either this is a bug in one of the tools you use, or something got added to Java as language that they don't understand.
My new localization build setup failed on Localization.targets error MSB4018: The "LocPayloadAddProject" task failed unexpectedly. Can someone tell me what went wrong?
errors:
2017/01/26 11:31:04 AM 6>E:.BtCxCache\Localization.2.0.22.7\Localization.targets(780,5): error MSB4018: The "LocPayloadAddProject" task failed unexpectedly. [E:\bt\775626\repo\src\loc\Ux\Extensions\GalleryPackages\Compute\CreateAvailabilitySet.locbld\locbld.proj]
2017/01/26 11:31:04 AM E:.BtCxCache\Localization.2.0.22.7\Localization.targets(780,5): error MSB4018: System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\bt\775626\repo\out\retail-amd64-localization\CreateAvailabilitySet\lbaworking\default\CreateAvailabilitySet\locstudio.source'. [E:\bt\775626\repo\src\loc\Ux\Extensions\GalleryPackages\Compute\CreateAvailabilitySet.locbld\locbld.proj]
Got an answer from colleague and it solved the issue.
The LBA seeding didn't run correctly. There are no lba.config in each project folder under lba. i.e. "D:\Source\Repo\rdnext\AzureUX\IaaSExp\src\loc\Ux\Extensions\GalleryPackages\Compute\CreateAvailabilitySet.locbld\lba\cs\CreateAvailabilitySet\LBA.config"
Just set enable_locseeding=1 to make the file get copied correctly.
Getting above error when starting my struts application.
The following is the export order.
/WEB-INF/src
/WEB-INF/lib/freemarker-2.3.16.jar
/WEB-INF/lib/javassist-3.7.ga.jar
/WEB-INF/lib/ognl-3.0.jar
JRE System library[jrocket... ]
/WEB-INF/lib/commons-beanutils-1.8.0.jar
/WEB-INF/lib/commons-digester-1.8.1.jar
/WEB-INF/lib/commons-fileupload-1.2.1.jar
/WEB-INF/lib/commons-io-1.3.2.jar
/WEB-INF/lib/commons-logging-1.0.4.jar
/WEB-INF/lib/commons-logging-api-1.1.jar
/WEB-INF/lib/log4j-1.2.14.jar
/WEB-INF/lib/struts2-config-browser-plugin-2.2.1.jar
/WEB-INF/lib/struts2-core-2.2.1.jar
/WEB-INF/lib/struts2-tiles-plugin-2.2.1.jar
/WEB-INF/lib/tiles-api-2.1.2.jar
/WEB-INF/lib/tiles-compat-2.1.2.jar
/WEB-INF/lib/tiles-jsp-2.1.2.jar
/WEB-INF/lib/tiles-servlet-2.1.2.jar
/WEB-INF/lib/xwork-core-2.2.1.jar
weblogic/api.jar
json-2010.01.05.jar
/WEB-INF/lib/tiles-core-2.1.2.jar
Please help. I will be very happy
2014-06-30 13:51:39,448 INFO org.apache.tiles.context.AbstractTilesApplicationContextFactory.createFactory:72 - Initializing Tiles2 application context. . .
2014-06-30 13:51:39,458 INFO org.apache.tiles.context.AbstractTilesApplicationContextFactory.createFactory:91 - Finished initializing Tiles2 application context.
2014-06-30 13:51:39,480 INFO org.apache.tiles.factory.TilesContainerFactory.initializeContainer:362 - Initializing Tiles2 container. . .
(Ljava/lang/String;Ljava/lang/Throwable;)V not found.
java.lang.NoSuchMethodError: org.apache.tiles.TilesException: method (Ljava/lang/String;Ljava/lang/Throwable;)V not found
at org.apache.tiles.factory.NotAvailableFeatureException.(NotAvailableFeatureException.java:71)
at org.apache.tiles.portlet.context.NotAPortletEnvironmentException.(NotAPortletEnvironmentException.java:71)
at org.apache.tiles.portlet.context.PortletTilesRequestContextFactory.(PortletTilesRequestContextFactory.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
2014-06-30 13:51:39,524 INFO org.apache.tiles.servlet.context.ServletUtil.setContainer:151 - Removing TilesContext for context: weblogic.servlet.internal.WebAppServletContext
<Jun 30, 2014 1:51:39 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1404150699134' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org.apache.tiles.TilesException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
at org.apache.tiles.factory.NotAvailableFeatureException.<init>(NotAvailableFeatureException.java:71)
at org.apache.tiles.portlet.context.NotAPortletEnvironmentException.<init>(NotAPortletEnvironmentException.java:71)
at org.apache.tiles.portlet.context.PortletTilesRequestContextFactory.<init>(PortletTilesRequestContextFactory.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
<Jun 30, 2014 1:51:39 PM EDT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'inhouse_brands'.>
<Jun 30, 2014 1:51:39 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application 'inhouse_brands'.>
<Jun 30, 2014 1:51:39 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org.apache.tiles.TilesException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
at org.apache.tiles.factory.NotAvailableFeatureException.<init>(NotAvailableFeatureException.java:71)
at org.apache.tiles.portlet.context.NotAPortletEnvironmentException.<init>(NotAPortletEnvironmentException.java:71)
at org.apache.tiles.portlet.context.PortletTilesRequestContextFactory.<init>(PortletTilesRequestContextFactory.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
Add this jars in your WEB-INF/lib folder
commons-lang3-3.1.jar
commons-lang-2.4.jar
slf4j-api-x.x.x.jar
slf4j-log4j12-x.x.x.jar
log4j-x.x.x.jar
Most importantly this jar is not in your project, So first download it and add it to your build path.
tiles-core.2.x.x.jar
tiles-template-2.x.x.jar
tiles-portlet-2.x.x.jar
You can choose version by yourself as per your project need.e.g. commons-lang-x.x,jar. Also reply if you get error.
And if you are new user to stack overflow then I will suggest you to learn how to accept answer Please see click HERE
EDIT :
Also I would like to tell you that struts2-tiles-plugin-2.2.1.jar depends on tiles 2.0.6 not tiles 2.2.1. Well, it does not matter. But it was just for your information. You should use proper version of tiles which should be compatible with your struts. At least try once using compatible versions.
What your error says is a resource could not be used because it is not in a portlet environment.
I will suggest you to Learn portlet integration of tiles
You are missing tiles-portlet-2.x.x.jar or portlet-ext.xml file
Edit 2:
Check rt.jar in your JRE.
If you don't have it on your classpath you will not have access to any of those classes you need to use like java.lang.String or java.io.File.