Error in running SWT by eclipse in windows - path

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?

Related

MiKTeX exception caught: Unknown MiKTeX exception with asymptote

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

Weblogic not coming up inside the Dockder container

Weblogic is not coming up . It is giving following stack trace . Can any one help in solving that ?
<Jun 20, 2018 1:04:27,029 PM UTC> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 4 exceptions. They are:
1. java.lang.ExceptionInInitializerError
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.rjvm.RJVMService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolRegistrationService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolRegistrationService
A MultiException has 4 exceptions. They are:
1. java.lang.ExceptionInInitializerError
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.rjvm.RJVMService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolRegistrationService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolRegistrationService
at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:250)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ExceptionInInitializerError
at weblogic.utils.net.AddressUtils.getIPForLocalHost(AddressUtils.java:163)
at weblogic.rjvm.JVMID.setLocalID(JVMID.java:278)
at weblogic.rjvm.RJVMService.setJVMID(RJVMService.java:72)
at weblogic.rjvm.RJVMService.start(RJVMService.java:54)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at weblogic.utils.net.AddressUtils$AddressMaker.getAllAddresses(AddressUtils.java:62)
at weblogic.utils.net.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:45)
at weblogic.utils.net.AddressUtils.getIPForLocalHost(AddressUtils.java:163)
at weblogic.rjvm.JVMID.setLocalID(JVMID.java:278)
at weblogic.rjvm.RJVMService.setJVMID(RJVMService.java:72)
Truncated. see log file for complete stacktrace
>
The WebLogic Server encountered a critical failure
Reason: Assertion violated
Stopping Derby server...
Derby server stopped.
Actually there was an interface resolution problem inside the docker container which was causing this
Make sure following points for resolution :
1) Cat /etc/hosts should have entry corresponding to localhost
2) docker0 interface should be in up state

Neo4J 3.3.3 database got corrupted as there was not enough disk space and no way to fix it?

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?

Getting the error in Jenkins console java.lang.RuntimeException: java.io.IOException: invalid constant type: 15

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.

error MSB4018: The "LocPayloadAddProject" task failed unexpectedly

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.

Resources